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: 
Anonymous
Not applicable

Set analysis query

Hi all,

I am facing the following scenario and wanted your guidance.

I wish to count a field [Work Day Flag]

Such that all the current selections "do not" affect the count.

For doing that I can use a simple {1}. But moreover I want certain fields to be included for example [Time bucket]={Current} and [Work Day Flag]={0}.

I want your help in creating a Expression that will ignore all the current selections and apply the above selections on the Universal Data set for the application.

All i could try was following: =count({1*<[Time Bucket Type]= {CURRENT},[Work Day Flag]={0}>} [Work Day Flag]) but selections done are changing the count.

Hope I am clear.

Feel free to ask if more information is required to help me create the expression..

Thanks a ton to all for replying.

Saurabh Pandit

Labels (1)
1 Solution

Accepted Solutions
MayilVahanan
MVP
MVP

Hi

Try like this

=count({1<[Time Bucket Type]= {'CURRENT'},[Work Day Flag]={0}>} [Work Day Flag])

Hope it helps

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

View solution in original post

1 Reply
MayilVahanan
MVP
MVP

Hi

Try like this

=count({1<[Time Bucket Type]= {'CURRENT'},[Work Day Flag]={0}>} [Work Day Flag])

Hope it helps

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