Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic Table aggr(sum(Amount),Total) Please help

error loading image

Using this function only calculates the first record ...

error loading image



Help please

1 Solution

Accepted Solutions
Not applicable
Author

Thanks John,

You have given me the solution.
But perhaps we can do something more simple.
The divider can leave it with a simple sum.

Thank you very much to all

sum(Amount)/sum(TOTAL<Total>aggr(sum(Amount),Total)



View solution in original post

5 Replies
Not applicable
Author

SUM(Amount) / AGGR(SUM(Amount), Total, Concepto)

Not applicable
Author

Don't work.

Not applicable
Author

Did you tried this ?

Sum(Amount)/Aggr(Sum(All Amount),Total)

johnw
Champion III
Champion III

Perhaps this?

sum(Amount)/aggr(nodistinct sum(Amount),Total)

If it isn't that simple, perhaps this?

sum(aggr(sum(Amount),Total,Concepto)
/sum(aggr(sum(Amount),Total)

Or maybe:

sum(aggr(sum( Amount),Total,Concepto)
/sum(aggr(sum(total <Total> Amount),Total,Concepto)

Not applicable
Author

Thanks John,

You have given me the solution.
But perhaps we can do something more simple.
The divider can leave it with a simple sum.

Thank you very much to all

sum(Amount)/sum(TOTAL<Total>aggr(sum(Amount),Total)