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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ItSupportElm
Helper III
Helper III

Delete duplicate rows based on time (minute or hour)

Hello,

 

I have an issue and i cant resolv it after many research.

Here my situation : 

2021-02-18_09h59_24.png

I want to delete duplicate data base on time , in the same hour for example for the ID "5267" i want to remove the row 03/02/2021 08:22:00 and keep the row two other row that on different date and time ( 5267 - 29/01/2021 07:50:28 and 5267 - 03/02/2021 08:21:57).

 

I dont know if my exemple is clear , if you question ask me.

Thank you for helping me.

Great Day

 

5 REPLIES 5
Anonymous
Not applicable

Create a composite model and then add your own tables to the model if you can't change the source via Power Query.

@Anonymous Hello, can you be more specifric pls

Anonymous
Not applicable
rfigtree
Resolver III
Resolver III

simplest thing to do is via power query. round date/time to level you need then remove duplicates. 

@rfigtree Im in direct query , i think the best way its a dax formula , or if someone one tips without formula i'll take it.

Thank you

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.