Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
raghavsurya
Partner - Specialist
Partner - Specialist

Average formula issue

Hi All,

We have situation where in we need to ignore any negetive / zero values in the table and calculate the average or Min or Max values. For Example

ProductProfit
a10
b-4
c6
d8
e0


The Average formula should ignore product b and product e which calculating average. Can anybody suggest how to do this.

Regards,

Raghav

3 Replies
Not applicable

For example:

AVG(IF(Profit>0,Profit))


raghavsurya
Partner - Specialist
Partner - Specialist
Author

Hi,

In the same scenario, if we want to select minimum of the values how should we put the formula. Can you please help us.

Regards,

Raghav

Not applicable

Just change the AVG function to MIN.