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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.