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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Rangapbi
Regular Visitor

PowerBI not taking decimal values

Hi,

 

When I am adding decimal values in data source(MS excel) power bi not takinhg it as it is(0.4,0.5,0.6 etc..) giving only 0.

5 REPLIES 5
GilbertQ
Super User
Super User

Hi @Rangapbi

 

Go into the Query Editor and make sure that for your column the dataset is changed to either Decimal Number or Fixed Decimal

 

Due to the way the Query Editor works with a sample of the first 100 rows if there are no decimals it might defaulted it to a Whole Number.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

prateekraina
Memorable Member
Memorable Member

Hi @Rangapbi,

 

Issue is in the excel. Check the format of the column.

I have tested this scenario in my local machine, i have got the values in Power BI as it is in excel.

Answer 4.PNG

 

Thanks !!

Hi Pratheek,

 

Format is fine,once we create a report with the data it shows values correctly but when we update the sheet it is not reflecting.

Make sure that you have an explicit query step that sets the data type to decimal. Format in the report is not enough. Even if the column looks like a decimal in the query editor, that is not enough. You need to put in a step that actually sets the column's data type to decimal. This has to be done in the query editor.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thank you so much! Was messing around with it for 30 minutes before I came across your response. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.