2 Replies Latest reply on Sep 13, 2016 10:17 PM by Shikha Handoo

    how to write sql "where" statement in Tableau

    Shikha Handoo

      Hello,

       

      I need to create a calculated field that will implement an SQL" where" clause in Tableau. I tried it using IF and CASE functions but it doesn't seem to work. In the example data set, listing Name and Sales,  I need to calculate SUM(Sales) Where Name= Christian.

       

      Any ideas?

       

      Many Thanks!