Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have made an app where I use two "variable input" from Qlik dashboard bundle.
One variable input is for dimension.
The other variable input is for measure. I only use this "variable input" for one sheet. In the other sheets the user have no option to change measure.
My problem is that in the sheet with "variable input" for measure , there is only preselected a dimension.
Therefore the visualisations are empty until the users select a measure.
Is it possible to set a default value also in the "variable input for measures"?
Yes, in the measure of the chart / visualization you can write an condition.
if(vMeasure = 0, sum(1), sum(2))
in the variable input map the vMeasure variable and set its value as 1.
sum(1) is the default measure and sum 2 is the measure you want to show when the variable in selected .
hope this helps...
Yes, in the measure of the chart / visualization you can write an condition.
if(vMeasure = 0, sum(1), sum(2))
in the variable input map the vMeasure variable and set its value as 1.
sum(1) is the default measure and sum 2 is the measure you want to show when the variable in selected .
hope this helps...
Hi @Sammy_AK ,
Thank you. I am going to accept it as a solution.
I was hoping for a different solution, because I already have so many if statements in my visualisations and it is difficult too add more.