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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
kleigh
Resolver IV
Resolver IV

Desktop reports errors in a query, but show errors in Power Query is blank.

I think I have this solved, so mostly recording this for other people to find.


On loading a query, many errors were reported. However, when I chose to show errors, the table in Power Query editor that is supposed to show errors came up blank.

Inside a Table.Group, I had an implicit cast. The calculation could return a fractional value, but I set the return type as integer. After changing the cast to explicit, the query no longer reported errors on load to Desktop.

 

 

// Before: causes load error.
{"Adjusted GLH", each List.Sum([Adjusted GLH]), Int64.Type  }

// After: Explicit cast removes load error.
{"Adjusted GLH", each Int64.From(List.Sum([Adjusted GLH])), Int64.Type  }

 

 

Is there some other way I could have viewed the errors as seen by Desktop if the Power Query editor wouldn't show them to me?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @kleigh ,

Thanks for sharing your experience in resolving query loading errors in Power BI Desktop! I'm sure your efforts will help many more!

Power Query has diagnostics tools that can be used to analyze queries and their performance. You can start diagnostics before loading the data to capture detailed information about the query execution and potentially catch any errors.

vjunyantmsft_0-1706751407852.png

If the table shows a column, you can click on the cell where the error occurred to see details of what went wrong.
And for advanced users, running PowerShell scripts can help diagnose problems by accessing the Power BI API and extracting more detailed error messages.

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @kleigh ,

Thanks for sharing your experience in resolving query loading errors in Power BI Desktop! I'm sure your efforts will help many more!

Power Query has diagnostics tools that can be used to analyze queries and their performance. You can start diagnostics before loading the data to capture detailed information about the query execution and potentially catch any errors.

vjunyantmsft_0-1706751407852.png

If the table shows a column, you can click on the cell where the error occurred to see details of what went wrong.
And for advanced users, running PowerShell scripts can help diagnose problems by accessing the Power BI API and extracting more detailed error messages.

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.