Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Team,
Is there a way that whenever a user tries to clear selection, i enforce a value from a dimension to get selected.
I do not want to use 'Always one Value Selected ' option.
Thanks
Khushboo
Give a Button with name "Clear All" and apply two actions on Button
1) 1st Action - Clear All
2) 2nd Action - Select in Field
see this
use
IfGetSelectedCount(Dim)=1
Chanty,
Thanks for your answer.
Where can i use this? fGetSelectedCount(Dim)=1
Thanks'
Khushboo
go to -->Document Properties---> Select one triigger for Clear all---->
and select one more trigger for select in field ---> and give that condition.
There are several ways to achieve this.
Of these a bookmark or button with actions would be my preferred options as this retains the standard QlikView functionality.
Triggers may confuse users as they may not be aware of why a trigger is being actioned, also if you use the Ajax client, not all triggers are active.
May be try with 'Clear State' Option.
Select Any Dimension Value -> Set Clear State (in the Clear All Option)
So, Until you reset your clear stare, Whenever the 'Clear All', It will select your default selected value.
one more option am not sure...but u can use
Hi,
Create a Variable with the following expression
if( isnull(GetCurrentSelections()),1,0)
Now go to document properties and call the trigger on "OnChange" event of this variable and in that trigger use the select field option to select the default value .
Hope this helps