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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors