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 / Converting dropdown li...
Power Apps
Unanswered

Converting dropdown list to Text w/ Dataverse

(0) ShareShare
ReportReport
Posted on by 35

Hi - I am new to PowerApps...

I have an app where I would select a value from a dropdown (myDropdown) and would like to use the OnChange Event to set a global variable that is the text representation of the dropdown. So far, I have used:

 

(1) Set(varName, Self.Selected.Value) - which sets varName:  {“Id:707770002,”Value”:”Food - Dinner”}
(2) Set(varName.Self.Selected) - which sets varName: ?   (a simple question mark in the column)
(3) Set(varName.Self.SelectedText) - shows an error (SelectedText isn't recognized)
(4) Set(varName.Self.SelectedText.Value) - ditto
 
NOTE: For clarity's sake, I am using a dropdown as I want to be able to select a single value from the list...not multiples, thus I am not using the combobox.
 
Lastly, example (1) above actually has the value that I am looking for - except that I only want the "Food - Dinner" portion.
 
Any further thoughts or ideas are welcomed...
 
 
Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @RichHarr 

     

    To make sure you just have text, you could wrap the first option inside of the text function. 

    Set(varName, Text(Self.Selected.Value))

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard