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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors