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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
chipchidster
Resolver I
Resolver I

Measure to calculate sprint scope

I am trying to create cumulative view of when stories are added to a sprint using a table of data that contains the date the story was added to the sprint.  I thought this would be easy, but its proving more of a head scratcher than I thought, and I'd welcome suggestions of where I am going wrong.

 

The data table I am using is as follows:

issue_idsprint_idnamestatestart_dateend_datecomplete_datemax_sprint_datestory_pointsproject_keyyear_weeksquad_sprintdate_addedin_scopeissue_key
3092663714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:590CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 17:09YesCUS-3017
4287663714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:598CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 15:55YesCUS-3648
4182343714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:592CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 09:38YesCUS-3577
4287183714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:598CUS2024_42CUS-14/10/2024 23:59:5908/10/2024 16:07YesCUS-3646
3163103714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:590CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 17:09YesCUS-3134
4286893714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:590CUS2024_42CUS-14/10/2024 23:59:5908/10/2024 09:51YesCUS-3645
4284983714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:593CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 17:09YesCUS-3642
4290163714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:592CUS2024_42CUS-14/10/2024 23:59:5930/09/2024 13:14YesCUS-3652
3298843714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:590CUS2024_42CUS-14/10/2024 23:59:5902/10/2024 08:56YesCUS-3259
3079963714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:590CUS2024_42CUS-14/10/2024 23:59:5908/10/2024 09:55YesCUS-2994
4302133714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:595CUS2024_42CUS-14/10/2024 23:59:5910/10/2024 09:56YesCUS-3662
2812243714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:590CUS2024_42CUS-14/10/2024 23:59:5908/10/2024 09:55YesCUS-2100
4284923714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:595CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 17:09YesCUS-3641
4294933714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:592CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 15:44YesCUS-3656
4292563714CS-Sprint 43closed02/10/2024 11:0915/10/2024 20:002024-10-15T15:46:40.545Z14/10/2024 23:598CUS2024_42CUS-14/10/2024 23:59:5902/10/2024 12:11YesCUS-3655
4246893714CS-Sprint 43future02/10/2024 00:0015/10/2024 20:00 14/10/2024 23:590CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 15:47NoCUS-3617
4295003714CS-Sprint 43active02/10/2024 11:0915/10/2024 20:00 14/10/2024 23:590CUS2024_42CUS-14/10/2024 23:59:5902/10/2024 08:58NoCUS-3657
4088113714CS-Sprint 43active02/10/2024 11:0915/10/2024 20:00 14/10/2024 23:595CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 17:09NoCUS-3505
4288933714CS-Sprint 43active02/10/2024 11:0915/10/2024 20:00 14/10/2024 23:592CUS2024_42CUS-14/10/2024 23:59:5901/10/2024 15:47NoCUS-3651
4283733714CS-Sprint 43active02/10/2024 11:0915/10/2024 20:00 14/10/2024 23:590CUS2024_42CUS-14/10/2024 23:59:5902/10/2024 09:43NoCUS-3636

 

My thoughts were to use the line graph visual, with the date added as the x-axis and then create a measure that counts all stories where the dateadded value is <= to each point on the x-axis.  That way, I would get a nice view of the sprint and see as a cumulative view the stories getting added to the sprint. 

 

However, I can't work out the date value of each point on the x-axis in my measure.  Essentially, I want to say for each point on the x-axis:

count the number of stories where the date added <= the data point on the x-axis

If at all possible, I would really like to avoid having to create a date table for the x-axis - it feels like pbi should be clever enough to just use the dateadded field.

Thoughts?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @chipchidster ,

 

I made a sample for you.

vxiaocliumsft_0-1729130653166.png

vxiaocliumsft_1-1729130667182.png

Measure = SUMX( FILTER(ALL(Table3),'Table3'[date_added]<=MAX([date_added])),'Table3'[story_points])
 
Best Regards,
Wearsky

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @chipchidster ,

 

I made a sample for you.

vxiaocliumsft_0-1729130653166.png

vxiaocliumsft_1-1729130667182.png

Measure = SUMX( FILTER(ALL(Table3),'Table3'[date_added]<=MAX([date_added])),'Table3'[story_points])
 
Best Regards,
Wearsky

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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