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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.