Dynamic List Parameters

A dynamic list parameter is made up of a set of elements, measures or custom element lists, from a chosen data model. This is in contrast to static parameters, which are 'hand-built' with static logic.

Data driven dynamic list parameters can be built using quick tools directly in Discover. However, they can be designed with more control from Formulate using the Parameter designer wizard. Editing of parameters is also done in the Formulate tool.

Creating a Dynamic List Parameter

Model Or Global

  1. Launch a Formulate session and choose Parameters.
  2. Select Model as the parameter's scope (purple arrow below).
  3. You now need to select the target data source model that this parameter will operate against; choose any model in the system from the drop-downs (yellow box below).
  4. Use the filtering (green arrows) and search tools (blue arrow) to find your model more easily.

Parameter Type

  1. Next you need to choose its type: Data Driven (orange arrow below). Since our dynamic list is going to be driven by the data in the model itself.
  2. Then, make your selections:
    1. Select a hierarchy from the model (green arrow).
    2. Select elements (purple arrow). If you have logical selections made with other list definitions you can use those (green box below) or hand-select the elements. Click the List Builder button (yellow arrow) to import and auto-select a list of elements.

Your selections will appear in the last panel (blue arrow):

Dynamic Measure Parameters

Dynamic Parameters are usually built against hierarchies. However, they can also be built using measures - using the same technique as above. These can then be used as a measure parameter slicer in queries in Discover and Present. This way, you can inject the required measure into the query at runtime. Measure parameters can also be built on the fly in Discover.

Example

The example below shows how to build and use a dynamic list parameter. For a more advanced example see the manual cascading slicer example.