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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with Set Analysis

Hi,

Please can someone help me with below expression. I would like to ignore selection of GR month in below set analysis expression.

I tried using -

Avg ({<GRMonth=>} aggr( Only({$<[MM_Exclude_Flag]= {0} >} MM_Total_Time),Delivery_Key))

It is giving same results when used without {<GRMonth=>} before aggr function as below.

Avg (aggr( Only({$<[MM_Exclude_Flag]= {0} >} MM_Total_Time),Delivery_Key))

Please let me know the correct syntax.

Thanks in advance!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try including your ignored field also into the inner set expresssion:

=Avg ({<GRMonth=>} aggr( Only({$<[MM_Exclude_Flag]= {0}, GRMonth= >} MM_Total_Time),Delivery_Key))

View solution in original post

2 Replies
swuehl
MVP
MVP

Try including your ignored field also into the inner set expresssion:

=Avg ({<GRMonth=>} aggr( Only({$<[MM_Exclude_Flag]= {0}, GRMonth= >} MM_Total_Time),Delivery_Key))

Not applicable
Author

Thanks for your help! It worked.