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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Cobwebs of Set Analysis

Hi guys,

Could some of you help me to understand one thing. I need to count a quantity of CaseId in appropriate month, where CaseId were in previous month. I have variable vOneMonth which define previous month, but anyway the end result isn't correct. For example, for period 2012-04 the result should be 0 because we don't have previous period 2012-03. Please help!!!

3 Replies
fosuzuki
Partner - Specialist III
Partner - Specialist III

What if you do the logic in the script?

Check the attached qvw.

Hope this helps

Fernando

Not applicable
Author

Hi,

You can change your set anaysis for one and two.

count({$<Period = {"=$(vOneMonth)"}>} CaseId)

count({$<Period = {"=$(vTwoMonth)"}>} CaseId)

Regards,

Janzen

Not applicable
Author

The common problem is that i need to calculate quantity of unique CaseId for 3 month (in dimension period + 3 period above).

http://community.qlik.com/message/271888#271888