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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

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

Capture.PNGI want it as text and it is in text format but still it shows error Capture.PNGCapture.PNG

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@Anonymous 

At a guess, Power Query has probably added a step on importing the dataset where it attempts to establish a type for each column. Look for the "Changed Type" step in the list and delete the conversion pertaining this column.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

4 REPLIES 4
PaulDBrown
Community Champion
Community Champion

@Anonymous 

At a guess, Power Query has probably added a step on importing the dataset where it attempts to establish a type for each column. Look for the "Changed Type" step in the list and delete the conversion pertaining this column.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi Paul - any thoughts on this one?

 

Similar issue but it is not being caused by any Changed Type step. On a filter step, Power Query seems to be attempting to convert to number when all the data has been marked as text and was at no point otherwise.

PC2790
Community Champion
Community Champion

Would you be able to share your pbix file removing the sensitive data?

amitchandak
Super User
Super User

@Anonymous , OPen Power Query, Right-click on advance editor an find your column and carefully change data type

 

One part video cover data type correction: https://www.youtube.com/watch?v=h0yLtceT0i4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L&index=2

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.