Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Sum(ACTUAL)/({$<YEAR = {$(=Max(YEAR))}>}$(=$(=vActual))*100)
The above expression is not working. Pls help me to correct it
Hi,
Try like
Sum(ACTUAL)/({$<YEAR = {"$(=Max(YEAR))"}>} $(vActual))*100)
Regards,
Hi
Not sure what you are trying to achieve, but you are missing an aggregation function (Min, Mx, Sum, Count etc) here:
V
Sum(ACTUAL) / ({$<YEAR = {$(....
HTH
Jonathan
Not working please
What I am Trying to achieve is to calculate a ratio where $(vActual) is variable. That variable I want to apply to a particular that is selected by user
Hi,
my bad
try this,
Sum(ACTUAL)/Sum({$<YEAR = {"$(=Max(YEAR))"}>} $(vActual))*100)
or
Sum(ACTUAL)/Sum({$<YEAR = {"$(=Max(YEAR))"}>} vActual)*100)
Regards
Have you tried this?
Sum(ACTUAL) / vActual * 100
That is working. But I want to specify Selected year and and in another expression Year-1
Still not working
my vActual variable=sum({$<DESCRIPTION={'GROSS_PREMIUM'}>}ACTUAL)
Then please use GetfieldSelections() function with field name will help you better.