Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have a Data file that goes like this..
Year.Week Bookings.Value
201850 5
201850 3
201850 3
201850 2
201850 0
201851 . . .
. . .
201852
. . .
201901
. . .
201902
. . .
How can I make a column that gives me a running total?
So something like:
Cummulative.Week Cummulative.Value
201850 13
201851 = 13 + (201851)
. . . . . .
Solved! Go to Solution.
Hi @Anonymous ,
In your scenario, you can create a measure:
Cummulative.Value = CALCULATE ( SUM ( Table1[Bookings.Value] ), FILTER ( ALL ( Table1 ), Table1[Year.Week] <= MIN ( Table1[Year.Week] ) ) )
The result will like below:
Best Regards,
Teige
Hi @Anonymous ,
In your scenario, you can create a measure:
Cummulative.Value = CALCULATE ( SUM ( Table1[Bookings.Value] ), FILTER ( ALL ( Table1 ), Table1[Year.Week] <= MIN ( Table1[Year.Week] ) ) )
The result will like below:
Best Regards,
Teige
@Anonymous,
There you go:
Cumulative Bookings Value := CALCULATE ( SUM ( 'TableName'[Bookings.Value] ), FILTER ( ALL ( 'TableName'[Year.Week] ), 'TableName'[Year.Week] <= MAX ( 'TableName'[Year.Week] ) ) )
All that is doing is returning the original Bookings.Value numbers... Which makes no sense based on the formula but that is what I'm getting
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
90 | |
89 | |
79 | |
70 | |
68 |
User | Count |
---|---|
222 | |
128 | |
117 | |
82 | |
77 |