HI there,
I am trying to create a slider style parameter. So in the slider I need a range of values, say 0 to 100, in unit of 10 increments.
I then need to apply that to a measure, so if I increased sales by 40% from the slider that applies to the measure of sales for example.
I part created using below, but the filter in the dashboard doesn’t give an option to create a slider style
parameter: SalesMulitplier {
type: number
default_value: "10"
allowed_value: {
value: "10"
}
allowed_value: {
value: "20"
}
allowed_value: {
value: "30"
}
allowed_value: {
value: "40"
}
}
measure: sales_multiplier {
type: number
sql: ${sales_amt} * {% parameter SalesMulitplier %} ;;
}
Any suggestions on how to implement this?
thanks
I'm having the same problem, why is it not possible to make range_slider an option for parameters (of type number)?
We've have done similar. You need to create the parameter as a dimension first then change it to a parameter.
dimension: slider_test {
type: number
}