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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.