This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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)
)
))
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
Hi, @Anonymous
try below measure
measure =
SUMX(
FILTER(
ALL(re),re[week num]<=MAX(re[week num]) && re[week num]>4),
re[revenue]
)+0
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |