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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Identify and condition Weekend days from a big year date data

Hi Guys, 

 

I'm having trouble handling big data in Power BI. I have a big data from a large set of job information that field workers in a large company did for a year (2019) with a collumn called arrivedate that means the date and hour that the worker starts to work associated with workers. 

Field workers in addition to working during the week also work on the weekend. My data looks like this:

arrivedate.PNG

 

I have data of every single day of every single month of 2019. However, I need to know how many days the field workers worked in 2019 during the weekend days in every month, but I don't know any DAX formula that gives me that information. 

I wnated to filter my field workers working days by:

  • Weekdays they work from 8 AM to 6 PM;
  • Weekend days they work from 6 PM onwards

Thank you, and I hope you can help me 🙂

 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Do you need to calculate the hours every worker works during one year?

working hours are (8AM -6 PM on workday and 6 PM-12 PM on weekend)

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

IF(WEEKDAY([Date],3) < 5,"Weekday","Weekend")



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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