Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Simon4
Creator
Creator

Average without zero values

Hi all,

I want to calculate the average price. But due to administrational faults the price is not always available. I want to calculate the average price neglecting the zero values to display a more accurate value. Screenshots for more clearity.

 

Thankyou kindly in advance,

 

Simon

Simon4_0-1664952963638.png

 

Simon4_1-1664953017020.png

 

Labels (1)
1 Solution

Accepted Solutions
rubenmarin

Hi, you can add set analysis to remove zero values:

Avg({<NetPurchasePrice={"<0>0"}>} NetPurchasePrice/Quantity)

View solution in original post

1 Reply
rubenmarin

Hi, you can add set analysis to remove zero values:

Avg({<NetPurchasePrice={"<0>0"}>} NetPurchasePrice/Quantity)