Forum Discussion

jdiruzza's avatar
jdiruzza
Frequent Visitor
3 years ago
Solved

Count measure based on a multiple selection slicer

I am trying to create a measure that will give me the count of departments based on a multiple selection slicer.

 

The data:

EmployeeDepartment
123455501
254665431
223349855
847255501

 

If the slicer was set to Dept 5501, the expected value would be 2
If the slicer was set to Dept 5501 & 5431 the expected value would be 3.

 

Can anyone assist with a measure for this?

Thanks!

  • Hi,

     

    try: 

    Measure 8 = calculate(count('Table (3)'[Employee]))
     
    If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

1 Reply

  • DOLEARY85's avatar
    DOLEARY85
    Icon for Resident Rockstar rankResident Rockstar

    Hi,

     

    try: 

    Measure 8 = calculate(count('Table (3)'[Employee]))
     
    If I answered your question, please mark my post as solution, Appreciate your Kudos 👍