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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
johnhorneramllp
Partner - Contributor III
Partner - Contributor III

Set Analysis - restricting other sub-selections on other fields

I have what appears to be a very simple Set Analysis requirement that i cannot seem to get to work the way i would like. In the attached document i would like Measure 1 A to always total 11 and always show the rows for Dim2 = AAA = 5 and Dim2 = BBB = 6. My Set Analysis is very simple, Sum({<Dim1 = {A}>} Measure1). This works fine for all selections in Dim1, however as soon as i select Dim2 = AAA then i lose the results for Dim2 = AAB, even though AAB is still part of the Set Dim1 = A.

I know i can fix this by adding a SET for Dim2 = {*} but in the real world that would mean that i would have to add a similar set for every field in which the user could possibly make selections and this i do not want to do.

Anyway, perhaps somebody has a better idea of how to do this than me.

John H

2 Replies
Not applicable

If you want it to alway show the same results, force it to all data:

Sum({1<Dim1={A}>} Measure1)

johnhorneramllp
Partner - Contributor III
Partner - Contributor III
Author

Thanks Tom, every day is a school day!

Regards

John H