Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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!!