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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
siddrow
Helper III
Helper III

Long decimal values not rounding correctly

Hi

I have two decimal values in my dataset that aren't showing correctly. I believe it's due to the length of decimal places. See below screenshot of the original custom column calculation. The custom column calculates from two other columns - one is decimal value format with 2 decimal places and the other column is whole number format.

siddrow_0-1669780991768.png

 

you can see at the very bottom of this screenshot that is has many decimal values. 

 

I have tried to use the "round off" function in the transform tab, however it's not fixing the issues.

 

siddrow_1-1669781084522.png

 

I have also tried to change it in the data tab which seemed to have worked.

 

siddrow_2-1669781162602.png

 

However, when I use it in my chart visual, it is still showing weird values, even though I have selected on the visual to show 5 decimal places only. The value for the first one should show 0.00004 and the second should be 0.00007

siddrow_3-1669781233653.png

siddrow_4-1669781301582.png

 

How do I fix these value issues?

 

thanks in advance for your help! 🙂

 

 

 

1 REPLY 1
amitchandak
Super User
Super User

@siddrow , Make sure the data type in power query is also decimal.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.