Forum Discussion
What is Filter used here for?
- 4 years ago
Hi,
The FILTER() function is of no use in this scenario because yours is a simple filter condition (not a rich filter condition). A rich filter condition is where you compare a measure to a measure, a measure to a column or a column to a column. The second trigger for a filter is where you want to give precedence to the selection made in the slicer or to the field dragged in the rows/columns of a visual. So in your example if you create a slicer for PRE_CHECK where the user selects "N" and you want the calculation to use "N" rather than "Y". The FILTER() function gives precedence to the user selection rather than the filter condition mentioned in the CALCULATE() function.
Hi,
The FILTER() function is of no use in this scenario because yours is a simple filter condition (not a rich filter condition). A rich filter condition is where you compare a measure to a measure, a measure to a column or a column to a column. The second trigger for a filter is where you want to give precedence to the selection made in the slicer or to the field dragged in the rows/columns of a visual. So in your example if you create a slicer for PRE_CHECK where the user selects "N" and you want the calculation to use "N" rather than "Y". The FILTER() function gives precedence to the user selection rather than the filter condition mentioned in the CALCULATE() function.