SSRS Mdx query to get date format in European style dd/MM/yyyy
To get the date format in European style that is dd/MM/yyyy then we need use Cdate function
Example:
MEMBER MyPeriod1 as CASE @Granularity WHEN "M" THEN ([Date].[Hierarchy].currentmember.parent.member_caption+"/"+[Date].[Hierarchy].currentmember.member_caption)
else Format(CDate([Date].[Hierarchy].currentmember.member_caption),"dd/MM/yyyy")
end
Example:
MEMBER MyPeriod1 as CASE @Granularity WHEN "M" THEN ([Date].[Hierarchy].currentmember.parent.member_caption+"/"+[Date].[Hierarchy].currentmember.member_caption)
else Format(CDate([Date].[Hierarchy].currentmember.member_caption),"dd/MM/yyyy")
end
Comments
Post a Comment