Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all
I have a DB with differents dimensions regrouped in a key as attached, trying to apply a YTD rate to all month depending on a selction, please see attached for DB and result i am looking for.
I tried by aggr but i can not figure out
Thanks a lot
Please share your expression
Or may be try this
Only(
Total
Sum({<DateField = {"<=$(=vMaxDate)", ">=$(=YearStart($(vMaxDate)))"}>} Measure)
/
Sum({<DateField = {"<=$(=vMaxDate)", ">=$(=YearStart($(vMaxDate)))"}>} DenominatorField)
)
I recommend looking at this downloadable example.
Hello Chanty4u
I do not have expression working, just tested wo sucess. My example of pivot result and DB is attached if you have time
Best