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 Automate / How do you get the tex...
Power Automate
Answered

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,876 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard