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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis Issue

Hello...I'm trying to use set analysis to display Prior Headcount in a headcount movement report:

Region

Prior Heacount Attrition Hires Net Other Total Delta Current Heacount

Business

Attrition, Hires, Net Other, Total Delta, and Current Heacount are all driven off the current month's data. For Prior Headcount, I'm using Set Analysis as follows:

Count({1<Month_Num={$(#=Month_Prev)},Description={'Constant','Hire','Other Adds','Transfer In'},[Employee_Non-Employee]={'Employee'}>}Current_Count)

The problem I'm having is if the user selects Business or Region to filter the report, all Businesses and/or Regions continue to display on the report. I believe this is happening because I'm doing the count on the entire data set. How can I get QV to respect the Business and Region selections even if I'm using 1 for the Set Identfier? Thanks.











2 Replies
Not applicable
Author

What is the reason for using 1 in the set analysis. Not sure whether I am getting your data model. Can you post an example

Nmish

Not applicable
Author

If we are looking at December movement, the Prior Headcount column is actually coming from November data. Since December is selected, I figured that in order to count November headcount, Set Identifier needs to be set to 1 so that the current selection is ignored.