Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Upper case function in MDX

$
0
0

Hi Experts,

I would like to convert Upper cases to First Letter Upper remaining Lower and where space Occurs then Upper and Lower.

at the Moment I have letters like this JOHN BRAIN

So I would like to convert them into John Brain

this is my code

WITH MEMBER [Measures].[ParameterCaption] 
AS LCASE([Dim_Sales].[Name].CURRENTMEMBER.MEMBER_CAPTION )

SELECT {[Measures].[ParameterCaption]} 
ON COLUMNS , 
[Dim_Sales].[Name].[Name]

  DIMENSION PROPERTIES 
    MEMBER_CAPTION
   ,MEMBER_UNIQUE_NAME
   ON ROWS  

FROM [Cube] 

Can anyone Guide me through please

Thanks,

RK


Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>