Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum of Rows in Text Box

Hi ,

Is there anyway to replicate the Sum of Rows in a Straight chart into a Text Box.

The problem I am facing is,the Total of an Expression is different when you individually calculate the expression for each quarter.

Any help would be greatly appreciated

13 Replies
Not applicable
Author

Sorry Sunny....tried that but it returns 0 for some reason.

sum(aggr(sum({<Scenario={'Actual'}>}Clms_Vol)*sum({<Scenario-={'Actual'}>}Unit*sum({<Scenario-={'Actual'}>}UnitPrice)),Quarter))

The above is what I require,unfortunately its not giving any output

sunny_talwar

I don't know if this is a copy paste error, but you are missing a parenthesis here:

Sum(Aggr(

              (Sum({<Scenario={'Actual'}>}Clms_Vol) *

              Sum({<Scenario-={'Actual'}>}Unit) *

              Sum({<Scenario-={'Actual'}>}UnitPrice)),

      Quarter))

Not applicable
Author

its not taking the third expression for some reason

Not applicable
Author

I think,it was the problem with the fields and the setanalysis condition....but it works fine now...Thanks Sunny