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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
jdmarlin
Contributor III
Contributor III

Set Analysis | Dimension1 = Dimension2

Hello,

I'm trying to do a set analysis where one dimension equals another. So in the sample below I want three results (in bold) to show up:

     

YearProductCustomerSubCustomerBalanceCorrect Results
2015115920000052000005-50000000-50000000
2015115920000072000005-640500000
2025115920000052000007-500000000
2025115920000072000007-64050000-64050000
2025115920000052000005-50000000-50000000
2025115920000072000005-640500000

I've tried Sum({<Customer=P(SubCustomer)>} Balance), but that doesn't seem to work.

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Set analysis is evaluated once per chart, not per dimension line.

=Sum( If(Customer = SubCustomer, Balance))

View solution in original post

1 Reply
swuehl
Champion III
Champion III

Set analysis is evaluated once per chart, not per dimension line.

=Sum( If(Customer = SubCustomer, Balance))