Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a date field i.e ACCIDENT_DATE.In the date field i have the data from 2001 to 2016.
It has to be done in Dynamically in Script only.Please help me to do.If possible please attach the sample qvw file.
Check this example, just removed 'Year=' from what Kushal has suggested
Hi Bhavvi,
try like below
ACCIDENT_DATE=<=$(max(ACCIDENT_DATE))
in your expression.
Regards
Tripati
try below expression
=Sum({<Year = {">=$(=max(Year)-5)<=$(=max(Year))"}, Year=>}Amount)
Check this example, just removed 'Year=' from what Kushal has suggested
Also not sure why you would want this to be done in script, you may need to you asoftable concept along with flag creation to identify 5 years window in the front end.
Thank you so much Digvijay for the above attachment file. Can you please upload the Sample Qvw file with flag creation.