Reply
Member
Posts: 58
Registered: ‎08-07-2018
Accepted Solution

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

[ Edited ]

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' ?


Accepted Solutions
Highlighted
Community Support Team
Posts: 7,285
Registered: ‎05-02-2017

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.

View solution in original post


All Replies
Highlighted
Community Support Team
Posts: 7,285
Registered: ‎05-02-2017

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.
Member
Posts: 58
Registered: ‎08-07-2018

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
Posts: 7,285
Registered: ‎05-02-2017

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.