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 / Gallery Conditional Lo...
Power Apps
Unanswered

Gallery Conditional Logic with Parent / Child Data

(0) ShareShare
ReportReport
Posted on by 9
Hello,
 
I'm wondering if anyone has had any experience with conditional logic within a gallery when creating a canvas app.
 
I have a gallery (Gallery1) that shows Audit Questions for Audits selected from a dropdown list, which is all stored in Dataverse. The gallery has radio button controls for each item and question which is bundled up on submission (button click) and patched back to a separate table in Dataverse.
 
I'm wanting to introduce conditional logic to reduce the length of the gallery and only show appropriate questions to the scenario, i.e:
Question 1: Do you take sugar in your coffee? Yes/No
Question 2: (If Question 1 is Yes) How many sugars?
 
Within the Questions table in Dataverse, I have added ParentQuestionID and ParentAnswerTrigger fields to try and use them back in the gallery. The idea is that Question 2 would have Question 1 as the Parent ID and ParentAnswerTrigger value of 'Yes'. However, I just can't get the display of this right in my Gallery.
 
Any help is appreciated and any alternative thoughts to galleries or the use of collections would be appreciated!
 
Thank you :)
Categories:

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard