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

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

Reply
AnnaTolstokulak
Regular Visitor

"cannot convert the value null to type list" and red striped columns

Hi!

I'm trying to convert list with records which was received from json file to the table but I get error "cannot convert the value null to type list". If I use Table.FromList ot Table.FromRecords I see columns but they are red striped which means there is still an error and it will be while reloading data.

I tried to use List.ReplaceMatchingItems, List.RemoveNulls and 'Remove errors" but it didn't help. 

 

Do you have any idea what could it be?

 

AnnaTolstokulak_0-1614061879307.pngAnnaTolstokulak_1-1613741897810.pngAnnaTolstokulak_3-1613741951169.pngAnnaTolstokulak_4-1613741998479.png

 

 

4 REPLIES 4
v-yingjl
Community Support
Community Support

Hi @AnnaTolstokulak ,

Basically it could be converted into a list, but you can consider share a sample query for finding the detailed problem.

Or you can refer these simliar issues and documents:

  1. Error with JSON - Error with Record.List - Cannot convert the value to type List 
  2. Cannot convert value to type table 
  3. [Expression.Error] We cannot convert the value "" to type List 
  4. Automatically expand all fields from a JSON document in Power BI and Power Query 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yingjl ! Thank you a lot for links, I updated this post with screenshot of M code

AlB
Community Champion
Community Champion

Hi @AnnaTolstokulak 

Do share the M code or the pbix. Otherwise it'll be hard to spot wht the problem is

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Hi! Thanks for attention, I added screenshot of M code to the post, @AlB 

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.

Top Kudoed Authors