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
dogt1225
Helper II
Helper II

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!

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.