Hierarchies in obiee
Hi. I am new to this environment.
Can anybody help me out in "How many types of hierarchies are there in obiee?"
There are two types of hierarachies.They are
Gerneral hie like year->month->Weak->day
Ragged hierac follow this link or multiple hie for a single dimension
http://www.rittmanmead.com/2008/08/27/ragged-hierarchy-handling-in-obiee
Venkat V
Similar Messages
-
Unbalanced hierarchies in OBIEE+
Hi everyone,
We're starting to research and learn OBIEE+ in an effort to see if it can compliment what we're currently doing with the Hyperion toolset and the first stumbling block that I've encountered is with unbalanced (ragged) hierarchies. Does OBIEE+ natively support building a business model with unbalanced hierarchies? My data model is basically a star schema and my dimensions are stored in parent / child relationship tables rather than generational tables. Second question is if there is any native functionality within the product to handle parent / child relationship tables.
Thanks!do search - There're few excellent blog posts describing in detail how to implement rugged hierarchies...
www.rittmanmead.com/2007/06/21/obiee-data-modeling-tips-3-ragged-hierarchies/
this one to get you started
Message was edited by:
wildmight -
Modelling Multiple Hierarchies in OBIEE 11g
Hi all,
I have a Product dimension:
Product Lv1 (the highest) to Product Lv4 (the lowest). Each has Code and Name columns. So in total, I have 8 columns for Product.
What I need is from Answers, if I drill on one of the Code column, I want the drill always on the Code columns (the 1st path below). But if I drill on one of the Name column, I want the drill always on the Name columns (the 2nd path below).
The 2 drill down paths that I need:
1st path:
Product Lv1 Code --> Product Lv2 Code --> Product Lv3 Code --> Product Lv4 Code
2nd path:
Product Lv1 Name --> Product Lv2 Name --> Product Lv3 Name --> Product Lv4 Name
Any advise on how to do this in the business model layer of the RPD? Thanks a lot!Hi Stewart,
If I understand the question correctly you should be able to create a logical dimension to solve the problem. With a top level called total with the grand total property checked. Then create two child levels one for the code path and the other for the name path.
Total
+ Product level 1 code
+ Product level2 code
+ etc
+ Product level 1 name
+ Product level 2 name
+ etc
This should define the different behaviour you describe.
Regards,
James
Edited by: user13059716 on May 23, 2012 3:44 PM -
Export OLAP 11G AW/Cubes to OBIEE 11g
Hi Experts,
If anyone has handled this assignment of exporting OLAP 11G AW/Cubes to OBIEE 11g, Please share all details. Currently we use BO for reporting requirements and before going ahead with OBIEE 11g would like to make sure there is not much of a gap. As of now we see a lot of incompatibility while exporting like some dims and cubes cannot be exported and so on. Any white paper/docs/information on this from experienced folks are welcome.
We are on 11.2.0.3 db release.
Thanks in advance,
MSHere is some basic information about importing 11g analytic workspace cube and dimension metadata into OBIEE.
There are two basic options as I suspect you already know:
Option 1) Before the release of OBIEE 11.1.1.5 (I believe), there was no native support for the OLAP option within the administrator tool of OBIEE, and
one needed to use the AwM plug-in to OBIEE. The AwM plug-in generates a UDML file which can be imported into OBIEE using the OBIEE admin tool.
The AwM plug-in to OBIEE generates metadata for the source, business model, and presentation layers. The very latest version of the AwM plug-in will specially
handle calculated measures created in AwM and create the proper calculcated measure expression in OBIEE. This is very important if you are querying above the cube
to get the correct aggregation results. One area that has limited support is if a dimension only has value-based hierarchies. The plug-in will create a very simple level-based
hierarchy to at least allow the dimension to be successfully created. You then need to do more work within the OBIEE administration tool to create the fully baked
value-based hierarchies. I do not have any real-world experience with value-based hierarchies in OBIEE. Again, the AwM plug-in to OBIEE works with level-based hierarchies
and supports multiple hierarchies per dimension. The AwM plug-in to OBIEE is available on the OTN download page for the OLAP option.
Here is the link: Oracle OLAP Downloads: Software & Samples
Option 2) OBIEE 11.1.1.5 and later allows for native integration for accepting OLAP 11g dimension and cube metadata as a supported source.
This integration makes the AwM plug-in somewhat obsolete (except for the calculated measure expression integration which is unique to the AwM plug-in and using
AwM to create calculated measures including time-based calculated measures)
Please expand on the incompatibility issues you are running into. Is this related to a lot of value-based hierarchies or other issues? -
Hi All,
we have a to create a hierarchy for the below type.
H1-->H2-->H3-->H5
-->H4
H1
|
H2
| |
H3 H4
|
H5
How to create this type of hierarchy..?
When we click on H1, H2 will display, when we click on H2, H3 and H4 should display, then clicking on H3 should disply H5.
Also how to restrict to either H3/H4 when we click on H2..???
Thanks.Hi,
you have to create ragged hyrearchy
see this link fo rdetails
http://sandybi.wordpress.com/2010/08/17/hierarchies-in-obiee-11g-part-1/
http://sandybi.wordpress.com/2010/08/18/hierarchies-in-obiee-11g-part-2/ -
Hi All,
I have been trying to figure out the new hierarchies in 11g and I am having some difficulties.
I have the following:
Products Sales
Prod 1 100
Prod 2 100
Prod 3 100
So I have set up a hierarchy for my products with Sales as a measure
When I see this in BI
- All Products -- 300
-- Prod 1 100
-- Prod 2 100
-- Prod 3 100
For some reason it is rolling up the total to 300. When I try and chart this pivot table it includes this rolled up amount ...
So in a bar graph i will get on the x axis
All Products Prod1 Prod2 Prod3
I only want to show Prod1 Prod2 Prod3
How do I stop this from rolling up. I am using a level based hierarchy
Should I be using a parent - child?
Thanks in advancehi cluless,
Follow these for hierarchies in obiee 11g.
http://blogs.oracle.com/robreynolds/2010/07/obiee11g_new_feature_-hierar.html
http://obieetalk.com/obiee-11gr1-support-ragged-skip-level-value-based-hierarchies#
Cheers,
KK -
Value based hierarchies, Skip Level Hierarchies
Hello,
I need to create hierarchy based on column value , Please give me some details on implementing value based hierarchies and skip level hierarchies in obiee 10.1.3.
Thank youWith 10.3 i do not think we have a inbuilt solution to build value based hierarchies, you have to flatten the hierarchy and build a level based hierarchy.
OBIEE 11g has value based hierarchies feature.
refer this one for 11g.
http://sandybi.wordpress.com/2010/08/17/hierarchies-in-obiee-11g-part-1/
- Madan
Edited by: Madan Thota on Sep 14, 2010 11:15 AM -
Default expanded hierarchy in OBIEE
Hi,
I have designed product hierarchy. It's working as desired. Product Category is at first level with a drill down symbol (+). When I click on that '+', it drills down to Product Subcategory. Similarly I can navigate to products by clicking '+' symbol further. Now I have a requirement where in I have to show all levels opened at a time, so that end user can see detailed data first, then they can drill up to required level.
Thanks,Hi Welcome,
Please refer the following links, Here step by step with screen shots.
https://blogs.oracle.com/robreynolds/entry/obiee_11g_new_feature_-_hierar
http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-parent-child-hierarchies-differing-aggregations/
http://sandybi.wordpress.com/2010/08/17/hierarchies-in-obiee-11g-part-1/
Award Points it is useful.
Thanks,
Satya -
Drill across multiple hierarchies
Hi
how we will drill across multiple dimensional hierarchies in obiee.pls explain
regards
mervinHi,
Use preffered drill path option in hierarchy,which helps you drill from one hierarchy to other hierarchy.
Go through this..will give yu good idea : http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_BusModSetup20.html#wp1017814
Regards,
Srikanth -
No Results after build a Parent-Child Hierarchy in OBIEE11G
Hi All:
Here's an problem. I followed the "http://sandybi.wordpress.com/2010/08/17/hierarchies-in-obiee-11g-part-1/" this article step by step to create a parent-child hierarchy in admin tool in OBIEE11G.
But after check in and try to retrieve the hierarchy data in Answer. There's always displays "No Results."
Is there any suggestions for this ? Really urgent and thanks for your help.
Best regards
Sunny@Aketi
It is One way that We derive
"sys_connect_by_path(RowIDToChar(RowID),'.') as
RowIDList"
Then
We use Left Join Using
"instr(RowIDList,RowIDToChar(RowID))".sorry, didn't catch what you mean.
my site :-)
http://oraclesqlpuzzle.hp.infoseek.co.jp/4-13.html
pity, I don't know Japanese :(
@Rob
your query is good and simple :) probably it's the best alternative for the OP.
But it won't work with not a plain hierarchy, e.g.:
1
2 3
4
5 6
SQL> create table hierarchy (child,parent)
2 as
3 select 1, null from dual union all
4 select 2, 1 from dual union all
5 select 3, 1 from dual union all
6 select 4, 3 from dual union all
7 select 4, 2 from dual union all
8 select 5, 4 from dual union all
9 select 6, 4 from dual
10 /
Table created
SQL>
SQL> create table data (hierarchyid,value)
2 as
3 select 5, 10 from dual union all
4 select 6, 25 from dual
5 /
Table created
SQL>
SQL> select h.child
2 , sum(connect_by_root d.value)
3 from hierarchy h
4 , data d
5 where h.child = d.hierarchyid (+)
6 connect by prior h.parent = h.child
7 group by h.child
8 order by h.child
9 /
CHILD SUM(CONNECT_BY_ROOTD.VALUE)
1 70
2 35
3 35
4 70
5 10
6 25
6 rows selected
SQL> -
OBIEE 11g best practice - when to use the new "presentation hierarchies"
Hi, maybe a dumb question, but what are the rules of thumb for when to expose a presentation hierarchy to end users. Obviously this must be done when using a parent / child hierarchy, as there is no level info that would allow drilling the "10g" way. However, I'm not so sure what the bonuses / drawbacks are when using level based hierarchies.
I have noticed that the SQL seems more complex and less performant when using the hierarchy. As an example, I have a simple dimension (business unit) that has a hierarchy with a total level, and 3 members in the detail level.
If I create this as a 10g style report, I add business unit column, dollar amounts, and a table total (so I can see grand total amounts), the SQL launched looks like this:
WITH
SAWITH0 AS (select sum(1) as c1,
sum(T45393.SPEND_AMOUNT) as c2,
T45273.BUSINESS_UNIT_CODE as c3
from
DIM_BUSINESS_UNIT T45273,
FACT_SPEND_ANALYTICS T45393
where ( T45273.BUSINESS_UNIT_KEY = T45393.BUSINESS_UNIT_KEY )
group by T45273.BUSINESS_UNIT_CODE)
select distinct 0 as c1,
D1.c3 as c2,
D1.c2 as c3,
D1.c1 as c4,
0 as c5,
0 as c6
from
SAWITH0 D1
This is simple and efficient, and OBIEE "knows" the grand total can be calculated by simply summing the business unit totals together.
But if I create this as an 11g style report using the presentation hierarchy, with all members selected (so I can get the detailed business units plus the grand total), the SQL is much less efficient, it actually fires two queries - one for the detail level, another for the total level:
WITH
SAWITH0 AS (select distinct sum(1) as c1,
sum(T45393.SPEND_AMOUNT) as c2
from
FACT_SPEND_ANALYTICS T45393)
select distinct 0 as c1,
NULL as c2,
'All Business Units' as c3,
1 as c4,
NULL as c5,
D1.c2 as c6,
D1.c1 as c7
from
SAWITH0 D1
AND
WITH
SAWITH0 AS (select sum(1) as c1,
sum(T45393.SPEND_AMOUNT) as c2,
T45273.BUSINESS_UNIT_CODE as c3
from
DIM_BUSINESS_UNIT T45273,
FACT_SPEND_ANALYTICS T45393
where ( T45273.BUSINESS_UNIT_KEY = T45393.BUSINESS_UNIT_KEY )
group by T45273.BUSINESS_UNIT_CODE)
select distinct 1 as c1,
D1.c3 as c2,
'All Business Units' as c3,
1 as c4,
D1.c3 as c5,
D1.c2 as c6,
D1.c1 as c7
from
SAWITH0 D1
Not only does this fire off two queries - but it doesn't use the existing cache for the "detail" level generated by the "non-hierarchy" query.
So I'm trying to figure out pros and cons of exposing hierarchies for end users. I've come up with the following:
Pros:
- Users can click on the + and - signs to drill / collapse individual members while still keeping all other members on the report
Cons:
- Queries fired at all levels, doesn't seem like it's smart enough to figure out it doesn't need to send a level query to database if all children were already queried
- In 10g if I want to expand all children (i.e. drill down all quarters to the month level) I could just click on the column header. Doesn't appear to be any way to do that using the hierarchical drills, I have to click each and every one to see all the months.
Any insights would be appreciated!
Thanks,
ScottHi, no, I haven't tried setting options such as "report based totals" - simply because I wouldn't want an option that requires users to tweak settings on each and every report they create to get stuff working efficiently.
Thanks,
Scott -
OBIEE 11.1.1.6 different layer hierarchies
Hi experts,
I want to know whether the following layout is implemented. How to create different layer hierarchy in BMM in OBIEE 11.1.1.6?
If it does work , I want to drag this hierarchy into presentation. Please help me as soon as possible. Thanks.
For example:
Presentation Hierarchy
Total
---Region
-----District
---------Brand
-------------Product Type
-----------------Product DetailHi SPowell42,
I am using OBIEE 11.1.1.6 to design and develop anything.
I have searched some related help information in RPD, and found 'modeling dimensions with multiple hierarchies in the presentation layer ' title which introduced some simple hierarchy information,such as
Country
--Region
-----City
-------Supplies
-------------Product
-------------------Product detail.
I am not sure whether it can do different layer hieiarchy in hieiarchy persenation. Maybe the sample column data stored in one table, however, it is my assumption. -
Updating Physical Cube Tables and Hierarchies OBIEE 11.1.1.7
OBIEE 11.1.1.7
I have imported a MSAS Cube, modeled it and created a presentation layer. I now have some new hierarchies I need to add to the phyicial layer.
How do you import new Cube Tables and/or Hierarchies?
When I select the Import option it creates a new OLAP database and connection pool, I am unable to successfully move those changes into the existing OLAP Connection.
I have been through the documentation and it reccomends importing over a manual process. However I am unable to figure out how to do this with the import process.
Oracle® Fusion Middleware Metadata Repository Builder's Guide for Oracle Business Intelligence Enterprise Edition
11g Release 1 (11.1.1) Part Number E10540-05
Chapter 8 Working with Physical Tables, Cubes, and Joins
There is a section called Working with Multidimensional Sources in the Physical Layer, in this section is says
"Each multidimensional catalog in the data source can contain multiple physical cubes. You can import the metadata for one or more of these cubes into your Oracle BI repository. Although it is possible to create a cube table manually, it is recommended that you import metadata for cube tables and their components"
The New Utilities feature(s) is really cool, but it doesn't work for OLAP connections.
Any help is greatly appreciated.Hi Michael,
it works, but its a bit tricky. I did it with Oracle OLAP and I think it must be similar with other OLAP Databases.
Rename your existing Database in Physical Layer to the name Metadata Import dialog would create. With Oracle OLAP the "Data Source Name" ist used. Just try it once.
Unfortunately you can not merge dimensions and cubes as it is with relational Objects . So you have to delete the cube and dimensions you will import from you renamed Database in Physical Layer. Of course the mapping between physical and business model will be lost
Now you can import your modified OLAP-Cubes and Dimensions and it should be placed in your renamed Database in Physical Layer
Open the sources of your logical tables in business model and add the Dimensions or Cubes in the "General" Tab. Move to the Tab "Column Mapping" and check if mapping is OK. If not (this will be the case, if you customized the column names), you have to do the mapping from the scratch .
I recommend to use the original names from the data source. If you need another name for a column, just create a new logical column and use "Derive from existing columns". Now you can reimport OLAP Metadate quicker because the Mapping is done automatically.
Hope this helps
Regards Claus -
Multiple Hierarchies from Single Dimension Table in OBIEE-11g?
Is it possible to have Multiple Hierarchies from Single Dimension Table in OBIEE-11g?
Like 1)Year-Qtr-Month-Weeks 2)Year-Month-DaysHi,
or if your lowest level is the same like
Day->month->year->Total
Day->businessMonth->businessyear->Total
Then yes, it is.
Create the first, then you start to create the second by adding your top(business year) level on the same level as the one you have (year) both under your total.
Then when you would add your second base level, there is a special option for it, something like use other hierarchy level/shared level (sorry can't recall and does not have a connection right now) then you select your existing day level under your businessmonth level.
Hope this helps,
Regards,
D -
OBIEE and Oracle OLAP Value Based Hierarchies
Hi there...
I have a value based dimension built on Oracle OLAP and want to map it on OBIEE Administration tool.
I've been using the above link as reference:
http://www.oracle.com/technology/obe/olap_biee/CreateBIEEMetadata.htm
There's no option to import from Oracle Multi-dimensional Database. Either to import/configure the view created by OLAP as an Unballanced or Ragged Dimension.
I also checked this example, but it uses ESSBASE as the multi-dimensional source....
http://www.rittmanmead.com/2008/08/27/ragged-hierarchy-handling-in-obiee/
How to map this Ragged Dimension created in OLAP workspace in OBIEE? Any suggestions or directions will be highly appreciated...
Thanks in advance
MarcosMark and others,
You can create OLAP_TABLE views with level columns on top of value-based hierarchies. BI Beans used to do that too behind the scenes in Discoverer Plus OLAP. If you trace the Discoverer session, where you are querying data from Value-based hierarchies, you will see that it also generates OLAP_TABLE views with level columns in it.
So the question is how to do it. Internally, even for Value-based hierarchies Oracle OLAP keeps track of the "depth" of each value by using a structure called GID_DIMENSION (i.e., Grouping Dimension). Here is an example of a view on top of a value-based hierarchy (CFC_ACCT_GAPP) for RPT_ACCOUNT dimension. You have to know how "deep" your value-based hierarchy is.
Similar kind of a thing is done by OLAP View Generator application, which I never use - since I always prefer to define my own OLAP_TABLE views.
This kind of a view can then be used in the RPD of OBIEE.
select *
FROM table(OLAP_TABLE ('AW duration session',
*'DIMENSION RPT_ACCT_ID FROM RPT_ACCOUNT WITH*
HIERARCHY RPT_ACCOUNT_GAAP_PARENT FROM RPT_ACCOUNT_PARENTREL(RPT_ACCOUNT_HIERLIST ''CFC_ACCT_GAAP'') INHIERARCHY RPT_ACCOUNT_INHIER
HATTRIBUTE RPT_ACCOUNT_GAAP_LVL_NUM FROM RPT_ACCOUNT_DEPTHVAL
FAMILYREL RPT_ACCOUNT_GAAP_LVL1,
RPT_ACCOUNT_GAAP_LVL2,
RPT_ACCOUNT_GAAP_LVL3,
RPT_ACCOUNT_GAAP_LVL4,
RPT_ACCOUNT_GAAP_LVL5,
RPT_ACCOUNT_GAAP_LVL6,
RPT_ACCOUNT_GAAP_LVL7,
RPT_ACCOUNT_GAAP_LVL8
FROM RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 127),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 63),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 31),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 15),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 7),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 3),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 1),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 0)
FAMILYREL RPT_ACCOUNT_GAAP_LVL1_DSC,
RPT_ACCOUNT_GAAP_LVL2_DSC,
RPT_ACCOUNT_GAAP_LVL3_DSC,
RPT_ACCOUNT_GAAP_LVL4_DSC,
RPT_ACCOUNT_GAAP_LVL5_DSC,
RPT_ACCOUNT_GAAP_LVL6_DSC,
RPT_ACCOUNT_GAAP_LVL7_DSC,
RPT_ACCOUNT_GAAP_LVL8_DSC
FROM RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 127),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 63),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 31),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 15),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 7),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 3),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 1),
RPT_ACCOUNT_FAMILYRELVAL(GID_DIMENSION 0)
LABEL RPT_ACCOUNT_LONG_DESCRIPTION
ATTRIBUTE ACCOUNT_LDSC FROM RPT_ACCOUNT_LONG_DESCRIPTION
ATTRIBUTE ACCOUNT_SDSC FROM RPT_ACCOUNT_SHORT_DESCRIPTION
ATTRIBUTE ACCOUNT_TYPE FROM RPT_ACCOUNT_TYPE
ATTRIBUTE SOURCE_LEVEL FROM RPT_ACCOUNT_LEVEL
ATTRIBUTE CALCULATION FROM RPT_ACCOUNT_CALCULATION
ATTRIBUTE CALC_DATA FROM RPT_ACCOUNT_CALC_DATA
ATTRIBUTE GAAP_SORT_ORDER FROM RPT_ACCOUNT_GAAP_SORT_ORDER
ATTRIBUTE RATIO FROM RPT_ACCOUNT_RATIO
ATTRIBUTE ACCOUNT_LEVEL FROM RPT_ACCOUNT_LEVELREL'))
Maybe you are looking for
-
I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been
-
Firefox crashing when downloading pictures.
Whenever I try to download a picture file (.pgn, .jpg etc), Firefox stops working and I either have to wait for it to close or terminate the process myself. Picture files will be downloaded despite of Firefox crashing, and they are not corrupted or i
-
10.8.4 update error
My laptop is a early 2008 version Mac BookPro 15" display, below are details of my laptop. ================================ Model Name: MacBook Pro Model Identifier: MacBookPro4,1 Processor Name: Intel Core 2 Duo Pr
-
Attempting to copy to the disk "IPOD" failed.
message on comp: Attempting to copy to the disk "IPOD" failed. The disk could not be read from or written to. help?
-
Unable to connect and yet...
I have signal, and my iPad says that it is connected yet when I try to view a web page or play an online game the applications says there is no connection. It is only hit and miss when I go as far a White City Oregon. I'm in Eagle Point and was told