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

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

Reply
sumiteshkumar
Helper I
Helper I

How to fix Power BI slicers when it shows duplicate values due to the many-to-many relationship

I've created 3 columns 'Value_BU', 'Value_PRACTICE', 'Value_SL' from unpivot in table 'SL_BU_PRACTICE'

'SL_BU_PRACTICE' joins with column 'c_number' to table 'projects' with column 'contract',

Using table 'SL_BU_PRACTICE' and table 'projects' i have created a visual.

I am encountering a common issue in Power BI where slicers show duplicate values due to the many-to-many relationship between the tables.

For reference i have attached a snapshot, also renemed 'Value_PRACTICE' to 'Practice' and on search i have used 'data' keyword to narrow search

 

 

practice.png

How to fix it

2 REPLIES 2
Anonymous
Not applicable

Hi, @sumiteshkumar 

 

Have you solved your problem? You can try to merge the two tables in power query and do some data transformation to remove duplicate values.

Merge queries overview - Power Query | Microsoft Learn

Working with duplicate values - Power Query | Microsoft Learn

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

audreygerred
Super User
Super User

Hello! You should avoid many-to-many relationships, it can result in odd results. Instead, relate your fact tables to dimension tables. Your filters should be coming from your dimension table (which holds unique values). Understand star schema and the importance for Power BI - Power BI | Microsoft Learn

 

In this case, you would have a Practice dim table that would have each practive listed once (and whatever other attribute goes with it), and that would be joined to your two fact tables. Then, the filtering would come from the Practice dim.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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.