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: 
Jason1
Contributor III
Contributor III

Subtotalling a field according to another field

I have the following measure expression in a table chart field in a QlikView model:

=sum (
total <InvoiceNo>
if (
Value > [Value for Customs],
num(Value,'###0.00'),
num([Value for Customs],'###0.00')
)
)

It sums values dependent on another field, InvoiceNo. Whenever the InvoiceNo field has a new value, it does a new sum. For example:

InvoiceNo             Myfield

-------------             ----------

1234                       546

1234                       546

7878                       223

7878                       223

However I want to recreate this functionality in Qlik Sense and it doesn't work at all. Qlik Sense completely ignores the "total <InvoiceNo>" part of the expression and just gives a grand total on every row (using my example above, it would show 769 on every row of Myfield).

Is there some other syntax that would work?

Thanks

1 Reply
tresesco
MVP
MVP

If you are using all same dimensions in the chart, it should work similarly in qlik sense as well. Could you share a sample qvf where we can check the issue?