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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
johngouws
Partner - Specialist
Partner - Specialist

Aggr in Calculated Dimension v Expression

Good morning,

I am having an issue achieving the required result in a Calculated Dimension.

In the attached qvw there are 3 objects on the left, straight tables, using aggr in the expression. Regardless of which Dimensions are used, the result is correct and balances to the sample report.

However, what I am trying to achieve is get the same result, as a single number, at a "Group" level, in a calculated dimension, in the straight table on the right.

I appreciate any and all suggestions in this regard.

Thank you in advance - John

1 Solution

Accepted Solutions
Anonymous
Not applicable

Try as your calculated Dimension:

=AGGR(SUM(Aggr(

If(sum((Qty * Value) + Debits + Credits) > 0,  Sum(OpeningFloat) ),

Group, Property ,Name)),Group)

View solution in original post

2 Replies
Anonymous
Not applicable

Try as your calculated Dimension:

=AGGR(SUM(Aggr(

If(sum((Qty * Value) + Debits + Credits) > 0,  Sum(OpeningFloat) ),

Group, Property ,Name)),Group)

johngouws
Partner - Specialist
Partner - Specialist
Author

Hello Michael.

Thank you, that works perfectly.

John