web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Building quiz using ga...
Power Apps
Unanswered

Building quiz using gallery but each question has either 2 answers, 4 answers, or 5 answers.

(0) ShareShare
ReportReport
Posted on by 6

I created a quiz but each question has a different amount of answers. I want to hide the radio buttons of the fields that don't have answers. Is there a way to do that. As you can see below there are some questions with 2 answers, some with 4 and some with 5. I want to hide the radio button if an answer isn't associated.

rlevi_0-1716320276028.png

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @rlevi ,

     

    I understand that all the questions are items of a Gallery, but what about answers? Are they in a sub-Gallery as well?

     

    Best regards,

  • rlevi Profile Picture
    6 on at

    The radio control is used within the gallery.

    rlevi_0-1716379397836.png

    and here is my SP list

    rlevi_1-1716379798810.png

     

     

  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @rlevi ,

     

    What formula are you using in Items property of the Radio control? 

     

    Anyways, I think you can use a Filter function for the data source of Radio and get nonblank values as options.

    Filter(CurrentItems, !IsBlank(Value))

     

    Best regards,

  • rlevi Profile Picture
    6 on at

    Thank you so much! That worked!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard