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

Add a summary column

Hello everyone,

I created a PivotChart that gives me the numbers of purchase order and products ordered, in column months and under each month the quantities ordered and quantities delivered, how I can add a column that calculates the remainder (sum quan  ordered - sum quantity delivered ) But this column of remaining should not be repeated every month but rather a single column at the end of the table


thank you

                                                 

Monthjanv-16févr-16remaining
N° POProductquantity ordered quantity deliveredQuantity orderedquantity delivered
1A2001002000300
2B20050050100
3A2005020050300
3B2000050150

Ce message a été modifié par : Zoubir Bouchenafa

1 Solution

Accepted Solutions
bgerchikov
Partner - Creator III
Partner - Creator III

Try Calculated Dimension:

It will give one single coulmn.

=Aggr(rangesum(sum (Amount ordered) , - sum(quantity delivered),Produit,MonthYear)

View solution in original post

11 Replies
bgerchikov
Partner - Creator III
Partner - Creator III

Try Calculated Dimension:

It will give one single coulmn.

=Aggr(rangesum(sum (Amount ordered) , - sum(quantity delivered),Produit,MonthYear)

Not applicable
Author

‌=Aggr(rangesum(Sum(quantits ordered)-Sum(quantity delivered),Producit,Month)).  It always gives me Error in expression

tthank you for your help

bgerchikov
Partner - Creator III
Partner - Creator III

Check syntaxis:

=Aggr(rangesum(

(quantits ordered)

,

-1*(quantity delivered)

)

,Producit,Month)

Not applicable
Author

‌it calculates but for each month

bgerchikov
Partner - Creator III
Partner - Creator III

Try to add if condition and / or disregard nulls in the chart

Not applicable
Author

‌I'm still beginner on Qlikview , can you explain more plz

bgerchikov
Partner - Creator III
Partner - Creator III

Check this box in Dimension Tab

Not applicable
Author

‌but value is not null so it will not be supressed

volakakis
Contributor II
Contributor II

Maybe try another approach since your data is in columns not in rows . Try a cross table? (sorry myself am a newbie but my instructor said that the best way is to keep data in rows not columns)