Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Display value through modern control - dropdown box

(0) ShareShare
ReportReport
Posted on by 158

Hello,

 

Maybe someone encountered this issue before... I have a dataverse table in which there is a single choice column. When I try to display this in gallery through modern control - dropdown box I get a list of my choices but it won't read from dataverse - I mean a specific one chosen job which is done on other screen. I have already some records with choices made and this gallery supposed to read it but it won't. Does anyone know why? 

 

As You can see no values chosen here:

marcy_pi_0-1687784123178.png

 

...but I can see choices in dropdown:

marcy_pi_1-1687784210077.png

 

 

Regards  

Categories:
  • Verified answer
    Re: Display value through modern control - dropdown box

    Hi @marcy_pi ,

     

    May I ask if the data you have saved after you choose in the First Screen, because we noticed you said it cannot read the choice from the Dataverse.

     

    We create a Dataverse for testing to understand better.

    vhanytianmsft_0-1687836951652.png

     

     

    We insert a Gallery for Choose the Mercy to simulate a specific one chosen job which is done on another screen.

    In this Gallery you can Choose All choice from the column.

    vhanytianmsft_1-1687836951653.png

     

     

    The Items of the DropDownBox:

    Choices([@ForDisplays].Marcy)

    vhanytianmsft_2-1687836951655.png

     

    The OnChange of the DropDownBox:

    Patch(ForDisplays,LookUp(ForDisplays,Name = ThisItem.Name),{Marcy:Dropdown1.Selected.Value})

    vhanytianmsft_3-1687836951657.png

     

    The AllowEmptySelection of the DropDownBox:

    True

    vhanytianmsft_4-1687836951658.png

     

     

    We insert the Second Gallery on another screen to read the choice which we have already choose.

    vhanytianmsft_5-1687836951659.png

     

     

    The Items of the DropDownBox:

    Choices([@ForDisplays].Marcy)

    vhanytianmsft_6-1687836951661.png

     

     

    The Default of the DropDoenBox:

    ThisItem.Marcy

    vhanytianmsft_7-1687836951667.png

     

     

    The AllowEmptySelection of the DropDownBox:

    True

    vhanytianmsft_8-1687836951672.png

     

     

    Hope this will help you.

     

    Best Regards,

    Tina

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,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard