Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
Anybody could help me on this.
What could be wrong with this expression
Sum({$<Invoice_MonthYear={$(MaxYearMonth)}>}INVOICE_AMOUNT)
Knowing that $(MaxYearMonth)=201404.
If I replace the variable above with its value like:
Sum({$<Invoice_MonthYear={'201404'}>}INVOICE_AMOUNT) it returns the right value but when i replace it with the variable above it returns error!
try:
Sum({$<Invoice_MonthYear={$(=MaxYearMonth)}>}INVOICE_AMOUNT)
try below
Sum({$<Invoice_MonthYear={$(=MaxYearMonth)}>}INVOICE_AMOUNT)
updated
Sum({$<Invoice_MonthYear={$(=Max(YearMonth))}>}INVOICE_AMOUNT)
Regards
ASHFAQ
Still the same error
share application
Maybe
Sum({$<Invoice_MonthYear={'$(MaxYearMonth)'}>}INVOICE_AMOUNT)
like this
Sum({$<Invoice_MonthYear={$(=Max(Invoice_MonthYear))}>}INVOICE_AMOUNT)
Regards
ASHFAQ
I am still getting the error..
Unfortunately I cannot share the app. I have used the same expression somewhere else and it worked..Not sure if the expression is not recognizing the value of the variable..
Let me know your thoughts.. and thank you for all your help!
Please attach example. It is difficult to guess without a view...
try this....
Sum({$<Invoice_MonthYear={"$(=Max(YearMonth))"}>}INVOICE_AMOUNT)
If still not working.. pls share the application....