2 Replies Latest reply on Jul 22, 2016 1:02 PM by Sajid R

    Sort values ascending/descending Dynamically based on value selected in another column

    Sajid R

      Hi,

       

      I have a CDF chart that I made using the below link,

      http://kb.tableau.com/articles/knowledgebase/cumulative-distributions

      I have a few thousand records in below form

       

      Measure Name
      Measure ValueValue Type
      Type A20Lower the better
      Type B100Higher the better
      Type C40Lower the better
      Type A10Lower the better
      Type B80Higher the better
      Type C10Lower the better

       

      I want better values to always show at the start of the x-axis. The Measure names are as filter and values are plotted on the CDF chart.

      When I change the filter and select Type A then it should sort Measure Values which is on x axis in ascending , if Type B , then descending.

      Any ideas ?

       

      Thanks