4 Replies Latest reply on Aug 11, 2017 7:53 AM by Brian Perron

    Parameter to sort a single dimension by different measures

    Brian Perron

      Greetings:

       

      I am certain that this issue has been solved many times, but I am not finding the solution.  I understand that Tableau sorts dimensions based on the measure values.  I'm interested in created a parameter that allows me to select which set of measure values for sorting a single dimension.   For example, assume the following table.  How can I create a parameter that would allow me to sort the states based on either "profit" or "sales per customer"?  Workbook attached.

       

      Thanks!

      BrianScreen Shot 2017-08-11 at 9.23.46 AM.png