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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
sutoniusahadong
Contributor
Contributor

Using AVG in set Analysis

Dear All,

Can help me, is it possible to run this script

=COUNT(DISTINCT {<Avg(BOBOT)={">3.05"}>} EMP_NO)

What alternative i can use ?

 

 

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try this instead

=Count(DISTINCT {<EMP_NO = {"=Avg(BOBOT) > 3.05"}>} EMP_NO)

View solution in original post

3 Replies
HirisH_V7
Master
Master

You can use if condition like,
If(Avg(BOBOT)>'3.05',
COUNT(DISTINCT EMP_NO)

i don't think set-analysis will work such way, will check anyway. You can do this avg in script and create a column. you can use the same in set analysis directly.

HirisH
sunny_talwar
MVP
MVP

Try this instead

=Count(DISTINCT {<EMP_NO = {"=Avg(BOBOT) > 3.05"}>} EMP_NO)
HirisH_V7
Master
Master

Cool 🙂 it working bro. @sutoniusahadong  you can use this & close thread.

HirisH