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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Subtotal headings

I am trying to make a table, which looks like the example in the attachment:

I have also included an example of the data. Basically I am trying to include subtotals, which I would like to lay out.

Thanks!!

example.bmp\

1 Solution

Accepted Solutions
Not applicable
Author

Wouty,

  You need to have to  have at least 2 Dimensions and Pivot table for such presentation.

Once you have made chart, just go to properties ---Presentation (Just below Dimensions)

Here check box for Partial Sum for desired Dimension and Give name of Subtotal.

Regard

View solution in original post

4 Replies
stigchel
Partner - Master
Partner - Master

Expand the expression (by clicking the '+' sign in front of it) in your qlikview table to edit e.g. the background color. Here you can use the fact that the rowno() propertie of (sub)totals is 0.

=if(rowno()=0,rgb(0,0,255),...)

Not applicable
Author

Wouty,

  You need to have to  have at least 2 Dimensions and Pivot table for such presentation.

Once you have made chart, just go to properties ---Presentation (Just below Dimensions)

Here check box for Partial Sum for desired Dimension and Give name of Subtotal.

Regard

Not applicable
Author

nice! I overlooked partial sum!

fernandotoledo
Partner - Specialist
Partner - Specialist

You can use a mapping dimension that will work like this:

sales:

Load * inline [

     SalesMan, Value

     A, 10

     B, 15

     C, 30

     D, 40

];

report_formatting:

Load * inline [

     Report, SalesMan

     A, A

     B, B

     C, C

     D, D

     Total, A

     Total, B

     Total, C

     Total, D

  ];

In your chart you can use the "Report" dimension and then make the configuration suggested above by Stigchel

Regards,

Fernando