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

Need tips on pivot table sum or sum of dimension in pivottable

Hi,

I have the following pivottable as shown below. My challenge here is that Open Order Qty should ideally only be shown one time per position in the pivottable. Open order qty for one position can be split into several deliveries (supply qty).

So either I need:

1) To make total sum of Open Order Qty of dimension, or

2) Find a way to show Open Order Qty only one time per position in the pivot table expression.

Pivottable.PNG.png

Any input highly appreciated.


Best regards,
Freddy

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be like this? PFA

View solution in original post

8 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

you could try something like

if(Alt(RowNo(), 0) = 0 or RowNo() = 1, Sum(OpenOrderQty))

Not applicable
Author

Hi, I tried to copy this formula but it did not work. Get the same result as shown in the picture.

CELAMBARASAN
Partner - Champion
Partner - Champion

could you please attach a sample?.

Not applicable
Author

Here is a sample data set.

tresesco
MVP
MVP

May be like attached sample? It is all about placing at the right position.

Not applicable
Author

Thanks, but what I am trying to achieve is that the total sum of all open order qty fields should match the sum of every field.

So if you look at open order qty in the dimension part - it is possible to export to excel and sum this correctly. The result will be 130. If you look in the expression part the sum total is correct in the pivot table (130) but it is confusing that if you sum the fields you get 170 which is because open order qty is shown for every record.

tresesco
MVP
MVP

May be like this? PFA

Not applicable
Author

Thanks a lot! That did it!