Forum Discussion
hardcode last month date
HI,
thanks alot for the quick reply!!
I have tried your measure but for the future months, it still calculates a moving "previous month".
What I would like is that in Jun, jul , aug ,sept.... it should only filter by MAY. i.e all the months going forward I would like to show a static MAY. The background is that I am calculating an allocation key based on trends for the past 6 months. And I would like to use a static allocation key (MAY) for all the months going forward for the rest of the year.
Hi Anonymous ,
Did you try my measure?
Best Regards,
Dedmon Dai
- Anonymous5 years agoNot applicable
Hi dedmon,
thanks alot for your suggestion but your measure results in a "moving month" as well. I need the month to be static for the rest of the year. meaning if its july now then we should filter june for the rest of the year. but when we move into aug, we should filter july data and use that for the rest of the year. like a drag on formula.
- Anonymous5 years agoNot applicable
- Ashish_Mathur5 years ago
Super User
Hi,
Refer to this article - LASTNONBLANK Explained