Hyperion Essbase (MOSC)

MOSC Banner

MDX DateDiff([08/01/2011],[07/31/2011],DP_DAY) gives zero

edited Nov 18, 2011 7:07PM in Hyperion Essbase (MOSC) 5 commentsAnswered
The outline has a Date dimension with Time type. The members are of mm/dd/yyyy format. I am trying to get the datediff function to work. I am always getting zero.

Tried the dateex function to convert the mm/dd/yyyy, but couldn't. Need help here 

CASE when IsLevel([Date].CurrentMember,0) THEN
DateDiff([08/01/2011],[07/31/2011],DP_DAY)
END

CASE when IsLevel([Date].CurrentMember,0) THEN
DateDiff([07/31/2011],[08/01/2011],DP_DAY)
END

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center