Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
2k views
in Power Apps by
edited by anonymous

In Power Apps Canvas App, What is the correct formula to search the gallery by the selected item that the user choosed from a drop-down list?

Thanks in advance


1 Answer

1 like 0 dislike
by 48 54 93
selected by anonymous
 
Best answer

You can get the selected item that the user choose by using the formula "dropdownlist.SelectedText.Value" it will return the item that the user selected. for example, please check the bellow formula.

Filter('guid',City=Dropdown1_1.SelectedText.Value)

by
edited by anonymous
0 0
why not selected text only? the value here is the value of the selected item?
by 48 54 93
1 0
When you bind the data source to your drop down list you choose a column to assign as a value  of the ddlist ,so it will filter according to this column "value"
by
0 0
thanks, I got it
If you don’t ask, the answer is always NO!
...