MDX - Converting Member Value to CDate
问题 I need to convert a member value from this format dd.MM.yyyy into a CDate. This was my trial: cdate(format([Date].[Date].CURRENTMEMBER.MEMBER_VALUE, "dd.MM.yyyy")) Source: http://www.datazen.com/blogs/post/working-with-dates-in-datazen-3-0 However, I get a type mismatch error, because the format function ist not working properly. I'm using a Microsoft Analysis Server. Do someone know a solution for this issue? 回答1: You need to create a measure when to extract the date. Here is a possible