Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
I want to make a pivot chart that show me the sales of each store, but only I want to view the stores that have more than $ 800 in the last week based on today (no matter the filters I use on dates).
I try to make the next calculated dimension but the system give me an error:
=If(Sum({<FECHA = {">=$(=WeekStart(Date(Today()-7))) <=$(=WeekEnd(Date(Today()-7)))"}>} TOT_COMISION_COMPARTIDA) > 800, TOT_COMISION_COMPARTIDA)
Somebody have a better idea
Best Regards
Try to put it in an Aggr() function.
Hope this helps
Where I need to put it??
=If(Aggr(your function(), Dimension), Dimension).
It not send me an error, but not display me the stores, only leave in blank the dimension
Try this may be:
=If(Aggr(Sum({<FECHA = {">=$(=WeekStart(Date(Today()-7))) <=$(=WeekEnd(Date(Today()-7)))"}>} TOT_COMISION_COMPARTIDA), SomeSortofStoreID) > 800, TOT_COMISION_COMPARTIDA)
Nop is not working
Can you post a sample dataset if it is not confidential?
Thanks
Hi,
one solution could be:
hope this helps
regards
Marco