MDX query

  • Hi,

    I am using MDX query in my report.

    I want to concatenate two fields belonging to the same dimension table like empID and empName like

    empID - empName.

    I tried using "+" operator,but didnt work.

    Kindly help with examples.

     

    Thanks

    Arobind.B

  • Try

    empID & empName

  • It didnt work.

     

    Kindly help

  • Is your empID an int datatype?

    Try

    SELECT CAST (empID AS varchar(20)) + empName

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • Mine is an MDX not SQL.

    The integer data type didnt had any influence

  • Sorry, I was speaking beyond my knowledge level. *grin*

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply