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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to Sum off categories inside a column

Question -

I have some HR data coming in and I need to create a chart that shows the sum of all IT Team Members.  Currently my data is coming in as follows.  How can I create a chart that shows only the count of IT-Team Member?  I also have a month field that would be used as my Dimension.

Person TypeCount
Team Member30
IT-Team Member5
IT-Contractor2
Contractor10
Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Or Sum({<[PersonType]={'IT-Team Member'}>} [Count])

View solution in original post

9 Replies
Not applicable
Author

I guess the better question is how can I write the expression, I know how to create a chart....

Not applicable
Author

How many members are there in the IT team. If it is not a lot then you can hard code them in set analysis.


Thanks

Not applicable
Author

At the moment there are 200 or so but it changes every month.

Not applicable
Author

I mean how many person types.

Not applicable
Author

There are only 4 different person types.  Team Member, IT-Team Member, IT-Contractor, and Contractor.

Not applicable
Author

count({<[Person Type]={'IT-Contractor', 'IT-Team Member'}>} [Person Type])

Not applicable
Author

That is close but that returns the count of the appearance of IT-Team Member and IT-Contractor.  I need the sum of the count field for every line where the person type is IT-Team Member or IT-Contractor.  They could be separate from each other.

Not applicable
Author

I think this might be it.

Sum({<[PersonType]={'IT-Team Member'}>} [CountOfTEXID])

Not applicable
Author

Or Sum({<[PersonType]={'IT-Team Member'}>} [Count])