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

conditional subtotal pivot

hi.

is it possible to have conditional subtotaling based on a dimension?

for example i have two article types seperated by the first digit, i.e 9001, 8001.

when the article type = left(Articletype,1) = '8' i wish to supress totals or show 0 in the total cell, however when left(Articletype,1) = '9'

i wish to show the total in the Total cell.

i have attached my document for more insight.

Best

Brad

Labels (1)
1 Reply
swuehl
Champion III
Champion III

I get an error opening your app, but anyway, I think you can't hide / disable subtotals based on dimension values.

You can however use dimensionality() / secondarydimensionality() in your expression to check if your expression is evaluated in subtotal context, then use a condition on Articletype to create what you want.