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
aicms
Frequent Visitor

Create groups with repeated products and use as slicer

Hi all,

 

I have a list of products and would like to create two groups, with one of the products (Product A) belonging to both groups, and then create a slicer of the "Groups" and select on Group to analyse at a time.

When I connect it to my dim_Product table, it appears an error mentioning that I cannot have a repeated product in "Products".

How can I make this work?

 

Table:

ProductsGroups
Product AGroup A
Product BGroup A
Product CGroup A
Product AGroup B
Product DGroup B

 

Thank you!

Adriana

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

You should be able to use that table you show as an example directly in your model, and then make a relationship from your Products column to the Product column in the other table(s).  If you make a slicer on the Group column, the Product A will be included in the filter to the related table for both Groups.

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

You should be able to use that table you show as an example directly in your model, and then make a relationship from your Products column to the Product column in the other table(s).  If you make a slicer on the Group column, the Product A will be included in the filter to the related table for both Groups.

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


I had that impression but for some reason it didn't work.. but after you mentioned it, I deactivated the automatic relationship between tables and made it manually, so the problem disappeared 🙂

Thank you!!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors