web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : /sQdXOYpG75P8o1503MFW7
Power Apps - Building Power Apps
Unanswered

Converting dropdown list to Text w/ Dataverse

Like (0) ShareShare
ReportReport
Posted on 21 Feb 2024 03:15:11 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,233 Most Valuable Professional on 21 Feb 2024 at 04:44:55
    Re: Converting dropdown list to Text w/ Dataverse

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 982 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 396 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 356

Last 30 days Overall leaderboard
Loading complete