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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sreenivasareddy
Contributor II
Contributor II

Hide subtotals in pivot table

Dear All, I have a requirement as follow
in qlikview pivot table I want to show sub titles only for
Column2 (A & B (shown in blue color))  and   hide sub titles for  Column2(B to N (shown in red color)). Cn you please help me.

 

 
 
Column1Column2Column3Sales 
aaaAA10.1 
A24.0 
A320.7 
A44.8 
A50.0 
A60.0 
Total29.5 
BB10.0 
B20.4 
B30.0 
B40.0 
Total0.4 
C 0.1 
DTotal0.1 
E 0.0 
FTotal0.0 
G 0.0 
HTotal0.0 
I 0.0 
JTotal0.0 
K 3.4 
LTotal3.4 
M 23.8 
NTotal23.8 
    
1 Solution

Accepted Solutions
marcus_sommer

You could try it with an approach to NULL those rows by querying the dimensionality(), maybe with an expression like:

if(match(Column2, 'A', 'B'), sum(Sales), if(dimensionality() = 1, null(), sum(Sales))

- Marcus

View solution in original post

2 Replies
marcus_sommer

You could try it with an approach to NULL those rows by querying the dimensionality(), maybe with an expression like:

if(match(Column2, 'A', 'B'), sum(Sales), if(dimensionality() = 1, null(), sum(Sales))

- Marcus

sreenivasareddy
Contributor II
Contributor II
Author

Thank you very much Marcus it's resolved my problem.