Forum Discussion

EZgrafton's avatar
EZgrafton
Advocate II
10 years ago
Solved

Distinct Count - Slicer does not work

This is probably a dumb issue for most of you, but I am very new to BI and I cannot get DAX, yet (hopefully one day I will!). I am trying to get a distinct count that updates based on a visual slicer...
  • SabineOussi's avatar
    10 years ago

    Welcome EZgrafton !

     

    You can put your name, dept, and value in a table visualization to get the data in the way you described it.

     

    Then put your dept in a slicer visualization.

     

    Now choose the name and put it in a card visual and select distinct count instead of the default count as follows

     

     

     

     

     

     

     

     

     

     

     

    If nothing is chosen, it will show the distinct count of all names. Once you choose a specific department or a combination of departments, it will change accordingly counting the same name only once.

     

    Hope this helps!