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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.