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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Error while using expander on coloums

Hi ,

 

i have just started using power BI and have encountered below issue 

 

i am using expander query on below coloum which works fine overall but wherever there is empty row i am getting a error . i cant remove error and i need those rows as well . 

 

hiteshgoyal_0-1617004484927.png

 

3 REPLIES 3
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Is this problem solved?

 

If it is solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If not, please let me know.

 

 

Best Regards,

Icey

Icey
Community Support
Community Support

Hi @Anonymous ,

 

Based on my test, if your column only contains "List", it can be expanded directly.

list.JPG

 

Please check if there are some "Record" in your column, too. 

record with list.jpg

 

If so, you can refer to this post:

transformation - Transforming json with power query (mix of list and record in a single column) - Stack Overflow.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Familiarize yourself with the try ... otherwise ...   pattern in Power Query.  Hint: for the "otherwise"  portion you may need to provide an empty list.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors