Hello,
i have a screen split in half, on one side i have a gallery on the other side i have a map. On top of both there is a single search bar and a combobox. The app should show people and their locations, filtering by name or location (writing them in the search bar) or by hobby (using the combobox)
The gallery loads data from a sharepoint, and they are filtered by the searchbar and a combobox.
Which is the best way to link the map with the gallery?
to be precise:
when i write a username in the searchbar the gallery will show only username containing the text of the searchbar (also considering the filter of the combobox), the map should do the same.
in the gallery Item property i have the following code
Sort(
Filter(
Search(
AddColumns(
testData,
"UserName",
User.DisplayName,
"LocationName",
'Location: City',
),
SearchBar.Text,
"UserName",
"Location2"
),
If(
IsEmpty(adbList.SelectedItems),
true,
Hobbies in hobbiesList.SelectedItems
)
),
User.DisplayName,
If(
SortAscending,
Ascending,
Descending
)
)
Thanks


Report
All responses (
Answers (