Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi!
I used the following code in Power BI to retreive state code and status code in CRM v8:
= Json.Document(Web.Contents("https:/xxxxx.api.crm4.dynamics.com/api/data/v8.2/" & "stringmaps?fetchXml=<fetch version=""1.0"" output-format=""xml-platform"" mapping=""logical"" distinct=""false""><entity name=""stringmap""><attribute name=""stringmapid"" /><attribute name=""value"" /><attribute name=""attributename"" /><attribute name=""attributevalue"" /><filter type=""and""><condition attribute=""objecttypecode"" operator=""eq"" value=""4"" /><condition attribute=""attributename"" operator=""eq"" value=""statecode"" /><condition attribute=""langid"" operator=""eq"" value=""" & langid & """ /></filter></entity></fetch>"))
This is not working in v9. I've tried to change the version to 8.2 instead of 9. I get load the tables but this isn't working. Any help?
Regards,
Magnus
Hi @MagnusSthlm,
In your scenario, you want to parse Json file in Power BI. Right?
If so, you can refer to following relevant thread:
https://community.powerbi.com/t5/Desktop/Parsing-JSON-data-into-PowerBI-table/td-p/55946
Thanks,
Xi Jin.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |