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

Hi all,

I am very new into Qlikview I want below statement in set analysis How to achieve it

Total no. of call logs where Category = SDS* , Month = open date and Resolve date = current month


count({....>}[Call Log ID])



Thanks



Labels (1)
18 Replies
Not applicable
Author

I think you do not have a field name called Month. Can you cross check?

quick tip: avoid using built-in field names

mrossoit
Creator II
Creator II

Upload your qvw. It will be easier and faster to help you.

Anonymous
Not applicable
Author

PFA...

Not applicable
Author

Try:

=count({<Category={'SDS*'}, MonthName={"=$(vDumpOpenDate)"}, [SSR Resolve Date]={"=$(vMaxMonth)"}>}[Call Log ID])

Not applicable
Author

This is giving 0 as result, because for MonthName = Mar you have no SSR Resolve Date for the month of May.

Anonymous
Not applicable
Author

{"=$(vDumpOpenDate)"} why we used "" here


can we use '' ?

Anonymous
Not applicable
Author

but SSR Resolve Date i have data for Mar then y its getting 0

Not applicable
Author

Single quotes are used as literals, so for evaluation we use double quotes.

for more details check: A Primer on Set Analysis

Hope this was helpful or correct.

Thanks,

Singh

Not applicable
Author

You have data for Mar but the variable you used is : vMaxMonth which has May as the value. That is why you are getting zero.