Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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)