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
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
March Fabric Community Update

Fabric Community Update - March 2024

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

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.

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.