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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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