Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
anriretief
Contributor III
Contributor III

summing an equation

I would like to sum the following equation ([VERVOER-TARIEF] + VERVOER)*[FAKTUUR MASSA]/1000

I have tried the regular summing function but it doesn't seem to work

There is also a condition on this sum: [TIPE GRAAN] not equal to 'WITMIELIES'

Can someone please help me with this

5 Replies
Anil_Babu_Samineni

Sum Aggregation only works Numeric not for characteristics. So, You would need this if it is number

RangeSum([VERVOER-TARIEF], VERVOER)*([FAKTUUR MASSA]/1000)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
anriretief
Contributor III
Contributor III
Author

Thank you!

It works, I appreciate your help

marcus_sommer

I assume that you need something like this:

sum(aggr(

sum({< [TIPE GRAAN] -={'WITMIELIES'}>} ([VERVOER-TARIEF] + VERVOER)*[FAKTUUR MASSA]/1000),

YourChartDimensions))

whereby the aggr is only needed if you want to display partial sums or totals.

- Marcus

anriretief
Contributor III
Contributor III
Author

THANK YOU!

Anil_Babu_Samineni

You can flag "Correct answer" follows Qlik Community Tip: Marking Replies as Correct or Helpful

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful