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
admin11
Memorable Member
Memorable Member

How to remove AR Table display those amount which is 0.00 ?

Hi All

 
I have below expression working fine :-
AR_AMT_ = if(sum(AR[A/R amount include GST in LC]) =0 , blank(),sum(AR[A/R amount include GST in LC]))
But it display 0.00 amount , in actual fact the amount is zero , it should not appear on the table . 

admin11_0-1611488975065.png

Can some one share with me how to remove them ?

 

Paul

 

1 ACCEPTED SOLUTION

@admin11 

 

Please change the formula to this one and it will bring the results you want.

AR_AMT_ = if(ROUND(sum(AR[A/R amount include GST in LC]),0)=0, blank(),sum(AR[A/R amount include GST in LC]))
 
I have added the ROUND function. It seems that thenumber has multiple decimal places and is slightly above zero. (e.g. 0.000001)

View solution in original post

4 REPLIES 4
admin11
Memorable Member
Memorable Member

@admin11 

The problem is that the sum calculation looks for rows with values = 0. You have rows for the same company which have -ve and +ve values (whose final sum is 0). These rows are not = 0, therefore they are included.

To remove these:

Create a measure for the sum of values:

 

SumAr = SUM(AR[A/R amount include GST in LC])

 

 

Now use this final measure in the visual:

 

SumAR (no 0 values) = IF(SUMX(Company, [SumAr]) >0, [SumAr])

 

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






@admin11 

 

Please change the formula to this one and it will bring the results you want.

AR_AMT_ = if(ROUND(sum(AR[A/R amount include GST in LC]),0)=0, blank(),sum(AR[A/R amount include GST in LC]))
 
I have added the ROUND function. It seems that thenumber has multiple decimal places and is slightly above zero. (e.g. 0.000001)

Hi Themis

Thank you so much for sharing the expression work fine,

Paul

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.

Top Solution Authors