I am using Max function which is throwing an exception during evaluation. Function is as follows
Max(
{ [Time].AllMembers },
[Measures].[All Tests in Execution Cummulative]
)
Exception is: #ERR: mondrian.olap.fun.MondrianEvaluationException: Expected value of type NUMERIC; got value 'Thu May 17 00:00:00 CEST 2018' (DATETIME)
without [Time].AllMembers it evaluates to a numeric number but with [Time].AllMembers it throws exception. Please help to resolve this issue.