cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Working Days to determine on time or off time

Hi All

 

My first post so be gentle!!!

I have to determine is a transaction date is either "on time" or "late".

The criteria to determine this is:

On time = 5 days early of the request date, 0 days after the request date.

Late = any date after the request date.

 

What I need help with is how to discount non working days within the below formula:

Del Status =
if([Day Variation]>=0&&[Day Variation]<=5,"ON TIME",
IF([Day Variation]<0,"LATE", "EARLY")
 
Any help is greatly appreciated!
2 REPLIES 2
Highlighted
Solution Sage
Solution Sage

Re: Working Days to determine on time or off time

Hi @Ding_Dong43 ,

I'm not the DAX Expert but may be you tag your questio with DAX and shift it to the Desktop topic ;). I think there you'll get a answer really quick :).

 

Best,

Kathrin

 

 

 

 

If this post has helped you, please give it a thumbs up!
Did I answer your question? Mark my post as a solution!

Highlighted
Regular Visitor

Re: Working Days to determine on time or off time

Thanks Kathrin

Helpful resources

Announcements
Super Users of the Quarter - Q2 2020

Super Users of the Quarter - Q2 2020

Who are our Super User Superstars? Who made it to the top of the leaderboards? Get the answers!

June 2020 Community Highlights

June 2020 Community Highlights

Featured community members, changes to the Community, and more! Read up on recent Power BI community news.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021