bjornliow
11 months agoNew Contributor II
Nested Parameter with Different Dimensions
Is there a way to have a nested parameter with different dimensions?
Example: If I select Year = 2020, the next prompt will ask me to select a Scenario
The example I saw in the Design & Reference...
- 11 months ago
A nested Parameter is basically just a Parameter that will use another Parameter somewhere in its configuration. As long as you can reference "Parameter A" somewhere in the setup of "Parameter B", it doesn't matter what dimension it's working with - you're just passing a bit of text around.
In your case, let's say you have a "ParamYear" that will contain the year, and that your Scenarios have a year in the name (e.g. Forecast2025v1, Forecast2026v3, etc). In the configuration of "ParamScenario", you could have a filter like this:
S#Root.Base.Where(Name Contains |!ParamYear!|)