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
Oiled
Regular Visitor

Only counting unique users when selecting multiple devices in a slicer

Hi, I'm pretty new to PowerBI so I don't really have a clue were to start with this.

 

First off, in my data I have 

A list of all our users with all of their info and an ID code so we can identify them. (User ID, Area)

Another list of the same users with a row for each devices that they own. (Device)

 

I'm want to have a slicer to select which devices will be counted but, when we select multiple devices it needs to not count a user twice so we can have the number of unique users that can participate with the selected hardware. It would probably need some sort of hierarchy to decide which device to count and not to count and I'm not familiar to a way to do that.

 

 

User List:

User IDContientName...
1EURJohn...
2NAJane...
3NADave...
4ASIAScott...

 

Device List:

User IDDevices

1

Phone
1Console
1PC
2PC
2Phone
3Phone
4Console

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Your second table is sufficient for that.  Add the Devices column to a table visual and then add the User ID column and aggregate it as "Count (Distinct)".  Then use the filter pane ("Filters on this visual") to choose your desired device combination.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Your second table is sufficient for that.  Add the Devices column to a table visual and then add the User ID column and aggregate it as "Count (Distinct)".  Then use the filter pane ("Filters on this visual") to choose your desired device combination.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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