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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
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

Labels (1)
5 Replies
Anil_Babu_Samineni
MVP
MVP

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
MVP
MVP

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
MVP
MVP

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