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 / Making an interactive ...
Power Apps
Answered

Making an interactive map of factory

(0) ShareShare
ReportReport
Posted on by 88

Dear community,

 

I'm trying to make an interactive map of the factory.

 

I have a map on the left, a gallery on the right.

In the gallery there are names and in which department (Afdeling) they work.

 

I have rectangle on the map, that i'm trying to be visible if i click on a specific row.

For example, i have clicked on Victor Van der Vinck, he works in the department 'QC labo'.
If i click on that row, the rectangle would be visible, if i click on an other row, it wouldn't  be visible.

 

My gallery is called 'Namen_Opzoeken'

The column is called 'Afdeling'
The label in the gallery for 'Afdeling' is called 'Lbl_Afdeling'

 

So i thought i would work in the visible function of the rectangle with the following formula:

If(
    IsMatch(Namen_Opzoeken.Selected.Afdeling, "QC Labo"),
    true,
    false
)
 
But it doesn't seem to work, there is no error, but if i click on a different row, nothing changes.
Anybody any idea why this doesn't work?
Or how to fix this? Or maybe an alternative solution?
 
Greetings Miguel
Interactive map.PNG
Categories:
  • Verified answer
    BhaskarDhone Profile Picture
    1,398 Super User 2026 Season 1 on at

    Your code is correct, but comparison text is different based on your screenshot. Below should work.

    If(
     IsMatch(Namen_Opzoeken.Selected.Afdeling, "QC labo"),
     true,
     false
    )

     

    You can optimize, instead of writing if condition on visible property of rectangle. Just add match.

     

    IsMatch(Namen_Opzoeken.Selected.Afdeling, "QC labo")

     

  • MiguelDeNeve Profile Picture
    88 on at

    Thank you Bhaskar for pointing that out!

    It works now, very much appriciated 🙂

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard