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 / Inside Gallery PopUps
Power Apps
Answered

Inside Gallery PopUps

(0) ShareShare
ReportReport
Posted on by 380

Hello!

I am having a problem with a gallery popup.

What I need to do, is update a record on my gallery, when a button is clicked. I built the popup, but it appears on every single record displayed. And I only want it to show on the record I have selected (not all records have the button displayed, because it is only visible for those which have "No" in a certain column)

I looked for solutions here, and I found a few, but I can't make it work. I tried adding a new column (a solution I read), didn't work. Also tried and IF function If(ThisItem.IsSelected;!variable;variable), and it worked on opening the popup, but I couldn't close it... Tried filtering ID column, but I couldn't break the function.

 

Fernanda_0-1672350180570.png

Can you help me please?

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,720 Super User 2026 Season 1 on at

    @Fernanda ,

     

    Please add this condition to the Visible property of the popup to make it only visible for the selected item in the gallery: 

    ThisItem.IsSelected
  • Fernanda Profile Picture
    380 on at

    Hello! thanks for the reply!

    It works just showing me the popup for that record, but I can't close it down again without clicking on another record. I need to click on the X button to get back to the record.

    Right now, I came back to the basics of the popUp and my functions are:

    Fernanda_0-1672355319214.png

    Button 1: 

    UpdateContext({varRenovacion:true})

    Button 2: 

    UpdateContext({varRenovacion:false})

    PopUp Group Visible Property:

    Fernanda_1-1672355397161.png

     

    If i just change the visible property, it does open up when I click anywhere... But I only want it open when Button 1 is clicked (it only shows when a criteria is met, not always) and it must clos when Button 2 is clicked.

     

    I tried using your idea by changing true for ThisItem.IsSelected, but didn't work well and I couldn't close the popup

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Fernanda 

    Put the popup outside the gallery.

  • Fernanda Profile Picture
    380 on at

    Hi!

    I already did that and it works, but it doesnt convince us visually. I have always thought that PowerApps is way smarter than I am 🤣 so I am hoping there is a workaround or a smart way of doing it.

    If not, putting it outside of the gallery is the solution (I just hope not 🙂)

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Fernanda

    Some things are more trouble than they are worth. 

  • Fernanda Profile Picture
    380 on at

    Indeed... but still, also great way to learn more 

  • BCBuizer Profile Picture
    22,720 Super User 2026 Season 1 on at

    HI @Fernanda ,

     

    I'd suggest to change the Visible property of the popup to:

    varRenovacio && ThisItem.IsSelected

    With this, it will only show up for the selected Item.

     

    To make the popup disappear when selecting another item, include the below in the OnSelect property of the gallery:

    UpdateContext({varRenovacion:false});

     

  • Verified answer
    BCBuizer Profile Picture
    22,720 Super User 2026 Season 1 on at

    HI @Fernanda ,

     

    I'd suggest to change the Visible property of the popup to:

    varRenovacio && ThisItem.IsSelected

    With this, it will only show up for the selected Item.

     

    To make the popup disappear when selecting another item, include the below in the OnSelect property of the gallery:

    UpdateContext({varRenovacion:false});

     

  • Fernanda Profile Picture
    380 on at

    Brilliant!!!

    Totally worked!

    Thank you so much!!!!

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard