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
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
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.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

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