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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
rahulsud007
Creator
Creator

Sum of Average

Dear All,

I need to find sum of all the average which I have calculated and Multiplied by previous coloumn

In the below application the 0-1 value field calculates the average amount and multiplied by Quantity and I would need sum as shown in the image.

Please Help ..:)

6 Replies
mohamed_ahid
Partner - Specialist
Partner - Specialist

hi

use column(n) .

exemple :your total column will be like : column (1) + column (2) ....

rahulsud007
Creator
Creator
Author

Hi,

Here i am not saying about sum of just that particular coloumn in the image u can see total 4,4524 for sum from 0-1M

but v need 8167

mohamed_ahid
Partner - Specialist
Partner - Specialist

like this ?

rahulsud007
Creator
Creator
Author

Hi Ahid,

Bit similar but if calculate the sum is wrong it should be 8637.

jonathandienst
Partner - Champion III
Partner - Champion III

Use this syntax

=Sum(Aggr(<your average expression here>, <chart dimensions>))

<chart dimensions> is a comma separated list of the dimensions  from your chart or table.

For example

=Sum(Aggr(Avg(Amount), Customer, Month, Year))

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
rahulsud007
Creator
Creator
Author

Hi Jonathon,

I have tried this expression it gives me '0' as value. May be it is because I am using Pick Match in my expression so

For the Sum field it is not taking as Dimension.