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 / Dropdown selected valu...
Power Apps
Answered

Dropdown selected value transformed into text label PLEASE

(0) ShareShare
ReportReport
Posted on by 21

Hi everyone,

 

I am trying to create a simple text label (Label1) from a dropdown field (DataCardValue1), using the syntax in the Text property of Label1 -> DataCardValue1.Selected.Value but is not working.

Choices are: Improved / stable / deteriorated.

My goal is to simply reference to the input selected and submitted by the user, to show the data sourced by the corresponding display form (where the DataCardValue1 is from).

 

Could I please ask for some help?

Even a turnaround with a variable might be great, since the dropdown choice column type could not be changed.

 

Many thanks in advance for your help!

 

Categories:
I have the same question (0)
  • powerappnewbie4 Profile Picture
    53 on at

    Perhaps the column name is not Value.

    Use DataCardValue1.Selected. and then see if Power Apps suggests what column name to use? 

  • MC_07 Profile Picture
    21 on at

    Thanks for the quick reply!

    Unfortunately nothing... 

    MC_07_0-1718722498258.png

     

  • maltie Profile Picture
    28 on at

    Can you use Text(First(DataCardValue52_2.Selected.Value))?

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @MC_07 ,

     

    What is Items of DataCardValue52_2? If there are column in fx of Items, what are types of them?

     

     

    Best regards,

    Rimmon

  • MC_07 Profile Picture
    21 on at

    Thanks!

    Not working anyway

     

    MC_07_0-1718808664020.png

     

  • MC_07 Profile Picture
    21 on at

    Hi Rimmon, thanks!

     

    Item property of the data card is the Parent (display form based on SharePoint) and the single choices are simple words: Improved / stable / deteriorated.

     

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @MC_07 ,

     

    Please try this.

    Items of DropDown.

    ["Improved","stable","deteriorated"]

    Then please try use DropDownName.Selected.Value on Text of Label control again.

     

     

    Best regards,

    Rimmon

  • Verified answer
    MC_07 Profile Picture
    21 on at

    Yes, indeed it now works, but the Gallery is not updating automatically in relation to the form submitted by user.

     

    I am trying as a turnaround to copy-paste the display form again in the screen and customize the datacard in order to look like the text label format I was creating.

     

    Many thanks for the help of course!

    Have a nice day!

    Mattia

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @MC_07 ,

     

    Do you mean that the selection in drop down were not updated to SP list?

    Please check the Update of data card. Check if the data matches the column type.

     

    ——————————————————————————————————————————————————

    If my answer helps you solve the problem, please accept it as a solution.

    If you have another question, please post it in new post.😀

     

    Best regards,

    Rimmon

  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @MC_07 ,

     

    If my answer helps you solve the problem, please accept it as a solution as well.

     

    Thanks.

    Rimmon

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard