Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Not applicable

Sum Total Wrong Amount

I try to use expression to do my condition and after sum out my figure and found that the NewQty sum is not correct

Hope that some one can help me on it.

Many Thank


2 Replies
Contributor III

Re: Sum Total Wrong Amount


     Hope the attached image file will have the solution for your problem.

     In table properties ---> Expression--> Total Mode ---> Select Sum of Row Total instead of Expression Total.



Not applicable

Re: Sum Total Wrong Amount

Thank Ashok for your reply,

but what is the different if between Expresion and total mode?

On my Total of QTY that is correct.

And i found Qlikview don't allow me if i use expression as a field for doing my condition set.

example for below, sample B and C is workable but the sample A will show me an error "bad fields name "Level""

mean system not allow me to sum if "Level" is not a field. Any idea?

sample A

Sum(if(Level = 'A', (Qty)))

Sample B

if (Level = 'A', sum(Qty))

Sample C

sum(if(Item = 'A1',Qty,))