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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

delete duplicate item codes M language

Hello!

First, I wish to apologize for my English.

I am new to power bi and I would like some help on a M language

I would like to delete duplicate item codes that are present in the same period.

 

In this example, I want to delete duplicates (code 2111) in the period 01/8/2019 and in the period 01/09/2019.

image.png

So, I need this information only twice. One time for the period 01/08/2019 and 1 time for the period for the period 01/09/2019.

I need this help to make a history for my company.

 

Can someone help me with the M language ?

 

thanks

1 ACCEPTED SOLUTION

Try selecting all the Columns and then click on Remove duplicates

View solution in original post

4 REPLIES 4
AnkitBI
Solution Sage
Solution Sage

What other columns you have and are they having same values. If yes, Then you can use Remove Duplicates. If not, then share complete Row details.

 

Thanks
Ankit Jain

Do Mark it as solution if the response resolved your problem. Do like the response if it seems good and helpful.

 

 

Anonymous
Not applicable

Thanks for your feedback @AnkitBI 

My other columns have the same value. When I use the delete duplicates button, it removes the code that included in the date 01/09/2019

image.png

Try selecting all the Columns and then click on Remove duplicates

Anonymous
Not applicable

@AnkitBI 

i do it ! Thanks for ur help !

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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