Forum Discussion
cumulative running total formula that doesnt continue to display past the values entered
- Anonymous9 years ago
Hi Nikki,
I note that you have renamed ProjectActuals measure to Project Actuals.
Right-Click your table and select "New measure", then enter one of following formula and check the result.ActualRunning = CALCULATE(Financials[Project Actuals],FILTER(ALLSELECTED(Financials[Month]),Financials[Month]<=MAX(Financials[Month])&& MONTH(MAX(Financials[Month]))<=MONTH(TODAY())+1))
ActualRunning = CALCULATE(Financials[Project Actuals],FILTER(ALLSELECTED(Financials[Month]), ISNOORAFTER(Financials[Month],MAX(Financials[Month]),DESC)&& MONTH(MAX(Financials[Month]))<=MONTH(TODAY())+1))
If the issue still occurs, please share sample data of your table or share me the PBIX file.
Thanks,
Lydia Zhang
Hi Nikki,
You mean that [ProjectActuals] is a measure, right? If so, what is the result when you use one of the following formulas to create your measure?
ActualRunning = CALCULATE(Financials[ProjectActuals],FILTER(ALLSELECTED(Financials[Month]),Financials[Month]<=MAX(Financials[Month])&& MONTH(MAX(Financials[Month]))<=MONTH(TODAY())+1))
ActualRunning = CALCULATE(Financials[ProjectActuals],FILTER(ALLSELECTED(Financials[Month]), ISNOORAFTER(Financials[Month],MAX(Financials[Month]),DESC)&& MONTH(MAX(Financials[Month]))<=MONTH(TODAY())+1))
Thanks,
Lydia Zhang
yes it is a measure you are right. i created it from the quick measures. below is a screenshot. hope this helps - thanks heaps
- Anonymous9 years agoNot applicable
Hi Nikki,
I note that you have renamed ProjectActuals measure to Project Actuals.
Right-Click your table and select "New measure", then enter one of following formula and check the result.ActualRunning = CALCULATE(Financials[Project Actuals],FILTER(ALLSELECTED(Financials[Month]),Financials[Month]<=MAX(Financials[Month])&& MONTH(MAX(Financials[Month]))<=MONTH(TODAY())+1))
ActualRunning = CALCULATE(Financials[Project Actuals],FILTER(ALLSELECTED(Financials[Month]), ISNOORAFTER(Financials[Month],MAX(Financials[Month]),DESC)&& MONTH(MAX(Financials[Month]))<=MONTH(TODAY())+1))
If the issue still occurs, please share sample data of your table or share me the PBIX file.
Thanks,
Lydia Zhang - Nikki9 years ago
Helper II
also this is the formula for project actuals ( the measure)
Project Actuals = [DateValue for Project Costs for Actuals - Capex] + [DateValue for Project Costs for Actuals - Opex]
and below are formulas for both above too - also measures :)
DateValue for Project Costs for Actuals - Capex =
CALCULATE(
'Financials'[DateValue for Project Costs],
TREATAS({("Actuals - Capex")}, 'Financials'[Title])
)DateValue for Project Costs for Actuals - Opex =
CALCULATE(
'Financials'[DateValue for Project Costs],
TREATAS({("Actuals - Opex")}, 'Financials'[Title])
)