Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
I've got a data source with a funding ID and I need to create a column with the running total. See below for an example.
How would I create the running total column?
FundingID | Funding Year | Amount | Running Total |
4555 | 2019 | 1000 | 1000 |
4555 | 2020 | 2000 | 3000 |
4555 | 2021 | 3000 | 6000 |
Solved! Go to Solution.
Hi @mvgust
if you need to classify by id then sum total, try this
CALCULATE(SUM('Table'[Amount]),FILTER(ALLEXCEPT('Table','Table'[FundingID]),'Table'[Funding Year]<=MIN('Table'[Funding Year])))
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @mvgust
Have you solved this problem? If yes, could you kindly accept the answer helpful as the solution (or kindly share your solution ). so the others can find it more quickly.
really appreciate!
Any question, please let me know. Looking forward to receiving your reply.
Best Regards,
Community Support Team _Tang
Hi @mvgust
if you need to classify by id then sum total, try this
CALCULATE(SUM('Table'[Amount]),FILTER(ALLEXCEPT('Table','Table'[FundingID]),'Table'[Funding Year]<=MIN('Table'[Funding Year])))
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Is this what you mean?
Measure :=
VAR _year =
MAX ( TableName[Funding Year] )
RETURN
CALCULATE ( SUM ( TableName[Amount] ), TableName[Funding Year] <= _year )
Proud to be a Super User!
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
102 | |
68 | |
46 | |
37 | |
37 |