cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors