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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
CostaBella
Frequent Visitor

Remove Duplicates

I have a report that I am working on that shows active Projects on Hurricane Evacuation routes. I use a slicer containing all the districts and counties. There are 3 tables connected to the slicer, 1. Contract and Project Information, 2. Agency Personnel Contact Information, and 3. Emergency Contact Information for each Contractor. At first when there is nothing specified in the slicer, the Emergency Contractor Contact Information has duplicates; not because there are duplicates in the database, but because one contractor can be assigned to multiple contracts/projects (this is essentially the same thing happening with the Agency Contact Information table because multiple districts and counties are assigned to one Engineer). Is there a way to remove the duplicates in one or more tables before the criteria in the slicer is selected? Then after that if a contractor is assigned to multiple projects in different districts, I am fine with it showing duplicates at that point. Apologies if this is a confusing question, but I have tried all I know to fix this issue.

1 ACCEPTED SOLUTION
christinepayton
Most Valuable Professional
Most Valuable Professional

Which visual are we talking about? Tables will only show duplicates if there is something different on the rows that it is showing, so if you have a table with the project ID and contact info, it will show one row per project ID with the associated contact info. If you removed project ID from the table, it would only show one row for the contact info for each contact. 

 

You could use the slicer setting to force a user to select a value before data is displayed, maybe? Or remove the unique fields from the visual. Or use a matrix to group on the field that is causing the duplication for some visual separation. 

View solution in original post

3 REPLIES 3
christinepayton
Most Valuable Professional
Most Valuable Professional

Which visual are we talking about? Tables will only show duplicates if there is something different on the rows that it is showing, so if you have a table with the project ID and contact info, it will show one row per project ID with the associated contact info. If you removed project ID from the table, it would only show one row for the contact info for each contact. 

 

You could use the slicer setting to force a user to select a value before data is displayed, maybe? Or remove the unique fields from the visual. Or use a matrix to group on the field that is causing the duplication for some visual separation. 

Thank you for the advice! Could you please explain how to go about setting up 2 of the 3 tables to wait to display data until criteria in the slicer is selected? I'm sort of new at Power BI so still learning what all it can do.

NVM! Quick DAX formula and I got it working!

 

Thank you for your help!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors