Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Num(Sum Error

I'm hoping someone can help with this expression.  The first expression I have working with no issues:

='Actual - ' & num(sum([AE Expense Amount]), '$#,##0')

This one not so much.  I would like to get the sum of the expense field for the  current year inly without having to hard code it.  Any help is greatly appreciated.

='Actual - ' & num(sum({<Year={$(=$(vCurrYear))},[AE Expense Amount]), '$#,##0')

1 Solution

Accepted Solutions
ramoncova06
Partner - Specialist III
Partner - Specialist III

you were missing the analysis closing bracket


='Actual - ' & num(sum({<Year={"$(=$(vCurrYear))"}>}[AE Expense Amount]), '$#,##0')

View solution in original post

2 Replies
ramoncova06
Partner - Specialist III
Partner - Specialist III

you were missing the analysis closing bracket


='Actual - ' & num(sum({<Year={"$(=$(vCurrYear))"}>}[AE Expense Amount]), '$#,##0')

Not applicable
Author

Thank you greatly!!