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 Apps / Dataflows Web API to g...
Power Apps
Unanswered

Dataflows Web API to get Entity data including Formatted Values

(0) ShareShare
ReportReport
Posted on by 99

I'm using the web api in the Dataflows to get entity data where i would also like to retrieve the formatted values. I can see from the link below from MS documentation that this needs to be defined, but i can't work out how to do this in the context of a dataflow web api URL?

Any help much appreciated

Query Data using the Web API (Microsoft Dataverse) - Power Apps | Microsoft Docs

I have the same question (0)
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @davidyc,

     

    You should be able to specify HTTP headers in the dataflow Web connector options. The header Prefer: odata.include-annotations="OData.Community.Display.V1.FormattedValue" indicates to the API to return the formatted values in the response.

     

    If you're bringing back related data through lookups and want the formatted values from that, you can specify the header Prefer: odata.include-annotations="*".

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • davidyc Profile Picture
    99 on at

    Hi Chris, it seems the web connector from your link is different to the Web API when connecting with the Dataverse in dataflows - do you know how I would add a header from this point?

     

    davidyc_0-1619597479664.png

     

  • Verified answer
    davidyc Profile Picture
    99 on at

    turns out it was a simple tweak to the syntax and I now have an infinitely better dataset with all OptionSet value labels:

     

    davidyc_0-1619609114430.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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard