2 Replies Latest reply on Apr 13, 2016 3:50 AM by Ashish Chaudhari

    Conditional Column Formatting - How to make a cell to show in red if > 0

    Sidharth Ramesh

      Conditional Column Formatting - Can somebody please point to how to insert logic into a calculation to make a cell show up in red if a condition is not satisfied. Like say:

      IF [Item A] - [Item B] == 0 THEN "GREEN"

      ELSE "RED"

      END

      Now GREEN and RED are the colors I want displayed when the difference is not equal to 0. I've tried using that logic in Tableau and that just displays the Text "GREEN" if the condition is satisfied not the calculated value in Green color. Any Help is much appreciated.