Hello All,
I want to create a dynamic parameter where I can choose the next three months from current month.
Can anyone help me to get the solution of this?
As you can see here: https://docs.looker.com/reference/field-params/parameter the parameters are, by design, quite static, hence the need to specify all allowed values. But you could still do it by allowing people to enter a number that would represent the number of months “Show next 3 months” => yes/no. Then, you would have to use the output of the parameter in your query using the parameter variable:
{% parameter parameter_name %}
Liquid variable in itssql
parameter, which injects the selected value fromitem_to_add_up
and changes the column name being referenced. The measure then performs the calculation on the referenced column:
Type a product name