Forum Discussion

StidifordN's avatar
StidifordN
Helper III
3 years ago

Calculated Graph line +5% from existing value

Morning all, 

 

Looking to have a 'Target' line included, that is a calculated value 5% higher than the 'Previous Year' figures.  What is the best way to achieve this?

The spend figure is a cumulative figure - formula below.

Total Spend AU Cumulative = 
CALCULATE(
SUM(APAll[NET_AMOUNT_AU]),
FILTER(ALLSELECTED(APAll[ReportingMonth]),
ISONORAFTER(APAll[ReportingMonth],MAX(APAll[ReportingMonth]),DESC)))

 

The legend formula is below

CY Graph Format = 
Switch(True(),
YEAR(APAll[PTRN_POSTED])=YEAR(TODAY()),"Current Year",
YEAR(APAll[PTRN_POSTED])=YEAR(TODAY())-1,"Previous Year","")

 

 

Cheers 🙂

1 Reply