2 Replies Latest reply on Jan 7, 2019 7:24 AM by paul.winiecki

    How to Create a Conditional Color Gradient for Overlapping Bar Chart?

    paul.winiecki

      Hello,

       

      I was wondering if there is a way in Tableau 2018.3 to create a condition color gradient in a overlapping bar chart. Currently I have a workbook where if Count 3 is less than or equal to Count 1, Count 3 will be green. If Count 3 is greater than Count 1, Count 3 will be red. Count 1 will always be gray. See image attached.

       

      However, is there a way to also have the red and green be on a gradient based on how far they are from Count 1? For example, the shade of green be darker the further away Count 3 is from Count 1, and also the red be darker the further away Count 3 is from Count 1.

       

      Any help is greatly appreciated. I've attached the packaged workbook used to create the image in this post.

       

      Thanks,

      Paul

       

      Gradient.jpg