Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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 ?

 

 

1 Solution

Accepted Solutions
sunny_talwar

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
“Aspire to Inspire before we Expire!”
sunny_talwar

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
“Aspire to Inspire before we Expire!”