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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
v-xiaocliu-msft
Community Support
Community Support

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
v-xiaocliu-msft
Community Support
Community Support

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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors