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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
RZ
Frequent Visitor

Unexpected behaviour in Power Query

Hello,

 

I have a Power BI report that connects to variouys data sources (files, API)  and brings them together. I made some changes yesterday, And I started getting dataformat.error's during refresh. The error is not  associated with one row. Instead the whole step fails. After some backward steps to identify the issue , now I am at a stage where I am getting the error

 

 

DataFormat.Error: We couldn't convert to Number.
Details:
    True

 

 

at the sorting step where I was hoping to find some problematic data... 

 

RZ_0-1685689429606.png

 

The immediate step before refreshes fine. It s the step where I converted the values to text in order to debug if something was wrong with the data I have,,,

 

RZ_1-1685689463975.png

 

Any suggestions? 

 

Thanks...

Ruchan 

 

3 REPLIES 3
RZ
Frequent Visitor

Well it turned out to be one of the export files had missing columns, so some columns had mismatching type of data which was failing a group by step. I am not sure that expains Power BI behaviour though...

RZ
Frequent Visitor

I will now start to remove data sources one by one and see what happens. I  was expecting a magic solution like "OK the cached data must have been corrupt..   Click ctrl-alt-shift refresh and see if that solves it..."  

lbendlin
Super User
Super User

That is indeed weird.  Can you provide sample data in usable format (not as a screenshot) ?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.