OR condition Filtering in Tableau
It is little tricky if we want to implement a filter with OR between the conditions.
Since there is no way in default Tableau filters pane to add multiple filters with OR condition and the filters pane considers AND between the filters placed.
To overcome this we can create a calculated field using all the filters with an OR condition as shown below in two ways:
Create a Calculated field 1:
If (NOT ISNULL([account_name_malformed]) OR NOT ISNULL([ad_name_malformed]) OR ISNULL([facebook_adset_id])) THEN "Yes" Else "No" END
Create a Calculated field 1:
NOT ISNULL([Dimension1]) OR NOT ISNULL([Dimension2]) OR ISNULL([Dimension3])
Now drag the above filter and select the condition True or Yes, which will filter for the specified condition.
Comments
Post a Comment