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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors