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: 
Not applicable

Set Analysis to ignore a chart dimension?

Hello all,

I want to answer the question: "What percentage of Accounts with DimensionA also had DimensionB?"

I'm trying to create a table chart that looks like this:

DimensionA

DimensionB

Expression1 = Count(Distinct ACCOUNTNUMBER)

Expression2 = [count distinct accountnumber for data that matches DimensionA but ignores DimensionB]

Expression3 = Expression2 / Expression1.

As you can see, I'm stuck on Expression2.

I know that I can use Set Expressions to ignore SELECTIONS like so:

=Count(distinct {$<DimensionB=>}AccountNumber)

...but this doesn't carry over to chart dimensions. Any suggestions on how to model a set expression (or something else) to get what I want?

1 Solution

Accepted Solutions
swuehl
MVP
MVP

=Count(TOTAL<DimensionA> distinct AccountNumber)

Use the TOTAL qualifier instead set analysis to ignore a dimension.

View solution in original post

2 Replies
swuehl
MVP
MVP

=Count(TOTAL<DimensionA> distinct AccountNumber)

Use the TOTAL qualifier instead set analysis to ignore a dimension.

Not applicable
Author

Thank you very much for your swift and accurate response!