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: 
qw_jakub
Partner - Contributor III
Partner - Contributor III

Set analysis on possible values

Hello,

I need two calendars to be alway set on the same days. I can not use just one, because it creates a loop.

The user should filter in Calendar_1 and Calendar_2 should be automitaclly filtered in the same way

I have tried a set expression like this:

= count({$<[Date_Calendar_2] = [Date_Calendar_1]>} distinct item_id) ,

but this works only if the user selects a date in Calendar_1 not if he selects a Month, or a Year.

Is there a way to make a set of dates in Calendar_2 of all possible dates values in Calendar_1?

Thanks for any tips!

J.

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

have you tried this?

= count({$<[Date_Calendar_2] = p( [Date_Calendar_1] ) >} distinct item_id)

View solution in original post

2 Replies
swuehl
Champion III
Champion III

have you tried this?

= count({$<[Date_Calendar_2] = p( [Date_Calendar_1] ) >} distinct item_id)

qw_jakub
Partner - Contributor III
Partner - Contributor III
Author

Thanks, this was it. I just recalled the p idenitfier myself.

This works.