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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
dogt1225
Helper III
Helper III

Decimal Data Type Rounding Up

Hi All --

 

I have a decimal data type that is automatically rounding up to the nearest integer. For example in the last row, the data source has 14.5, but in Powerbi it is 15.0 . I would like to show the number from the datasource (14.5). Any ideas on how to fix this? 

Data Type = Decimal
Format = Decimal

Formatted to 1 decimal place

 

DataSource:

SQL2.PNG

 

PowerBI:

Picture1.png

1 ACCEPTED SOLUTION
vivran22
Community Champion
Community Champion

Hello @dogt1225 ,

 

What is the data type assigned in Power Query editor? Please check if it is a decimal or whole number.

 

image.png

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

View solution in original post

2 REPLIES 2
vivran22
Community Champion
Community Champion

Hello @dogt1225 ,

 

What is the data type assigned in Power Query editor? Please check if it is a decimal or whole number.

 

image.png

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

Ah! This gets me every time.. I change the data type in the Report tab, but forget to change in Power Query Editor. 

Thanks you for the help!

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!