Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
daniel_wild
New Member

Help with expanding error

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?

1 REPLY 1
v-zhangti
Community Support
Community Support

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.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.