Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.
One of available types of input parameters (IPs) is a column type. A column type helps you with providing an answering to a prompt by presenting a list of values which is taken from a column of an independent table, calculation view (CV) or SQL view. It is also possible to reference to a CV’s column itself and create a self-reference. However, this type of setup is not recommended due to performance issues, and is not supported in Strategy.
Strategy can integrate with non self-referencing, multiple answers column type input parameters via Strategy attribute elements prompts. To achieve the integration between Strategy and CV with this type of IP, you must create an attribute element list type prompt in Strategy and use it to replace the default prompt that Strategy creates automatically for calculation views with input parameters. This article contains an example of such integration.
Explore the following topics:
Calculation view definition: this CV comprises of a single project node with a single input parameter (IP_COLUMN_TYPE) and two calculated columns.

IP definition:

Notice that this IP will use “CUSTOMER_ID” column from TOP_CUSTOMERS table from “tpch” schema.
Calculated columns will allow the retrieval of phone numbers and customer names from "top customers."


Notice that HANA Studio marks in red some parts of the expression. However, the SQL is correct and calculated columns work fine. HANA Studio also does not show all available SQL language functions in its list of functions at the bottom right of the picture. Please refer to the SAP Help for an up-to-date list of supported SQL functions in the Expression Editor for calculated columns.
This may come as a surprise, but SQL language is recommended over Column Engine expressions in calculated columns Expression Editor since “plain expressions enable a better optimization process, compared to SQLScript [Column Engine]. Thus, by validating the expression against SQL, you can make sure that it is fully optimized” [HA300_Col16 pg 102]. Nevertheless, one should be cautious about putting declarative logic (if, else, case, when, etc.) since this in turn puts constraints to the HANA optimizer.
Now we can see how the CV behaves either by querying it or by using the Data Preview option in HANA Studio.
IP behavior in HANA Studio:
Data Preview allows you to choose the values for the input parameter with help of list of values taken from TOP_CUSTOMERS.CUSTOMER_ID column:

We can see the data for two top customers whose IDs are 94 and 130, respectively:


Corresponding SQL query:

In order to replicate this behavior in Strategy, the following workflow is required:






















In case you don't want to bother with the configuration outlined in the sections above, you can leverage a prompt that Strategy uses by default for an input parameter – a value type prompt. In addition to being the default in the warehouse catalog, it is the only prompt available when you want to create a MTDI Cube from a CV with this type of input parameter.
Note that it is not recommended to use the Build a Query or Type a Query options when creating cubes. Build a Query is not aware of input parameters and will not produce a PLACEHOLDER syntax. The same is true for Type a Query. However, both allow you to manually update generated SQL with a PLACEHOLDER syntax, but you are unable to put any dynamic objects, like prompt, as a value for input parameter.
Once you end up with a value type prompt, it is possible to provide multiple answers to a CV’s input parameter, but only if the prompt is of a text type – this occurs if the underlying IP is of a string data type. In such scenario, you must embed each item of a list in two single quotes to comply with SAP HANA syntax. The default value prompt does not inform you about items specified in the IP's reference column.


Strategy supports HANA’s multiple-answers, non self-referencing input parameters of column type in the following ways: