Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Community,
Here I have some problem in my pivot table dimension.
I want to remove last n months form sale month dimension in pivot table
If months are more than 12 ,so Sale Year should be remove.
please find attach image for more clarity.
thanks in advance.
Regards
R.Kumar
Hello Raman,
Try this:
sum({<nData={'>=$(=num(addmonths(Today(),-$(MIS))))<=$(=num(Today()))'}>}Expression1)
nData = numeric date
What exactly are you trying to remove? Can you elaborate what the result needs to look like?
hi sunny ,
sorry I attached wrong attachment ,
in my pivot table I am showing sell out where I want to remove n sale months sale out details from pivot table.
ex- I have one filter MIS have values 3,6,12 and 24
If I select 3 in MIS last three sale (From Current month) months Sell out should not come.
Regards
R.Kumar
Hello Raman,
Try this:
sum({<nData={'>=$(=num(addmonths(Today(),-$(MIS))))<=$(=num(Today()))'}>}Expression1)
nData = numeric date
thanks Fernando,
This expression really helpful to make right one.