cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Power Apps
Power Apps

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
Highlighted
Power Apps
Power Apps

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (11,633)