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
191
Views
6
Comments
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

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • 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.

  • 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.

  • 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.

  • Rank 2 - Community Beginner

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

  • Rank 7 - Analytics Coach

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

  • 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.

Welcome!

It looks like you're new here. Sign in or register to get started.