cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MartijnNL Member
Member

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

Accepted Solutions
Community Support Team
Community Support Team

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

Hi @MartijnNL,

 

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.
3 REPLIES 3
Community Support Team
Community Support Team

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

Hi @MartijnNL,

 

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.
MartijnNL Member
Member

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

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

Community Support Team
Community Support Team

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

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.