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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Need to Get the Running Total from Current week Onwards

Hello,

 

I am trying to create a measure which will give me the running total from Current Week till last week(want to capture for entire year).

 

However the catch is that I dont want to include the revenue value from Week 1 to 4(assuming week 5 is my current week).

 

How can I get the right numbers-, this is what I am using right now-

Running Total=

IF(CALCULATE(MAX(' (Fiscal Calendar)'[Quarter Week Aging])>=0),
CALCULATE(
'[Revenue ],
FILTER(
ALLSELECTED('Fiscal Calendar'[Quarter Week Num], 'Fiscal Calendar'[Quarter Month Num]),
ISONORAFTER('Fiscal Calendar'[Quarter Week Num], MAX('Fiscal Calendar'[Quarter Week Num]), DESC)
)
))

 

Anupal_1-1703067281648.png

 

above is what i am getting right now, however what i need is running total rev in week 5 should be 44M, in week 6 it should be (44M+66M=110M)..But right now in Week 5 i am getting the commulative revenue from wk 1to 5, which is not what i want.

 

TIA

AP

1 REPLY 1
Dangar332
Super User
Super User

Hi, @Anonymous 

try below measure 

measure =

SUMX(
  FILTER(
     ALL(re),re[week num]<=MAX(re[week num]) && re[week num]>4),
  re[revenue]
)+0

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.