cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a universe with oracle database

0 Kudos

I am trying to build a universe on an oracle database that was designed to be dynamic, meaning that all the data fields are in one table in different rows.  I am able to create dimensions using a Case Statement but queries will return results on different rows.  I realize that this is due to the data residing in one table in rows as opposed to columns but is there a way to build a business layer so that the results will be on one row? 

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Heather,

You may want to explore the options for Pivot/Unpivot in Oracle. The following link would help in understanding how to turn rows into columns and vice versa.

11g-pivot.html

Former Member
0 Kudos

Sample data and expected output might help us provide you more detailed solutions.

Former Member
0 Kudos

Hi Heather,

You need to use aggregate function on top of your case statement. May be using max.

Former Member
0 Kudos

Hi,

Have your tried converting your vertical table into a cross tab? Check if it helps.

Try sharing some screenshots with sample data if possible.

Regards,

Yuvraj

Former Member
0 Kudos

I would suggest to go for a Database view or a Derived table on Universe level if that suits your requirement.

Regards

Niraj