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 - Pivot Table

Hi Everyone,

I'm creating a pivot table with two dimensions X and Y and then I'm doing counts of Z. But what I really want to be doing is percentages with respect to X. So my expression would be Count(X=x and Y=y, Z) / Count(X=x, Z). I've tried to do: Count(Z) / (Count({$<Y=>} Z), but that just returns 100% for everything.

Any help would be appreciated.

Thanks,

Rebecca

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try the TOTAL qualifier ,something like

=count(z) / count(total<x> z)

View solution in original post

2 Replies
swuehl
MVP
MVP

Try the TOTAL qualifier ,something like

=count(z) / count(total<x> z)

Not applicable
Author

Thank you so much!