Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a variable input with Dynamic values using this expression: =CONCAT(DISTINCT {<adj_scenario_id_pss-={0}>} $(vTranslateSupply('adjustment_category')),'|')
Where based on the TranslateSupply function we deduce wether to show an english or french list.
My question is how I set the default value for this - this works, only for the English version but as soon as the tool is switched to french it breaks. I have this vOneDriverPss1_input set as my name variable. Note I have quotes or brackets around it - If I use a Only({set} column) to get one value that also doesn't work.
Based on what filter, the language will change? Because, Qlik needs to understand what argument you are passing into Sub parameter.
I understand, I will propose a different solution. When you have 3 variable inputs.
Where one variable input's options are influenced by the previous one. We note that the values in the dropdown changes but the variable name tied to it, doesn't reflect it.
In my case when the User selects 'Workload' my options change thanks to my set expression - but the variable for the value still retains the old value.
It depends how you defined, Meaning Is that script variable / UI variable.