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: 
Not applicable

Aggregate dimension

Hi,

I was wondering if it is possible to achieve the following.

QlikView_Aggregate.png

I tried using the following formula, but I did not work...

aggr(sum({$<[Employee]={'TR','DB','EFR','NVP','ERB','WV','LC'}>}

[Job Duration Minutes]),

[Employee],[ID])


Thanks!

Maarten

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Hi Maarten,

I think it's possible. You'll probably have to use the total modifier keyword in the sum expression. Note, you would have the value 525 displayed on two rows. The cells of the two rows involved won't be merged. Can you post an example document? See: Preparing examples for Upload - Reduction and Data Scrambling

regards,

Gysbert


talk is cheap, supply exceeds demand
Not applicable
Author

Dear Gysbert,

Thanks a lot for your quick reply.

Is there any chance that the two cells can be merged in some way?

I don't want to end up with two cells displaying 525 (giving the impression that in total for a certain project id 1050 minutes have been logged).

For what concerns uploading the cloud: I'm affraid my employer will not be happy when putting the cloud online (even with scrambling) but I can isolate the problem in a new cloud if that would help.

Kind regards,

Maarten

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

No, it's not possible to merge cells. You could try creating a calculated dimension. That would behave like other dimensions in a pivot table and show merged cells. It would however be displayed as a column left of the expression columns like the other dimensions. Qlikview is not a spreadsheet program so it doesn't support all the fancy cell based trickery that Excel allows you.


talk is cheap, supply exceeds demand