Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
This may seem very straight forward. I have the following expression to sum Payment Category (Cash) on the current year.
Expression:
= num(sum({<[Fiscal Year] = {$(=vCurrentYear)} >} [Payment Category]='Cash'), '$#,##0')
I am not getting the correct number when this expression executes. Is there something incorrect with how I have written the above expression?
Thanks,
Matt
Try:
{'$(vCurrentYear)'}
That did not solve the issue.
It seems like [Payment Category]='Cash' should be part of the Set Analysis and there should be another field to sum (Amount). Hard to say without seeing your data model.
Your syntax is incorrect. What field are you trying to Sum?
-Rob
Figured it out. Thanks all.
=num(sum({<[Fiscal Year] = {'$(vCurrentYear)'},[Payment Category]={'Cash'}>} [Expense Amount USD]),'$#,##0')