set Filter

Method to set dynamically the filter value based on the analytic type

Parameters

analyticType

The type of the analytic to set the filter

filter

The new filter to use