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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
rwunderlich
MVP
MVP

Interval Match two periods

I'm trying to do an IntervalMatch (or set analysis alternative) to be able to determine a headcount for any given date. A sample qvw is attached.

On any given date, I should be able to get a count of DISTINCT EmpKey for any combination of Dept and Status. It kind of works with IntervalMatch, but it will be messy when I try to scale it up to 50k employees.

Any other solutions, or a cleaner IntervalMatch?

Thanks,

-Rob

Labels (1)
2 Replies
Not applicable

Hi Rob,

Did you ever get anywhere with this?

Regards,

Neil

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Rob,

tough case... sorry, haven't seen your question before... I assume you found one solution or another by now.

I'd consider concatenating Activities and Locations into a single table (with the same names for StartDate and EndDate fields) and differentiating between the two types of data using flags. This way, you only need a single INTERVALMATCH, and the whole picture might become a bit less ugly...

just a thought...

Ask me about Qlik Sense Expert Class!