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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How do you get the tex...
Power Automate
Unanswered

How do you get the text value for a Choice field in a Power Automat Flow?

(0) ShareShare
ReportReport
Posted on by 6

In our Power Apps application we have a Choice Field with three options.

 

DVader_0-1622117565299.png

 

As part of our business process we have a Flow that populates a Word template that gets e-mailed. In the flow I have an "Initialize Variable" step that is supposed to get the value from the choice shown above.

 

DVader_1-1622118203299.png

But instead of getting the text value I'm getting the internal ID for the Choice.

 

What do I need to do to get the text value for the choice and not it's internal ID?

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,183 Most Valuable Professional on at

    Hi @DVader,

     

    You could use an expression to retrieve the label via the OData.Community.Display.V1.FormattedValue. 

     

    Below is an example with customertypecode.

     

    The value would be:

    outputs('Get_a_row_by_ID')?['body/customertypecode']

     

    The label is:

    outputs('Get_a_row_by_ID')?['body/customertypecode@OData.Community.Display.V1.FormattedValue']

    expression_customertypecodelabel.png

  • DVader Profile Picture
    6 on at

    @Expiscornovus Thanks so much. That worked!

  • FelipePanza Profile Picture
    84 on at

    @Expiscornovus Hi, I tried your method with List row, but I do not work. Does it only with Get ro by id?

  • ar87 Profile Picture
    353 on at

    Hi @FelipePanza,

     

    this post is quite old, but in case you still need a solution, you could try retrieving the value of choice field with the following formula:

    first(outputs('List_rows')?['body/value'])['column_name@OData.Community.Display.V1.FormattedValue']

     

  • asdfaf4 Profile Picture
    on at

    Microsoft keeps making massive design mistakes.  All display values used to be provided years ago by using the native Dynamics 365 Action or the first batch of Dataverse Action (the purpose or grey ones). Now, it's ten times more complicated to get those basic values.  BAD MOVE...  Why not display them in the picker? Why?  No one from the product management is answer such question.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard