Team,
I am trying to add a custom query script in my WEBI report Query Panel. All im trying to do is add a Where statement to look at any date greater than 12 months ago.
SAP BusinessObjects BI Platform 4. Support Pack 6 Patch 2
Version 14.1.6.1785
The line that's failing is:
WHERE
(
Table_2."IDAT2_CONV" > DATEADD(mm, -12, GETDATE())
Its saying "Invalid name of function or procedure: DATEADD: line 150 col 29.
It was working with the BETWEEN function below.
WHERE
(
Table_2."IDAT2_CONV" BETWEEN '2014-01-01 00:00:00' AND '2015-10-19 00:00:00'