Hi @jung,
Thanks for the additional explanation! While there is no simple setting feature, there is a work around that could be used in this scenario. There are quite a few steps but please see below for a walkthrough:
Start by creating a parameter that will return True or False
Next, you’ll create 2 calculated fields that will be used in making a dynamic button:
‘Apply Filter’: ifelse(${ApplyFilter} = 'False', 'True', 'False')
- Note: You’ll hide this field
‘Filter Button’: concat('Click to ', ifelse(${ApplyFilter} = 'False', 'apply ', 'remove '), 'filters')
Next, you’ll create a table visual (for the button). Hide the header, hide the value for Apply Filter Param field and format as a button.
Create a navigation action to set the ApplyFilter param to the value field:
Now, to filter the visual, check the value of the Apply Filter parameter and the value selected in the dropdown.
IsNull($Parameter) to check for select all in a single value, in(NULL, ${Parameter}) to check for select all in a multi value.
So you’ll need to create this calculated field for each of your control values:
`ifelse(`
` ${ApplyFilter} = 'True' AND (${EventName} = EventName OR isNull(${EventName})), EventName,`
` ${ApplyFilter} = 'False', EventName,`
`NULL `
`)`
Then, replace the field in the visual with the new calculated field(s) and apply a filter to exclude nulls when necessary
Last, remove any filters that are linked directly t othe controls, otherwise this will not work.
Let me know if you have any additional questions!