Forum Discussion
Calculating cumulative Months by project code
- 8 years ago
Hi,
I have now managed to create the formulas :) Thank you
- 8 years ago
The below formula seems to work; I created a sum column calculating figures by month, then created another colum to filter by project;
Monthly Sum = CALCULATE(SUM(Financials[Actual Monthly Cost]),FILTER(ALL(Financials),Financials[Date] <=TODAY()))
By Project = CALCULATE(SUM(Financials[Actual Monthly Cost]),ALLEXCEPT(Financials,Financials[ProjectCode],Financials[Monthly Sum]))
Bryony,
Could you please share sample data of your table and expected result through online service such as OneDrive?
Regards,
Lydia
Hi,
I have now managed to create the formulas :) Thank you
- TomMartens8 years agoSuper User
Hey Bryony,
this is a great!
Can you please post your solution and mark it as answer, this will help all the other community members (including me) a lot!!
Thanks
Tom
- Bryony8 years agoFrequent Visitor
The below formula seems to work; I created a sum column calculating figures by month, then created another colum to filter by project;
Monthly Sum = CALCULATE(SUM(Financials[Actual Monthly Cost]),FILTER(ALL(Financials),Financials[Date] <=TODAY()))
By Project = CALCULATE(SUM(Financials[Actual Monthly Cost]),ALLEXCEPT(Financials,Financials[ProjectCode],Financials[Monthly Sum]))