I have a report in Business Objects XIR2 and I'm trying to create a variable to insert into the report using the Where operator. To start with, I created the following variable called "Months Between":-
= If (MonthsBetween(<Take On Date> ,CurrentDate()))>25 Then 1 Else 0
No problem with this at all. I then create a second variable:-
=Count(<Account Number>) Where (<Months between> = 1)
However, when I click OK to this second variable I get the error message "Syntax Error (DMB0007)". Is there any way round this?
= If (MonthsBetween(<Take On Date> ,CurrentDate()))>25 Then 1 Else 0
No problem with this at all. I then create a second variable:-
=Count(<Account Number>) Where (<Months between> = 1)
However, when I click OK to this second variable I get the error message "Syntax Error (DMB0007)". Is there any way round this?