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! Learn more

Reply
dniedrauer
Resolver I
Resolver I

Remove Duplicates removing non duplicates!!

Vessel NameVesselChemicalCustomerVessel_Chemical

Dawn Princess9103996Air Cooler CleanerPrincess-T9103996Air Cooler Cleaner
Dawn Princess9103996AquabreakPrincess-T9103996Aquabreak
Dawn Princess9103996AutotreatPrincess-T9103996Autotreat
Dawn Princess9103996Boiler CoagulantPrincess-T9103996Boiler Coagulant
Dawn Princess9103996BrominePrincess-P9103996Bromine
Dawn Princess9103996CarboncleanPrincess-T9103996Carbonclean
Dawn Princess9103996ChlorinePrincess-P9103996Chlorine
Dawn Princess9103996CleanbreakPrincess-T9103996Cleanbreak
Dawn Princess9103996Corrosion InhibitorPrincess-T9103996Corrosion Inhibitor
Dawn Princess9103996Deck Clean NpPrincess-T9103996Deck Clean Np
Dawn Princess9103996DescalerPrincess-T9103996Descaler
Dawn Princess9103996ElectrosolvPrincess-T9103996Electrosolv
Dawn Princess9103996EnvirocleanPrincess-T9103996Enviroclean
Dawn Princess9103996Hydrochloric Acid/Muriatic AcidPrincess-P9103996Hydrochloric Acid/Muriatic Acid
Dawn Princess9103996Metal BritePrincess-T9103996Metal Brite
Dawn Princess9103996Oxygen Scavenger PlusPrincess-T9103996Oxygen Scavenger Plus
Dawn Princess9103996Ph IncreaserPrincess-P9103996Ph Increaser
Dawn Princess9103996Pool & Spa HardnessPrincess-P9103996Pool & Spa Hardness
Dawn Princess9103996Pool ClarifierPrincess-P9103996Pool Clarifier
Dawn Princess9103996Teak RenewerPrincess-T9103996Teak Renewer
Dawn Princess9103996Evaporator TreatmentPrincess-T9103996Evaporator Treatment

 

The top table shows what I've done. I've built a composite column in the far right and then I remove duplicates. 

 

Vessel NameVesselChemicalCustomerVessel_Chemical

Dawn Princess9103996Air Cooler CleanerPrincess-T9103996Air Cooler Cleaner
Dawn Princess9103996Boiler CoagulantPrincess-T9103996Boiler Coagulant
Dawn Princess9103996CarboncleanPrincess-T9103996Carbonclean
Dawn Princess9103996Deck Clean NpPrincess-T9103996Deck Clean Np
Dawn Princess9103996DescalerPrincess-T9103996Descaler
Dawn Princess9103996EnvirocleanPrincess-T9103996Enviroclean
Dawn Princess9103996Pool & Spa HardnessPrincess-P9103996Pool & Spa Hardness
Dawn Princess9103996Pool ClarifierPrincess-P9103996Pool Clarifier

 

Now, as you can see, there are a number of items missing that aren't duplicates. And it's just for this vessel (as far as I know). No idea what's going on, but this is bizarre and aggravating. 

1 ACCEPTED SOLUTION

Here's what the issue was. 

 

This table was comprised of a lookup table made by mashing two different data sets together; unfortunately, the vessel id (the number) was assigned to one name in one table and another name in the other table. So removing duplicates in terms of the id number removed many of the line allocations by name, even though the total by id number was correct. I did a replace of the incorrect name with the correct name, and now both the allocation and the consumption are correct. 

View solution in original post

5 REPLIES 5
MattAllington
Community Champion
Community Champion

. Which columns are you selecting before removing duplicates? 

 

That is what determines the removal. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Vessel is the numbered columns; I am selecting the concatenated column to the right to remove duplicates (I know I could just select multiple columns, but I also need that column for another purpose). 

 

I also tried removing duplicates prior to creating that custom column over to the far right, but it didn't remove all duplicates. 

@dniedrauer,

 

That sounds impossible. You may check the Advanced Editor. If convenient, show us the .pbix file.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Here's what the issue was. 

 

This table was comprised of a lookup table made by mashing two different data sets together; unfortunately, the vessel id (the number) was assigned to one name in one table and another name in the other table. So removing duplicates in terms of the id number removed many of the line allocations by name, even though the total by id number was correct. I did a replace of the incorrect name with the correct name, and now both the allocation and the consumption are correct. 

You should log a bug then



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

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.

Top Solution Authors