Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
tmumaw
Specialist II
Specialist II

Set Analysis

Need a little help on set analysis and ignoring null values.  Here is what I tried

Count({<Cont_Year -= {'-'},MGrp=>} total ServLoc)

It's giving me the total for both years and I need totals for 2017 and 2018 separately. Ignore the last column.

Here is what I am gettingRenewal.png

1 Solution

Accepted Solutions
sunny_talwar

May be this

Count({<Cont_Year -= {'-'},MGrp=>} TOTAL <Cont_Year> ServLoc)

View solution in original post

3 Replies
Anil_Babu_Samineni

What if we can enable the option "Suppress" for MGrp ??

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sunny_talwar

May be this

Count({<Cont_Year -= {'-'},MGrp=>} TOTAL <Cont_Year> ServLoc)

tmumaw
Specialist II
Specialist II
Author

Thanks Sunny.  I changed it to this and it worked.  Your help is appreciated.

Count({<MGrp=>} TOTAL <Cont_Year> distinct ServLoc)