Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 16 Oracle Analytics Lounge
- 216 Oracle Analytics News
- 43 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 79 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
OBIEE - Multi level hierarchy into single column

Hi,
I have a multi level tree account table with say parent level at level1 and leaf level in any of the child levels say level20. My fact table has data only for leaf level. My requirement is to aggregate all the levels into single column to show in report. For example, below is my table structure is
Acct Dim Table:
ACCT_SKEY | ACCT_LEVEL1 | ACCT_LEVEL2 | ……. | ACCT_LEVEL20 |
Fact Table:
ACCT_SKEY | Fact1 |
Thanks in advance. Nag
Answers
-
3459307 wrote: My requirement is to aggregate all the levels into single column to show in report.
What do you mean? A hierarchical column where you can drill into the data?
Please be precise about your requirements so proper help can be provided.
0 -
I concur with Christian, more detail please.
OBIEE does not provide rollup aggregation, if your data source is a database table / view then you would need to add the additional levels as explicit column(s) in that table, then default sum aggregation behaviour on those columns will do the rest for you, and if you can put them together in a data hierarchy then you will also get a drill behaviour similar in principal to MOLAP.
Alternatively but less performant you can also join to your fact table's base level members to a hierarchy table, base to base, and make the table self join in tree walking fashion, not as fast as the above option which flattens your hierarchy, but if you don't have the luxury of changing your ETL and can live with the performance then it is an option.
0 -
Thanks Christian, Robert for your quick reply.
My Account table structure:
My Fact table has data at leaf level. I am trying to create a report looks as below
I hope I gave the requirement , let me know if it is not clear.
Thanks,
Nag
0 -
So you just have a hierarchy that's ragged and skip-level. Still it's just a normal hierarchy object in the RPD:
0 -
Thanks again Christian. I looked into this, my requirement is little different, i.e., I don't want hierarchal view and then click + symbol to expand to see further. When I place acct column with measure, it should aggregate to all the levels and also we are going to create filters using this column.
Thanks Again for you time and inputs.
Regards,
Naga
0 -
Hello gurus any suggestions?
0 -
What you "want" is flattening the hierarchy...
Then again I put "want" into quotes sicne that already smells like you're already fixed on HOW you want to do things (compared to WHAT you want to do - i.e. fulfilling the requirement / business need).
Also your "example" with the "measures" doesn't help at all since your made up numbers look like they are non-additive and just show the value for a member in the level.
tl;dr - if you can't describe your requirement precisely and correctly we will have a hard time helping you with any pertinent solution. Be precise.
0 -
only 1 measure value for all levels? as it joins like that
0 -
Hi Christian,
Apologies for the confusion and delayed response. I don't have the solution yet. Attached are my table structures and the expectation is to show all the Accts (child's and then respective parents). Hope it gives better understanding of requirement.
Thanks again,
Nag
0 -
Unfortunately that is the requirement.
0