web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering geospatial m...
Power Apps
Unanswered

Filtering geospatial map info based on gallery data

(0) ShareShare
ReportReport
Posted on by

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

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 516

#2
WarrenBelz Profile Picture

WarrenBelz 428 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 292

Last 30 days Overall leaderboard