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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PaulN
Frequent Visitor

Sprint burndown report

Hi all,

 

I'm creating a sprint burndown/burnup report using data from Jira. I have created a calculated table containing all the days (as dates) in the sprint. I'm trying to add a calculated column listing the number of open tasks for each of those dates but I'm stumped how to approach this. I have a table containing all the tasks of a sprint with the resolution date of each task. I know I need to somehow filter based on resolutionDate <= calculatedSprintDayDate and count the results.

 

Sample data:

CurrentSprintTasks

Key.taskCreated.resolutionDate
ABC-6745125-02-202003-03-2020
ABC-6750525-02-202002-03-2020
ABC-6697424-02-2020 
ABC-6699224-02-2020 

 

OpenTasks

.SprintDayDate.OpenTasksCount
29-02-2020...
01-03-2020...
02-03-20201
03-03-20202
04-03-2020...

 

So on date 02-03-2020 it should show 1 task completed, on date 03-03-2020 it should show 2 tasks completed since start of sprint. 

 

I've tried using

.OpenTasksCount = FILTER(CurrentSprintTasks;CurrentSprintTasks[resolutionDate] <= OpenTasks[.SprintDayDate])

but this doesn't work. Any suggestions?

 

Thanks in advance,

Paul.

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi  @PaulN 

Just create a measure as below:

.OpenTasksCount = CALCULATE(COUNTA(CurrentSprintTasks[Key]),FILTER(CurrentSprintTasks,CurrentSprintTasks[.resolutionDate]<=MAX(OpenTasks[.SprintDayDate])&&CurrentSprintTasks[.resolutionDate]<>BLANK()))

Then drag [.SprintDayDate] column and this measure into a table visual.

5.JPG

 

and here is sample pbix file, please try it.

 

Regards,

Lin

Community Support Team _ Lin
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

5 REPLIES 5
v-lili6-msft
Community Support
Community Support

hi  @PaulN 

Just create a measure as below:

.OpenTasksCount = CALCULATE(COUNTA(CurrentSprintTasks[Key]),FILTER(CurrentSprintTasks,CurrentSprintTasks[.resolutionDate]<=MAX(OpenTasks[.SprintDayDate])&&CurrentSprintTasks[.resolutionDate]<>BLANK()))

Then drag [.SprintDayDate] column and this measure into a table visual.

5.JPG

 

and here is sample pbix file, please try it.

 

Regards,

Lin

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

Thanks @v-lili6-msft, I never considered using a measure instead of a column! But this is the only way that this can work since I also need to be able to filter based on team 🙂

 

Awesome, this now works! Thanks again for your help 🙂

v-lili6-msft
Community Support
Community Support

hi  @PaulN 

Sample data and expected output would help tremendously.
Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Regards,

Lin

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

Hi @amitchandak@v-lili6-msft,

 

I updated my original post to include sample data.

 

Thanks!

Paul.

amitchandak
Super User
Super User

Can you share sample data and sample output.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.