3 Replies Latest reply: Dec 16, 2011 3:56 AM by Martina Brenner

# Combine two sum formulas

Hello,

How to combine into one formula:

Sum({\$<Year={\$(=Max(Year)-1)}, ST={'N'}>} BALANCE)+Sum({\$<Year={\$(=Max(Year)-1)}, ST={'N'}>} SUBCHARGE)

If I want to? Use sum total ?

Sum({\$<Year={\$(=Max(Year))}, STATUS={'Y'}>} BALANCE)+Sum({\$<Year={\$(=Max(Year))}, STATUS={'Y'}>} SUBCHARGE) then divide

Sum({\$<Year={\$(=Max(Year)-1)}, STATUS={'N'}>} TOTAL)

Thank you.

• ###### Combine two sum formulas

Hi,Sheann

what is your problem? It's possible like this:

Sum({\$<Year={\$(=Max(Year)-1)}, ST={'N'}>} BALANCE + SUBCHARGE)

Sum({\$<Year={\$(=Max(Year)-1)}, ST={'N'}>} BALANCE + SUBCHARGE) /

Sum({\$<Year={\$(=Max(Year)-1)}, STATUS={'N'}>} TOTAL BALANCE +SUBCHARGE)

Greetings from Munich

Martina

EVACO GmbH

• ###### Combine two sum formulas

Hi Martina,

Sum({\$<Year={\$(=Max(Year)-1)}, ST={'N'}>} BALANCE + SUBCHARGE) don't work. MY bar disappear after change to this formula.

• ###### Re: Combine two sum formulas

Hi, Sheann,

did you select a year? Set Analysis maybe exprect to select a year. I tried this expression in my application and it works fine.

Greetings from Germany

Martina

EVACO GmbH