Monday
Hi everyone,
I’m looking for a way to aggregate values based on a dynamic date. For example:
Values from 202501 to 202503 should be aggregated to a date that’s twelve months ahead of the current date, resulting in something like:
202501–202503 → 202604
Has anyone tackled something similar or have suggestions on how to approach this?
Looking forward to your thoughts!
BR,
Ismail
Request clarification before answering.
Hi @guenay
Using the Data action "Advanced formulas", you can get your expected result based on the following.
MEMBERSET [d/Date] = %From_Date% TO %To_Date%
DATA([d/Date]=NEXT(13,"MONTH",%To_Date%)) = RESULTLOOKUP()
The script is working with 2 external parameters "%From_Date% and %To_Date%. Please refer below screen shot for the Parameters.
I hope this is helpful to you, and if I have misunderstood anything, please feel free to reach out.
Moonjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @guenay
I am not clear about the "dynamic date" you mentioned. How can we know the dates "202501" to "202503"? Is it a fixed date or the previous 3 months from the current month(today: 16-Apr)?
One more case is below,
202501–202503 → 202604
202502–202504 → 202605
...
202511–202601 → 202702
202512–202602 → 202703
Regards,
Moonjun
User | Count |
---|---|
88 | |
10 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.