Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
pittouti
Contributor II
Contributor II

AVG() Function with many conditions

Hello everyone, I want to calculate the average of a column with a filter on 3 other columns

A,B,C,D are the columns

Average of A

When

B = True

C = True

D = True

1 Reply
MayilVahanan

Hi @pittouti 

B, C, D contains true value?? if so, try like below

Avg({<B={'True'},C={'True'},D={'True'}>}A)

else, replace the true value with some other values. 

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.