Hi,
I´m triying to define a calculated member that when a date measure is greater than current day, it shows the current day:
CASE WHEN DateCompare([Measures].[Issue Target end],Now())=-1
THEN
[Measures].[Issue Target end]
ELSE NOW()
END
But it gives me this error:
Formula is not valid:
No function matches signature 'CASE WHEN <Logical Expression> THEN <Expression> ... END'
How can i get this?