Hello,
I made a filter on a Combo Box, and i would like that combobox show me the first item as a Default.
Where can i do that?
Thank you
Solved! Go to Solution.
Hi @Field ,
Could you please share a bit more about the formula you typed within the Items property of the Gallery?
Based on the needs that you mentioned, please take a try with the following workaround:
Set the DefaultSelectedItems property of the ComboBox to following:
First("Type the Items property formula of your ComboBox here")
E.G. Set the Items property of the ComboBox to following:
Filter('Data Source', FilterColumn = "xxxxx")
Set the DefaultSelectedItems property of the ComboBox to following:
First(Filter('Data Source', FilterColumn = "xxxxx"))
You could also consider add a Dropdown control to list your values instead of the ComboBox control, in default, the first item/option would be selected within the Dropdown control.
Please consider take a try with above solution, check if the issue is solved.
Best regards,
You can use the combo box's DefaultSelectedItems property. Set it to the same as your filter in the Items property surrounded by the First() function. For example:
First(Filter(ComboBoxSample,Value1<>"Item 1"))
---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
Put this formula on the DefaultSelectedItems of the ComboBox:
First(YourtableName.Column)
Hi @Field ,
Could you please share a bit more about the formula you typed within the Items property of the Gallery?
Based on the needs that you mentioned, please take a try with the following workaround:
Set the DefaultSelectedItems property of the ComboBox to following:
First("Type the Items property formula of your ComboBox here")
E.G. Set the Items property of the ComboBox to following:
Filter('Data Source', FilterColumn = "xxxxx")
Set the DefaultSelectedItems property of the ComboBox to following:
First(Filter('Data Source', FilterColumn = "xxxxx"))
You could also consider add a Dropdown control to list your values instead of the ComboBox control, in default, the first item/option would be selected within the Dropdown control.
Please consider take a try with above solution, check if the issue is solved.
Best regards,
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
213 | |
198 | |
83 | |
59 | |
38 |
User | Count |
---|---|
311 | |
255 | |
123 | |
86 | |
55 |