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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Ding_Dong43
Frequent 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
KBO
MVP

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!

Thanks Kathrin

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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
Top Kudoed Authors