Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Dropdown values should change in gallery

(0) ShareShare
ReportReport
Posted on by 56

Team,

I am building an app where user will give his inputs based on the questions.

I am using a gallery where there are few questions and for each question the dropdown have to change.

For example: 

Q1 : Dropdown values = Me1,Me2,NA

Q2: Dropdown values = Me1,Me2,Me3,Me4

Q3: Dropdown value= Yes,No

 

How can I achieve this ?

Questions will change based on the user grade.

 

Please help me

Categories:
  • raassd Profile Picture
    raassd 56 on at
    Re: Dropdown values should change in gallery

    @theapurva ,

    Thanks for your reply !

    Please can you explain me in details as I am not finding way to do as you suggested.

     

    Thanks in advance !

  • Verified answer
    theapurva Profile Picture
    theapurva 965 on at
    Re: Dropdown values should change in gallery

    You can Create list in Master list in Sharepoint which has columns as Grade, Question, DropdownValues
    In DropdownValues you can store values separated by ; and you can display them in gallery drop down with Spliting by ;.

    Then You can create another list for Records User Details and their question and their answer.

     

     

    theapurva_2-1655469062406.png

     

     

    theapurva_0-1655469031137.png

     

     

  • raassd Profile Picture
    raassd 56 on at
    Re: Dropdown values should change in gallery

    @anibra ,

    Thanks for your response !

    Below is my set of questions , like below have more than 10 questions 

    raassd_0-1655468536010.png

     

  • anibra Profile Picture
    anibra 278 on at
    Re: Dropdown values should change in gallery

    Hi @raassd ,

     

    you can try to create a collection to keep the question and the dropdown values of the questions , example:
    ClearCollect(var_values,{Qs:"Question1",Values:"Me1"},{Qs:"Question2",Values:",Me2"},{Qs:"Question2",Values:"Na"});

     

    Lets say you have another collection/table with the questions which is the source of the gallery.

    Then in the dropdown items inside the gallery Filter( var_values, Qs= ThisItem.questions).

     

    Regards,

    AK

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard