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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Weekend and Weekday Analysis

Hi,

 

Im trying to create a column which will show me which tickets fall on Weekend and which tickets fall on Weekday.

 

So basically, the goal is identify what is volume of Incident tickets we get on Weekends (Categorywise, Groupwise) and who are assigned to them. 

 

So I do the same on Excel with the formula as 

 

PBI3.png

How can I do this on PowerBi add a column which gives me tickets that fall on Weekend and Weekday.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

If you want the return value to be in text format, please select the text format first, and then change the calculated column to

Work Day = if(WEEKDAY([Date],2)>=6,"Weekend","Weekday")

1.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , This flag in date table can give you workday or weekend

Work Day = if(WEEKDAY([Date],2)>=6,0,1)

 

You can compare Average per day

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks,

 

I tried this on the Column and gave me 0 and 1 so Im assuming 0 is weekend and 1 is workday?

 

But how to I tag them as Weekend and Weekday in Text? and also When I checked one of the dates that marked as "0" it falls on a Friday. So how can I exclude Friday and consider only Saturday and Sunday as weekend and rest all as Weekdays

 

Work Day = if(WEEKDAY([Date],2)>=6,0,1)

Anonymous
Not applicable

Hi @Anonymous ,

 

If you want the return value to be in text format, please select the text format first, and then change the calculated column to

Work Day = if(WEEKDAY([Date],2)>=6,"Weekend","Weekday")

1.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.