Returns -1 if first date is less than second date, 1 if first date is greater than second date, and 0 if dates are equal..
...
DateCompare(date, date_to_compare)
Arguments
date | MDX expression that returns date |
---|---|
date_to_compare | MDX expression that returns date |
You can use also a string expression, that can be parsed with with DateParse, as any date argument.
Examples
...