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

Subtotal of pivot table depending on row number

Hi All,

is it possible to have conditional subtotals based on number of rows?

In the example below the state "California" has two rows, so it's correct to show the subtotal (Total=1704210,80), instead for the state "Colorado" I don't want to show subtotal (Total=448301,50).

Probl.PNG

Could you help me?

Thanks & Regards,

Simona Arnone

2 Replies
amit_saini
Master III
Master III

Hi,

Check if this will help u:

https://community.qlik.com/message/414232#414232

Thanks,

AS

Not applicable
Author

Hi,

I have tried to find a solution in this way (ColumnC), so I wrote the expressions of pivot table.:

Last.PNG

I used the NoOfRows() function, but I have no idea how to get in a single column the result of A and C Column.

Thank you for your reply, but I didn't unsterstand how to use the Dimensionality  function in this case.

Thank you so much!