Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jdiruzza
Frequent Visitor

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!

1 ACCEPTED SOLUTION
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

try: 

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

View solution in original post

1 REPLY 1
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

try: 

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.