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: 
Gal123
Contributor II
Contributor II

Average Calculation by 3 dimensions

I'm trying to get an average value by 3 dimensions but failing to do so.

Adding an example of the data and the expected result:

 

GalK83_0-1693225266328.png

As can be seen in the screenshot I'm trying to get the average size for each Warehouse by each month.

The calculation is based on (Quantity * Size )/(Total Sum of Quantity Per month).

I have tried different versions of AGGR but failed to get the expected result.

Can anyone assist?

 

Thanks

 

Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

I only see two dimensions in your example, but this seems like it shouldn't need any aggr():

Sum(Quantity*Size) / Sum(Quantity)

Or_0-1693226026016.png

 

View solution in original post

1 Reply
Or
MVP
MVP

I only see two dimensions in your example, but this seems like it shouldn't need any aggr():

Sum(Quantity*Size) / Sum(Quantity)

Or_0-1693226026016.png