Solved
I am trying to create a component filter for "the running past 24 months". - I can get a "since 2022" to work, but I can't get a floating filter, like "for the past two years" to work.Can you help me with the general syntax?Thank you.
I am trying to create a component filter for "the running past 24 months".
- I can get a "since 2022" to work, but I can't get a floating filter, like "for the past two years" to work.
Can you help me with the general syntax?
Thank you.
Best answer by stephanie.parra
Hi,
for the past 24 months simply use ADD_MONTHS(TODAY(),-24) in the comparison, i.e.
FILTER Table.Date >= ADD_MONTHS(TODAY(),-24)
BR
Stephanie
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.