Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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
Specialist III
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
Specialist III
Specialist III

you were missing the analysis closing bracket


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

Not applicable
Author

Thank you greatly!!