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

Conditional Partial Sum

Hi all,

Is it possible to get the partial sum of dimensions in a pivot table on conditions?

For an example I have 3 dimensions and want to get the partial sums on conditional base according to the preference.

Thanks in advance.

Rgds,

Dinu1

5 Replies
settu_periasamy
Master III
Master III

May be you can create another 3 dummy dimensions (with blank label name) and put your Expression in Enable Conditional box. Then, Show partial sum for these 3 dummy dimensions only. But this will show extra columns in your chart. you can adjust your column width..

Instead of this, May be you can create two charts (Straight and Pivot)  and show/hide based on your preference.

Edit

You can create your same 3 dimension (twice) and one with conditional based with show partial sum and another one is normal..

PradeepReddy
Specialist II
Specialist II

try the solution provided by by settu.periyasamy..  it will work..

dinuwanbr
Creator III
Creator III
Author

Hi,

Thanx for your response. But in actual scenario i have more than 20 dimensions and its a ad-hoc table. So this won't be the solution that i'm looking to.

Thanx and Rgds,

Dinu1

Anonymous
Not applicable

(SUM(COLUMN NAME=('VAULE ')SALES)+SUM(COLUMN NAME=('VAULE ')SALES))-SUM(COLUMN NAME=('VAULE ')SALES)

settu_periasamy
Master III
Master III

Let us know, if you found any good solutions.

may be check the attachment..