I am trying to filter my data to R12 data based on the columns shown below. With the year and month being separate I am unsure how to filter them to last 12 months. My best idea so far is filtering it using the formula created columns below. Let me know if you have any Ideas.
Thank You!
Solved! Go to Solution.
@nicktekippe how does this look? Within the Filter tool, the expression combines the Year & Date (as a string), before parsing it as an actual date and checking whether or not this falls within -12 months of now:
DateTimeParse(ToString([Fiscal Year])+ToString([Fiscal Month]),'%Y%m') >= DateTimeAdd(DateTimeNow(),-12,'month')
Before:
After:
@DataNath That looks great thank you. I'll give it a shot.
User | Count |
---|---|
19 | |
14 | |
13 | |
9 | |
8 |