Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a problem with the aggr function
I have the following chart:
where
DíasPagoPP = (suM(ImportePago)/sum(total ImportePago)) * (only(FechaPago)-only(FechaPresentacion))
I need a table only with the dimention: Mutual and the expresion DiasPagoPP
Mutual | DiasPagoPP |
28 De Octubre | 128,11 |
Mutual2 | 93 |
Mutual3 | 63 |
… |
Any idea??
Thanks!
if you Need the other expressions for calcualting, you may hide These expressions
(only possible if you use straight table)
what is Mutual2 and Mutual3?
thanks Rudolf for your quickly response.
I need to create a new chart only with de dimension Mutual and de expresion DiasPagoPP to compare the "DiasPagoPP" by Mutual...
Mutual2 and Mutual3 are fake names of Mutual. I used only as example.
Thanks again
I am not sure if I understood correct?
WHat if you define a new table (or Chart) just with the Dimension Mutual and the expression
DíasPagoPP = (suM(ImportePago)/sum(total ImportePago)) * (only(FechaPago)-only(FechaPresentacion))
you should get 1 line for your example above with
Mutual | DiasPagoPP |
28 De Octubre | 128,11 |
as Well as other "mutual values"
Usually you wrap the expression in an Aggr and add the excluded dimensions into the Aggr() function as parameter 2, 3 and more if necessary.
Aggr( <your-aggregate-expression-goes-here> , Dimension2, Dimension3 , .... )