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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mprakash
New Member

How to exclude Saturday and Sunday date in Burndown Chart

Hi All,

 

I have created a burn down chart which i took from custom market place. 

 

I have created planned hours for that, and will be comparing with actual hours to complete it.

 

Capture.PNG

Porvided below the formula for Planned hours to complete.

Planned Hours =
Var SprintStartDate = CALCULATE(FIRSTDATE('Calendar'[Date]),ALLSELECTED(Sheet1))
Var DaysSinceStart = DATEDIFF(SprintStartDate,Max('Calendar'[Date]),DAY)
Var BeginningStart = CALCULATE(MAX(Sheet1[Remaining Hours to complete]),ALLSELECTED(Sheet1))
Var SprintLength = 9
Return
IF(MAX('Calendar'[Date])>= SprintStartDate && MAX('Calendar'[Date])<= SprintStartDate+SprintLength,
BeginningStart - DaysSinceStart * (BeginningStart/SprintLength),BLANK())
 
Now my concern is how to exclude the weekend date in this formula i.e., i have to exclude saturday and sunday, because generally we won't work in weekend.
 
Once we removed then the Planned hours should be a straight line.
 
Please help me on this. Thank in advance.
 
Regards,
Prakash M
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@mprakash , you can add filter for weekday('Calendar'[Date],2) <6

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@mprakash , you can add filter for weekday('Calendar'[Date],2) <6

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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