I am working on a model where in a dashboard I have to reduce the time range of a drop down from 10 years to 2 years. It displays 10 years as it uses the original time period of the anaplan model thereby displaying the entire time frame in the drop down.
Create Fake Month List for only the time periods that you need in your drop-down:
Then Make a module for mapping real-time to fake time. Fake time will be your dimension, and Real-time (Months) will be the format of the line item):
Then Make a line item for your time selector that is formatted as your fake list. (This is where the end user will select from a drop down)
Then there are a few ways to do this step, but the most straight forward would probably be to have 2 lines items. One for CY Lookup and one for PY lookup.
Then in your variance module, you can reference these 2 line items as your lookup:
PY = Data Module.Data[LOOKUP: PY Time Lookup]
CY = Data Module.Data[LOOKUP: CY Time Lookup]
This would need to be manually updated annually to keep the time periods correct unless you got creative with how this list is created, But if I am understanding your question correctly, then it should work.
I already have a time range of 2 years created and the module from which data is flowing has been restricted to that time dimension. I can not keep the time dimension of that module from which data is flowing as 10 years due to workspace size limit. So there is a separate module which has been created from which the time range selector has been created on the dashboard. I have attached the images for your reference.
Line items formatted as time will automatically assume the largest time range possible in your model, from the earliest time to the last time of the model time scale or time range, whatever is the extreme on either side.
The only way that I can think to do what you are asking is to create a fake time list that has the two years that you want in the dropdown. Then you can map that fake time to the real-time, and have the drop-down line item based on your list instead of real-time, and use lookups in the corresponding line items that need to reference this line.
Not ideal, but it is a workaround to get you there.