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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

How to filter out same day with 2 datetime coumn

Hello, 

 

My dataset has 2 datetime column like this, I would like to create a new column shows how long it take from Cart to when the sale is completed. I want to filter out that the date in Sales Order Date is the same day with Cart Created On because there is some row that are in different days. I need to calculate the difference time between these 2 columns with the filter is the same day. 

Sorry for my English if it's not clear. 

Thanks a lot 

hng304_0-1661882734682.png

 

1 ACCEPTED SOLUTION
Syk
Super User
Super User

Add a column to get your duration by subtracting the times

Syk_0-1661883790634.png

Then click the arrow next to your new column > duration filters > greater than and enter 1 (for 1 days) which will remove all of your same day data.

Syk_1-1661883885961.png

 

View solution in original post

2 REPLIES 2
Syk
Super User
Super User

Add a column to get your duration by subtracting the times

Syk_0-1661883790634.png

Then click the arrow next to your new column > duration filters > greater than and enter 1 (for 1 days) which will remove all of your same day data.

Syk_1-1661883885961.png

 

Anonymous
Not applicable

thanks, it works 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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