4 Replies Latest reply on Feb 14, 2020 8:15 AM by Robert Crocker

    Distinct count based on parameter

    rhouj

      Hi all,

       

      I have a problem and hope to find help here.

      As you can see in the screenshot below, I have created a distinct count based on the parameter Top N Customers. It counts the distinct values of all customer names.

      Screenshot.PNG

       

      My problem is shown in the second screenshot below. The distinct count stays the same and does not work when I change the parameter e.g. to the Top 3, Top 5 or Top 20 customers.

      The counter should show the value 17 since this is the distinct count of the values shown in the scatter plot.

       

      Screenshot 2.PNG

       

      Is there any way to make this work properly? The workbook is attached below (Tableau 2019.4).

       

      Thanks!