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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

aggr help

Hi all,

i have an issue (attached)

2 bases with 3 common dimension names and i need in a table, which i use another dimension, to put a sumprod (of each item) between 2 other dimensions - Value1 & Value2 named in the example attached.

can anyone help please?

Thanks in advance!

Cosmin

7 Replies
sunny_talwar

Are you trying to get this?

Capture.PNG

Used Sum(Value1*Value2) in a pivot table with Department and Year as dimension

Not applicable
Author

i reattached the excel source and it have also the results which i need (please reload it, i edited the figures a little bit, there where identical)

thank you!

Anonymous
Not applicable
Author

like this?? didn't reload the latest data, but got the output you need. you can reload.

Not applicable
Author

please give the expression as text in message, i use the free version

thanks

Anonymous
Not applicable
Author

create a pivot table with Department as row dimension nd year as column dimension.

Use expression = sum(value1*Value2).

Go to presentation and check partial sums for both Department and Year.

Will result in below.

Capture.PNG

Not applicable
Author

please reload my last excel..there are the results too

it doesn't work sum(value1*value2)

for B-2017 has to be 100 in your table, but pls reload the last excel.

many thanks!

Not applicable
Author

with this works when i select an item ..C for example but if there is no selection it doesn't work properly

=sum(aggr(sum({<Year={'2017'}>}Value1*Value2), ID))