When you work with dynamic dates as criteria in TARGIT, you use relative references like:
- Year to previous month
- Previous 12 months
- Previous year
- Previous 3 weeks
- …and many others
All these references are based on the dynamic data origin.
If you don't manipulate dynamic date origin, it will be default set to today, which makes a lot of sense.
In some scenarios though, you might want to "play around with" dynamic date origin.
Maybe you want so simulate that we are on a certain date, and then all your relative filters will move accordingly.
This can be offered as a very flexible option to the consumer using a certain report - by just placing the dynamic date origin in the criteria bar, but it can actually also be passed as a parameter in a URL - you just need to add something like this to the URL
So if you have a deep link that opens a certain analysis with a URL like:
you just need to append the parameter:
And then you are simulating that it's the 16th of December 2021, and all your dynamic filters will filter accordingly.
However you choose to manipulate dynamic date origin, you should make it absolutely clear to the consumers of the report, what exactly they are looking at.
This tutorial takes you through all of the above step-by-step: