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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
pbi_wannabe_exp
Regular Visitor

Running Total grouped by cumulative

Hi folks!

I have a complicated task that I want to solve.

Here is the sample data: I would like to know the sprint daily(!) count(key) where issue_type = "task" on a year, sprint, day of sprint view with running totals (1 sprint is 2 weeks, the info is added in column from merged tables)

pbi_wannabe_exp_0-1648673924411.png

This is how the matrix should look with the running total:

pbi_wannabe_exp_1-1648675003137.png

I would like to compare the cumulative change between current sprint (in this case spint 04) with the cumulative change previous sprint same day of sprint.

1. e.g.: Sprint 04 day 10 = (8(running total sprint 04) - 8 (running total sprint 03 --> becasue only the data from day 6 is available)) / 8 (running total sprint 03) --> in this specfic case blank

2. e.g.: Sprint 04 day 5 = (3 - 7) / 7 = -0.57

 

I would be able to change the sprint number filter and the day of sprint would be always the last available day of sprint within a sprint.

I dont know why I cant attach the pbi as well where I tried to create the running total with no luck.

pbi_wannabe_exp_2-1648677369816.png

 

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

One of ways to solve this is to have a proper dim-calendar table.

I believe you have one that shows together with Sprint year / wk / day columns.

I am not 100% sure whether I created a correct dim-calendar table that suits your business, but I hope the below can provide ideas how to create measures and apply those to your data model.

Please check the below picture and the attached pbix file.

All measures are in the attached pbix file.

 

Picture1.png 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

One of ways to solve this is to have a proper dim-calendar table.

I believe you have one that shows together with Sprint year / wk / day columns.

I am not 100% sure whether I created a correct dim-calendar table that suits your business, but I hope the below can provide ideas how to create measures and apply those to your data model.

Please check the below picture and the attached pbix file.

All measures are in the attached pbix file.

 

Picture1.png 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Jihwan, many thanks for your help! Your solution is exactly what I was looking for.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.