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 :
Power Automate - Building Flows
Answered

Choice selection exporting to word as value instead of label

(0) ShareShare
ReportReport
Posted on by 24

I have a drop-down choice column in Dataverse, and I am trying to get the selection to be exported into Word. While it is exporting, I am getting the value of the choice instead of the label. 

 

 

The proof-of-concept flow: 

cas_kraft_0-1678310860041.png

 

The population part in detail: 

cas_kraft_1-1678311008902.png

 

What's being output, and what I want to have output: 

cas_kraft_2-1678311200828.png

 

 

I have the same question (0)
  • Verified answer
    grantjenkins Profile Picture
    11,059 Moderator on at
    Re: Choice selection exporting to word as value instead of label

    Are you able to show the output (JSON) that you are getting back from your Get a row by ID action in order to see the actual field names, etc.?

     

    You can try adding the following on to the end of your field name to retrieve the value as appose to the Id.

    //Add @OData.Community.Display.V1.FormattedValue to the end of your field name
    
    //Id
    outputs('Get_a_row_by_ID')?['body/YOUR_FIELD_NAME']
    
    //Value
    outputs('Get_a_row_by_ID')?['body/YOUR_FIELD_NAME@OData.Community.Display.V1.FormattedValue']


    ----------------------------------------------------------------------
    If I've answered your question, please mark the post as Solved.
    If you like my response, please consider giving it a Thumbs Up.

  • Verified answer
    cas_kraft Profile Picture
    24 on at
    Re: Choice selection exporting to word as value instead of label

    I put your recommendation into an 'initialize variable' step and it worked! Thanks!

     

    cas_kraft_0-1678381161981.png

     

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard