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
Anonymous
Not applicable

Measure close to zero not shown as zero when forcing to show 0 or 1 decimals

I have 2 measures, and I substract one of the other:

 

Delta1.PNG

All 3 measure I have set as data type decimal number with one decimal. However when the measure that substracts one measure from the other, then when close to '0'  the figure is not shown with 1 decimal  but like this:

Delta2.PNG

 

Also the source field 'Amount' that I use the 2 measures is a decimal number.  

How can I solve that this is shown as '0,0' ?

1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Since you don't need other digits, how about formatting it explicitly like below?

Measure 7 = ROUND([Measure 5] -  [Measure 6], 1)

Measure-close-to-zero-not-shown-as-zero-when-forcing-to-show-0-or-1-decimals

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Since you don't need other digits, how about formatting it explicitly like below?

Measure 7 = ROUND([Measure 5] -  [Measure 6], 1)

Measure-close-to-zero-not-shown-as-zero-when-forcing-to-show-0-or-1-decimals

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-jiascu-msft Great this works! Did not know about the Round function. Thank you very much!

My pleasureSmiley Very Happy.

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.