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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Data conversion error

Hello,

 

I'm facing a problem when I am trying to convert my data into a decimal number.

My actual data is tagged as a text but PBI does not seem to take in count that I was using the correct format in Excel before the import.

 

I have already search for blanks but this is not the issue.

 

I need PBI to take in count decimal in order to produce diagrams and avoid the field "Count of ..."

 

How can I solve this ?

 

Thank you

 

HLearner_0-1658764241084.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Open Power Query, Before the first change data type step, use clean and trim

 

Power Query Trim and Clean: https://youtu.be/NRYPsCnS0w4

If needed replacevalues

 

And they overwrite the datatype step and change datatype to decimal

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Thank you it is solved. 
Now when I try to do visuals I can not mutualize my data.
Indeed I have two data types in different tables :

- Power which is part of energy table

- Noise which is part of noise table

Therefore I want to mutualize both depending on the collected date but both tables have their own collected date and only one is being printed.

 

I have already tried to introduce cardinality and manage relationship but it did not work.

Anonymous
Not applicable

Hi @Anonymous ,

 

The question is off topic, please consider creating a new thread to post this question.

If Amit's answer was helpful, please consider marking his answer as the solution, it will help more people find the answer quickly, thanks in advance!😊

 

How to Get Your Question Answered Quickly

How to provide sample data in the Power BI Forum

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

amitchandak
Super User
Super User

@Anonymous , Open Power Query, Before the first change data type step, use clean and trim

 

Power Query Trim and Clean: https://youtu.be/NRYPsCnS0w4

If needed replacevalues

 

And they overwrite the datatype step and change datatype to decimal

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.