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
Anonymous
Not applicable

Running totals without dates or ranking

Hi.

How do I make a cumulative column or running total of this data? 

 

lavmads_0-1670931727612.png

 

I would like it to look like: 

 

Sprint          Effort

1                    0

4                  200

5                  1690 (1490 + 200)

6                  2177 (487 + 1690) 

etc.....   

 

Best regards,

Lisa 

 

 

 

1 ACCEPTED SOLUTION

hi @Anonymous 

sorry, apparently there is a typo, try this:

RunningTotal=
VAR CurrentSprint = MAX(TableName[Sprint])
RETURN
CALCULATE(
   SUM(TableName[Effort]),
   FILTER(
       ALL(TableName[Sprint]),
       TableName[Sprint] <= CurrentSprint
   )
)
 

View solution in original post

4 REPLIES 4
FreemanZ
Super User
Super User

Hi @Anonymous 

 

try to create a measure with this:
 
RunningTotal=
VAR CurrentSprint = MAX(TableName[Sprint])
RETURN
CALCULATE(
   SUM(TableName[Effort]),
   FILTER(
       ALL(TableName[Sprint]),
       TableName[Sprint] = CurrentSprint
   )
)
 
then plot a table visual with [Sprint] column
Anonymous
Not applicable

Hi @FreemanZ 

Something is wrong: 

I tried to plot it in a table with and without effort. 

 

lavmads_0-1670936017517.pnglavmads_1-1670936031416.png

 

hi @Anonymous 

sorry, apparently there is a typo, try this:

RunningTotal=
VAR CurrentSprint = MAX(TableName[Sprint])
RETURN
CALCULATE(
   SUM(TableName[Effort]),
   FILTER(
       ALL(TableName[Sprint]),
       TableName[Sprint] <= CurrentSprint
   )
)
 
Anonymous
Not applicable

@FreemanZ It worked, thank you!

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.