Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hey All I have data in the form below
ID | Amount | Month |
1 | 1234 | 1 |
1 | 423 | 3 |
1 | 125 | 5 |
2 | 4352435 | 1 |
2 | 324 | 6 |
2 | 23452 | 32 |
3 | 243 | 1 |
However when I try to run my running total I get this odd graph
So it correctly calculates my the running total until it reaches the end of my data and then plummets to 0 when it should just maintain a straight line infinitely.
My code for the measure is:
Any ideas why my running total is failing after some point and how to solve it?
Note: that I ran the exact same table through an excel pivottable and got nice graph below
Solved! Go to Solution.
@anonymouAsd , Create a new month table
month = generateseries(1,20,1)
join it month in your table and create a measure like
CALCULATE(
SUM('FACT_sales'[Amount]),
FILTER(
ALLSELECTED('month'),
month[Month]<= MAX(month[Month]
)
))
Hi, @anonymouAsd
You can try the following methods.
Amount Incurred running total in Month =
CALCULATE (
SUM ( 'Table'[Amount] ),
FILTER ( ALL ( 'Table' ), [Month] <= MAX ( 'Table'[Month] ) )
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@anonymouAsd , Create a new month table
month = generateseries(1,20,1)
join it month in your table and create a measure like
CALCULATE(
SUM('FACT_sales'[Amount]),
FILTER(
ALLSELECTED('month'),
month[Month]<= MAX(month[Month]
)
))
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
68 | |
64 | |
50 | |
36 | |
26 |
User | Count |
---|---|
80 | |
57 | |
45 | |
44 | |
35 |