4 Replies Latest reply on Sep 26, 2018 1:37 AM by Lionel Tharsivse

    how to use CASE in Tableau

    Lionel Tharsivse

      Hello people,

      i have come across the below statement , how do i replicate this in Tableau

      I am new to tableau , learning different syntax

       

      MAX((CASE WHEN datamart.customer_product_orders.store_name NOT IN ('Swiss Shop','UK Shop','General Website')

         THEN total_unique_visitors_by_product.total_views ELSE NULL END)) AS views