Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
alis2063
Creator III
Creator III

Max Quarter Spend

I am trying to calculate the Max Quarter Amount  based on below  calculation but it is throwing  Error,

NUM(sum({$<NCRQuarter={$(vMaxQuarter)}>} Actual_Amount), '###')


Where

vMaxQuarter='Q'&Max(ceil(month(NCRIdentificationDate)/3))

&

NCRQuarter='Q'&CEIL( MONTH(NCRIdentificationDate) / 3)


Please help.


1 Solution

Accepted Solutions
sunny_talwar

Try with double quotes

NUM(sum({$<NCRQuarter={"$(=vMaxQuarter)"}>} Actual_Amount), '###')

View solution in original post

4 Replies
sunny_talwar

May be try this

NUM(sum({$<NCRQuarter={'$(=vMaxQuarter)'}>} Actual_Amount), '###')

alis2063
Creator III
Creator III
Author

Hi Sunny,

Thanks for reply.

But it is still showing error as 'error in set modifier ad hoc element list'

sunny_talwar

Try with double quotes

NUM(sum({$<NCRQuarter={"$(=vMaxQuarter)"}>} Actual_Amount), '###')

alis2063
Creator III
Creator III
Author

THANKS for help dear..