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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Time Interval

Hello Every one, 

 

I am new using power bi and need to cheek someting

 

I have a colum named "Delivery Time", and and two more called "Est_1" and "Est_2"

 

I need to know if the delivery time fits in the hours of Est 1 and est 2, for example

 

Delivery Time    Est 1       Est 2

12:00 am         10:00      13:00

 

In this case, my delivery time is in the allowed range, 

Is there a way to validate if the delivety time is between the other two??

 

Please I need help

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

 

Create this calculated column formula

 

=AND([Delivery Time]>=[Est 1],[Delivery Time]<=[Est 2])

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

Create this calculated column formula

 

=AND([Delivery Time]>=[Est 1],[Delivery Time]<=[Est 2])

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

How do we calculate the time interval between two dates in hours, excluding the weekends and US holidays?

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 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.