Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello:
I have this expresion
= max(aggr(sum(Sales), YYYYMM)
and I get the bigger sales amount grouped by month (YYYYMM); now I need a second expression to get the asociated YYYYMM value.
Please, could you help me?
Thank you
Joaquín
Maybe something like:
firstsortedvalue(YYYYMM, -aggr(sum(Sales), YYYYMM))
Hope this helps!
Maybe something like:
firstsortedvalue(YYYYMM, -aggr(sum(Sales), YYYYMM))
Hope this helps!