OBIEE - concat rows with strings — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBIEE - concat rows with strings

Received Response
204
Views
6
Comments
3427784
3427784 Rank 4 - Community Specialist

Hello all -

I am working with web analytics and trying to concatenate multiple rows of strings against a dimension. I have a session ID (column) which has multiple rows of data (another column) and would like to have this column strings together vs. being separated on a row basis.

Example - for the first one, I'd like the strings to be on one line against the "Session_ID" separated with commas. I have tried using the concat function in OBIEE but it is not properly adding them together. Any suggestions are welcomed as I hope that can provide some guidance.

Thank you,

Andrew

Answers

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    Hi Andrew,

    Yeah that's not how OBI works ;-)

    Best you go for something like LISTAGG in an EVALUATE to acheive this.

  • 3427784
    3427784 Rank 4 - Community Specialist

    Christian, thanks so much for your prompt reply. I will give that a shot here soon and will keep you posted.

  • Sherry George
    Sherry George Rank 7 - Analytics Coach

    Just to add a small (obvious) detail, the exact function you use  (like LISTAGG) will depend on which database you are using.

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    Yeah that's why I said "something like" ;-)

  • Sherry George
    Sherry George Rank 7 - Analytics Coach

    I know I was at the risk of stating the obvious. Should have kept quiet

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    No you shouldn't. It's good to point it out!

    I was just trying to be funny since it's Friday night.