cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CelianB
Level: Powered On

Control items individually in a Gallery

Hi,
Im struggling doing somethink in powerApps,
I have a gallery where I display some data (this gallery data is a filter from a SQL table)
For each items in the gallery I have to fixed radio button items (from SQL table too).Sans titre.png
This working well until I want for each item, display the second list of radio button ONLY if a radio item is selected (from the first list) : On my exemple I want to hide the "satisfaction" radio buttons if "Besoins éventuels" is selected. More generally, I want to control items individually in a Gallery : here change the "visible" prop
How can I do this ?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps Staff CarlosFigueira
Power Apps Staff

Re: Control items individually in a Gallery

If you have two controls inside a gallery (in your case, the two radio buttons), then you can reference the selection of one of them in the Visible property of the other.

For example, if the radio button for the "Utilisation" is called "rbUtilisation", then if you set the Visible property of the Satisfaction radio button to

rbUtilisation.Selected.Value <> "Besoins éventuels"

You can take a look at the attached app for an example of this scenario. To open it, save it locally, then go to https://create.powerapps.com, select Open (Ouvrir) -> Browse (Parcourir les fichiers), and find the file that you saved.

Hope this helps!

View solution in original post

1 REPLY 1
Power Apps Staff CarlosFigueira
Power Apps Staff

Re: Control items individually in a Gallery

If you have two controls inside a gallery (in your case, the two radio buttons), then you can reference the selection of one of them in the Visible property of the other.

For example, if the radio button for the "Utilisation" is called "rbUtilisation", then if you set the Visible property of the Satisfaction radio button to

rbUtilisation.Selected.Value <> "Besoins éventuels"

You can take a look at the attached app for an example of this scenario. To open it, save it locally, then go to https://create.powerapps.com, select Open (Ouvrir) -> Browse (Parcourir les fichiers), and find the file that you saved.

Hope this helps!

View solution in original post

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,964)