Hi Team,
I have a list of dates and I now need just rolling 12 months data and rest needs to be filtered out.
Can you please fix me, please?
Solved! Go to Solution.
Hey @mmustkee, the following Filter will leave you with all records that are on or after a year ago today:
Everything else will be dropped out of the False (bottom) anchor.
Hi
Thanks for your reply.
The date should start from Apr 22 to Mar 23. but the result shows below. I actually want previous 12 months data. Let's say we have Mar_23 as End month in the current file. So the data should reflect from Apr_22 to Mar23.
Ah okay @mmustkee, I hadn't realised you wanted to base it on the Max Date in the data itself. In that case, I would first find the Max() of your [STD Date] and then append it to your data:
You can then use the following expression:
DateTimeTrim([STD Date],'firstofmonth') >=
DateTimeAdd(
DateTimeTrim([Max_STD Date],'firstofmonth'),
-11,'month')
All this does is take the start of the month for the max date, take off 11 months (as you're doing 12 months inclusive) and filter for any dates within that. We can test that by now doing a Min() check on your [STD Date] field:
Hope this helps!
Hi DataNath,
Could you please also help on the case "Fuzzy Match on name cleaning" which I raised few days back. I still did not get result to my expectation.
Appreciate your help on this too.
Thanks for your help in advance.
Appreciate your help on "Fuzzy Match on name cleaning"
Hey @mmustkee glad to hear that helped! Unfortunately I'm not experienced at all with the Fuzzy Match tool and don't have any time to look far into it in the near future. I'm sure if you give it a bump someone else may be able to offer a hand!
No worries thanks
NW Nath. Thanks a lot