Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

difference between two sets

I have the following table:

Grouplocationcostperson
1IL324james
1IL2342cath
2IL234any
2IL234ben
3CA244dur


Using set analysis I have calculated the total cost per location and I am displaying this in a straight table.

If I now want to show the total cost per location per group for two groups at a time, how do I do it?

also how do I find the difference between the groups?

Thanks

2 Replies
swuehl
MVP
MVP

I assume above explains your data model table.

It's quite unclear to me why you are using set analysis to show a total per location - it should be sufficient to just group by location (i.e. use location as dimension).

It's probably better if you can post a small sample app together with your expected outcome.

Not applicable
Author

try unsing a sum or pivot table with the

- dimensions Group and Location

- expression "sum(costs)"