Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to create a measure that will give me the count of departments based on a multiple selection slicer.
The data:
Employee | Department |
12345 | 5501 |
25466 | 5431 |
22334 | 9855 |
84725 | 5501 |
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!
Solved! Go to Solution.
Hi,
try:
Hi,
try:
User | Count |
---|---|
77 | |
76 | |
43 | |
30 | |
26 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |