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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ani_informa
Helper III
Helper III

Overlapping Products

Hi 

 

I have a requirement wherein I want to count distinct employeeId for the products. For example, from the sample data below, 2nd snap is the sort of required output. If we look at the output highlighted at the intersection of Product_1 and Product_2, it is showing 2 which is distinct of employeeid that purchased product_1 as well as Product_2 (EmployeeId counted here are E1111, E1222). What is the efficient way to handle such requirement if anyone else had already encountered such requiremenet before.

 

ani_informa_2-1686056821163.png

 

1 ACCEPTED SOLUTION

see attached.  Can probably be simplified.

View solution in original post

4 REPLIES 4
ani_informa
Helper III
Helper III

Thank You for your response !!

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Thanks for your response !!

 

I have added the sample data however I am not certain which visual we can use to show data in the output format but I was thinking if we can use Matrix. Please suggest if we can present this data in any other visual more efficiently.

 

EmployeeIdProduct
E1111Product_1
E1111Product_2
E1111Product_3
E1222Product_1
E1222Product_2
E1222Product_3
E1222Product_4
E1223Product_2
E1223Product_3
E1223Product_4

 

ani_informa_0-1686237499893.png

 

 

 

see attached.  Can probably be simplified.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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