Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
let
Source = Xml.Tables(Web.Contents(Excel.CurrentWorkbook(){[Name="URL"]}[Content]{1}[Column1])),
Table0 = Source{0}[Table],
Table1 = Table0{0}[Table],
#"Expanded analysis" = Table.ExpandTableColumn(Table1, "analysis", {"Element:Text"}, {"analysis.Element:Text"}),
#"Expanded nominaldescription" = Table.ExpandTableColumn(#"Expanded analysis", "nominaldescription", {"Element:Text"}, {"nominaldescription.Element:Text"})
in
#"Expanded nominaldescription"
When both analysis & nominal description are present they expanded and this works perfectly. However, the same data from the API does not always need to be expanded.
How do I achieve if nominal description errors on expanding then, don't expand and just show the data?
Hi, @daniel_wild
Could you please share your sample data? What kind of expected results do you expect? You can also show it with pictures.
Please refer to the following link, hope it can help you.
https://community.powerbi.com/t5/Desktop/Cannot-Expand-Null-List/m-p/1095765#M507700
https://community.powerbi.com/t5/Desktop/Expand-Column-REST-API-JSON-Records/m-p/352934#M158794
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
94 | |
77 | |
71 | |
62 | |
58 |
User | Count |
---|---|
110 | |
103 | |
84 | |
65 | |
62 |