Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Partial sum is zero in Pivot Table

Hi Friends

Why partial sum for "Total Sale" is 0 ?

1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like this

= If(RowNo() = 0 or IsNull(RowNo()), Num(Sum(Aggr(Sum({<YearMonth={"=YearMonth"}>} Foroosh)* (Fe),CodeKala)),'###,###,###.#0'),  Sum({<YearMonth={"=YearMonth"}>} Foroosh)* (Fe))

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

5 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

go to chart properties --> Expression tab --> select sum of rows in total mode

Regards

ASHFAQ

Not applicable
Author

Hi Mohammed

Total Mode is disable (grey) in Expression tab.

ashfaq_haseeb
Champion III
Champion III

try below

=(Sum({<YearMonth=YearMonth>} Foroosh))*(sum(Fe))

Regards

ASHFAQ

MayilVahanan

Hi

Try like this

= If(RowNo() = 0 or IsNull(RowNo()), Num(Sum(Aggr(Sum({<YearMonth={"=YearMonth"}>} Foroosh)* (Fe),CodeKala)),'###,###,###.#0'),  Sum({<YearMonth={"=YearMonth"}>} Foroosh)* (Fe))

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thanks , Dear Mayil.