Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
keerthika
Creator II
Creator II

Subtotal in Straight table

Hi All,

How to show subtotal and percentage in straight table ?

 

a1
a2
a3
Total6
Percentage 23%
b1
b2
b3
b4
Total10
Percentage 38%
c1
c2
c3
c4
Total10
Percentage 38%

Can any one say how to show the above data in straight table.

Thanks in advance,

Keke

5 Replies
jobsonkjoseph
Creator III
Creator III

If i'm not wrong, sub totals can be achieved using pivot table not straight table.

keerthika
Creator II
Creator II
Author

Hi ,

Is there any way to show in straight table

jensmunnichs
Creator III
Creator III

You can show the subtotals in a pivot table quite easily, but then you wouldn't be able to see all the individual values. If you want to display all values as well, I think you'll have to use a pivot table and give all your rows some sort of unique identifier (otherwise the data will automatically group).

If you don't want to add an identifier, you can do what I did in the attached file and 'hide' the identifier using the dual() function in script.

EDIT: I forgot to enable subtotals in my attached file, just enable 'show partial sums' for [RealID] in the presentation tab in the properties menu for the pivot table.

jobsonkjoseph
Creator III
Creator III

Ok, try this,

goto properties> Dimention Limits Tab>

here select the dimension you want subtotal for, down below in "options", check "Show Total" and in label type "subtotal".

this might give you the result you are expecting. Other than this there is no way subtotals can be shown in straight table.

Frank_Hartmann
Master II
Master II

is this what you are looking for?

Unbenannt.png

see attached file.

hope this helps