Skip to main content

Notifications

Community site session details

Community site session details

Session Id : E6VhKU9RQQpgCTIkaUNYES
Power Apps - Building Power Apps
Answered

Display value through modern control - dropdown box

Like (0) ShareShare
ReportReport
Posted on 26 Jun 2023 12:57:51 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
    v-hanytian-msft Profile Picture
    Microsoft Employee on 27 Jun 2023 at 03:36:15
    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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard
Loading complete