Problem concatinating strings

  • Hi all,

    I have a dimension Time: Year/Quarter/Month.

    For the quarter it displays only a number (1,2 and 3)

    Member name column:{fn QUARTER("AAW"."ABPA_C903_CY"."POSTING_DATE")}

    It's more readable when there's a text saying "Quarter 1"...

    So I tried CONCAT('Quarter',:{fn QUARTER("AAW"."ABPA_C903_CY"."POSTING_DATE")})}

    but received an error: Column is not valid.

    This has something to do with the driver I'm using (Oracle). Is there a solution to overcome this error and when displayed I see "Quarter 1"...

    Thanks in advance.

    Kind Regards,

    Bart

  • Hi Bart,

    have you tried the concatenation operator of || (pipe pipe)?

    So your formula would be

    'Quarter ' || {fn QUARTER("AAW"."ABPA_C903_CY"."POSTING_DATE")}

    If this doesn't work, do you need to specify the Concat function as a function like you have with the Quarter function? (ie use {fn CONCAT(....)} )

    Hope this helps.

    Steve.

    Steve.

  • Hi Steve,

    Thanks for your info.

    It worked !

    Regards,

    Bart

Viewing 3 posts - 1 through 2 (of 2 total)

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