Creating a dimension
I'm making a dimension through OMB. But when i validate my dimension i get errors and warnings.
Error:
Level attribute x is not bound to a column in a table or updateable view.
How can i solve this?
Each attribute defined in the ATTRIBUTES tab of the dimension editor needs to be assigned to a level of the hierarchy in the LEVELS tab. For each attribute set the 'applicable' check box against the appropriate level(s).
Once this is done use AUTOBIND to rebind the dimension (or MANUAL if you prefer).
Cheers
Si
Similar Messages
-
Error while creating user dimension in awm
Hi,
I am new to awm. I am trying to create a dimension in my workspace, but i receive an error after i click 'create'. When i check the detailed error, i think its something to do with the OLAP_TABLE. Please find the error message below,
===================================================
Your metadata changes have been saved, with the following errors
Invalid Metadata Objects:
Invalid Object "TAN.TICKERSYMBOL": "CREATE OR REPLACE VIEW "TAN"."TICKERSYMBOL_VIEW" AS SELECT "DIM_KEY", "LEVEL_NAME", "MEMBER_TYPE", "DIM_ORDER", "LONG_DESCRIPTION", "SHORT_DESCRIPTION" FROM TABLE(CUBE_TABLE('"TAN"."TICKERSYMBOL"') )
ORA-00902: invalid datatype "
====================================================
Please advise.Which version of the database (not AWM!) are you using? (e.g. 11.2.0.3)
My guess is that there is a problem with your OLAP installation and that you will need to open a service request to get it resolved. But the following may help us to track down the problem.
alter session set events='902 trace name errorstack';
alter session set tracefile_identifier=OLAP;
SELECT
"DIM_KEY",
"LEVEL_NAME",
"MEMBER_TYPE",
"DIM_ORDER",
"LONG_DESCRIPTION",
"SHORT_DESCRIPTION"
FROM TABLE(CUBE_TABLE('"TAN"."TICKERSYMBOL"') )
Once you have run this (in a single session), look for a trace file containing the word OLAP in its file name. It should contain a stack trace that will tell us where the ORA-00902 is being raised. The trace file will be long, but the interesting part begins like this:
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
skdstdst()+29 call kgdsdst() 7FFFADE14590 ? 000000000 ?
7FFFADDF6E50 ? 7FFFADDF6F68 ?
7FFFADE14C48 ? 7FFFADE14540 ?
ksedst()+112 call skdstdst() 7FFFADE14590 ? 000000000 ?
If you can find this, please copy it in reply. -
How to Create a Dimension Table in OBIEE11g
Hello,
Chapter 9, page 221(if pdf) of the Build Repository manual of OBIEE 11g explains following.
Creating Dimensions in Level-Based Hierarchies
After creating a dimension, each dimension can be associated with attributes
(columns) from one or more logical dimension tables and level-based measures from
logical fact tables. After you associate logical columns with a dimension level, the
tables in which these columns exist appear in the Tables tab of the Dimension dialog.
To create a dimension with a level-based hierarchy:
1. In the Business Model and Mapping layer of the Administration Tool, right-click a
business model and select New Object > Logical Dimension > Dimension with
Level-Based Hierarchy.
Note that this option is only available when there is at least one dimension table
that has no dimension associated with it.I am still learning OBIEE, and I can not see the dimension menu item as per point 1 becuse i do not have dimension table associated with it. All I have done at this point is to create logical tables based on few physical tables in physical layer.
How do I create Dimension Tables? using BI Admin tool?
Thanks,RHi Rich,
If you are new to Oracle BI, you would better start with the Oracle Learning Library; http://apex.oracle.com/pls/apex/f?p=9830:41:0::NO:RIR:IR_PRODUCT,IR_PRODUCT_SUITE,IR_PRODUCT_COMPONENT,IR_RELEASE,IR_TYPE,IRC_ROWFILTER,IR_FUNCTIONAL_CATEGORY:,BI,,,,,
You create dimensions based on your logical tables. In a plain star-schema you would have one logical fact table and at least one or more logical dimension tabes attached (joined) to the fact table. Just follow the documentation and you would be good to go.
Good Luck,
Daan Bakboord
http://obibb.wordpress.com -
Unable to create logical dimension in bmm layer
Hi all,
I am not able to create a logical dimension hierarchy in the bmm layer of the rpd.
when I right click on the table I am not able to find the create logical dimension option in the popup window.
could you please help me out in this?
In the logical table we have data from sql statement also.
Thanks!Create Dimensions is only available if the selected logical table is a dimension table (defined by 1:N logical joins) and no dimension has been associated with this table.
To create a dimension automatically, the Administration Tool examines the logical
table sources and the column mappings in those sources and uses the joins between physical tables
in the logical table sources to determine logical levels and level keys.
Hope you have defined the Logical join in BMM before looking for this option. If joins are not defined, this option won't come.
Refer http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31770.pdf
Page 133, Creating Dimensions Automatically
Hope its useful -
Duplicate attribute key found when creating a dimension
Good Afternoon,
I created a cube with dimesnions and all is working fine. I created three dimension ZONE,BLOCK and STREET and these are reltated to the FACT table and all is well. But i was thinking since these 3 dimensions are related and coming from the same table, why
not just create one dimension with ZONE as the primary key and the heirarchy as zone>block>streetname. In the DSV i created a named query.
SELECT DISTINCT ZONE, BLOCK, STREET
FROM dbo.MYTABLE
group by zone,block,street
order by zone,block,street
Please see the sample dataset as well, where when i process the DIMENSION fails with an error that the "Duplicate attribute key was found, column name:Zone, value:1). I know zone and also the other two columns when processed are repeated more than once
and hence this, is there a way to get what i want.
ZONE BLOCK STREET
1 0 Chesapeake
1 0 East Market
1 0 East Maryland
1 0 East Washington
1 0 North Capital
1 0 North Delaware
1 0 North Illinois
1 0 North Meridian
1 0 North Penn
1 0 South Delaware
1 0 South Illinois
1 0 South Meridian
1 0 South Penn
1 0 Virginia
1 0 West Georgia
1 0 West Jackson
1 0 West Market
1 0 West Maryland
1 0 West New York
1 0 West Washington
1 100 East Washington
1 100 East Market
1 100 East Maryland
1 100 East New York
1 100 East Ohio
1 100 East Washington
1 100 North Alabama
1 100 North Capitol
Thanks
SVThanks Richard and SS. This is what i did.
1) In the DSV i created a new named query, the same one i used.
2) Set Primary Key on Street.
3) Created a dimension STG_ZBS_DIM and while creating the heirarchy , i draged and dropped the fileds in the following order (zone>block>street).
4) Tired to process , but getting the same error, except this time at the street level.
What else i did was changed the primary key back to Zone, went into the attribute relations and set the relation from Zone to Block and then Block to Street, saved and processed and this time i got the error at the block level :-(
Thanks
SV -
Can I create a DIMENSION object mappign without a Dimension table?
I understand how I can create a dimension object and it's associated table. However, can I map my enterprise data directly to the dimension object itself and skip the loading of the dimension table? The enterprise data for most of my reporting warehouse for the greater part is fairly simple and requires only joins to some reference data.
Matthew,
Like you stated, the dimension object in OWB will generate scripts for two object types. The first is a dimension object and the second is a table. In the dimension object the hierarchical structure(s) (meta data) is stored and the table stores the data. So you always have to load your enterprise data into the table.
Hope this helps.
With kind regards,
Bas Roelands -
Can We Create Custom Dimension ontop of BI Infocube
Hello Guys,
I need help on below questions. i appreciate all your help in advance.
Can we create Custom Dimension ontop of SAP BI Infocube ? Does it support all functions like SQL and ORACLE database supports ? Can any body have list what kind of function it supports ? Does it support If..else ..if condition ??
Ex. If Account = 410000 and Profit center inlist 100,200,500,999 Then u201CSales Revenueu201D else ifu2026.etc., Can we write this kind of condition in Universe on top of SAP BI Infocube ?
Regards,
Komik ShahHi,
here are some examples of what you can create:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
Ingo -
OWB 10g: Creating a dimension: error on hierarchy
Hi there,
i've created a very simple dimension, alike the channel dimension of the sh-samples.
However, when i validate my dimension, i get the error:
--> VLD-0350: In a hierarchy <name>, level relationship binding between parent level "total" and child level "channel" does not exist.
--> Within a hierary a level relationship between levels must be created using the surrogate key column of the parent.
I've created the dimension now several times but one way or the other this error always pops up. I've recreated the hierarchy, still the problem remains. Anybody has a clue how to create this binding?
Any help is very much appreciated!
Cheers
SandraThanks for the quick reply, I have a Surrogate key on every level.
*** Problem solved ***, but still a mystery... I actually quite OWB
came back and everything was validating correctly...
Do any of you have such a problem? Things not working, exit come back
in an it works???
Here the problems that I had before the restart...
Here's a quick overview of what I have in the Data Object Editor:
Relational Tab:
I have my "source" table were my data is to fill the Dimension. Validates successfully.
Dimensional Tab:
I have my CUSTOMER_DIM, I did the Bind All I have 2 errors now:
VLD-0345 Level Attribute CUSTOMER ID is not bound to a column in
table or updateble view.
VLD-0350: In a hierarchy STANARD, level relationship binding between parent level
COUNTRY_HEIR and child level BASE_HIER does not exist. (Each level attribute must be bound to a column in a table or updateable view)
In the Object Editor, Dimensional Attributes, I have CUSTOMER_ID that is a Surrogate. In the "Choose the sequence that will populate the Dimension and Surrogate Keys:"
I have selected CUSTOMER_DIM_SEQ. (Within a hierarchy a level relationship between levels must be created using the surrogate key column of the parent.)
Thanks
Eric -
Creating a dimension with Subtable type is better or maintaining heriarchy?
Hi BPC Gurus,
In legacy system, client was having many GL items. Now with the implemntation of SAP, the FI has maintained those GL items as one group only. To be specific enough following is the example:
Legacy system
Repairs of Buildings(Material)
Repairs of Micro Hydel(Material)
Repairs of Distribution(Material)
SAP system
R/M of Materials.
In BPC, the client wants the planning at the line item level, whereas with SAP it can be planned at group level only. So to maintain the planning at line item level I have to take data from SAP-PM and FI. Now my question is can I have the line items in heirarchy way or I have to create a dimension of subtable type and maintain members in it.
SAP BPC P_ACCT(heirarchy)
R/M of Materials ( GL Item - SAP FI)
Buildings ( SAP PM )
Micro hydel ( SAP PM )
Distribution. ( SAP PM)
Regards
Kumar MG
Edited by: KumarMG on Apr 15, 2011 12:10 PMHi Kumar,
Creating a Subtable type's Dimension will not solve the problem because that is the only type of dimension.
Hierarchy is the best solution for these type of situation.
Regards,
Anil -
Is convenient to create a dimension table in this situation...?
I have Oracle 9.2.0.5
I have a table âFACT_OPERATIONSâ with 10.000.000 of records and these fields:
TABLE âFACT_OPERATIONSâ
Category VARCHAR2(40) (PK)
Type VARCHAR2(35) (PK)
Source VARCHAR2(50) (PK)
Description VARCHAR2(100) (PK)
CUSTOMER_ID NUMBER(6) (PK)
MODEL_ID NUMBER(6) (PK)
STATE_ID NUMBER(6) (PK)
TIME_ID NUMBER(8) (PK)
Quantity (PK)
I charge it from multiple fact_tables with a Merge Statement
I have the Dimensions tables: Dim_Customers, Dim_Models, Dim_States and Dim_Time.
The field Source have the name of the Fact_Table where I charge the information
The field Type is the father of the field Source.
and the field Category is father of the field Type.
For example:
Category: EVENT
Type: SALES
Source: SALES_VI_ZU
Category: EVENT
Type: SALES
Source: SALES_VI_AU
Category: EVENT
Type: MOVS
Source: MOV_SALES
The question is:
Is convenient to improve the query performance I create the dimension Source (It will contain the fields Category, Type, Source and so on). Then, I put in the FACT_OPERATIONS the field SOURCE_ID and delete the fields Category, Type and Source.
Now I do for example these queries for example:
select Category, Type, Source, count(*)
from FACT_OPERATIONS
group by Category, Type, Source
or
select *
from FACT_OPERATIONS
where CATEGORY = âEVENTâ
or
select *
from FACT_OPERATIONS
where TYPE = âSALESâ and SOURCE = âSALES_VI_AUâ
¿I will improve the performance with these changes or is the same?
Thanks!Your queries would probably run more slowly if you moved the category and type to a dimension table, but having said that it is still the correct thing to do. If you need faster performance for those three queries then it would be apropriate to use a bitmap join index, or to create a materialized view to aggregate the data -- in fact query 1 could be satisfied very quickly using a materialized view.
-
Create time dimension table in repository without data warehouse
Hi,
I want to implement only BI repository solution in my customer (not datawarehousing). Is it possible to transform the data by repository tools, so that the times columns in fact tables are categorized by the "time dimension" table?
To be more explanatory:
The "Sales" table has the "time of sale" column. It contains the timestamp when the sale was performed. I have imported this table in "physical layer" of the repository. Now I want to create a new "time dimension" table, something like:
CREATE TABLE dimension_time (
Day_Key INT NOT NULL PRIMARY KEY,
Day_Timestamp DATETIME NOT NULL,
Day_Name NVARCHAR(32) NOT NULL,
Day_Text NVARCHAR(32) NOT NULL,
INSERT INTO dimension_time VALUES (20110101, {d '2011-01-01'}, '1/1', 'January 1', 'Saturday', 0, 6, 1, 1, 185, 1, 201052, 'W52', 'Week 52', 52, 201101, '01', 'January', 1, 7, 1004, 'Winter', 'Winter', 20111, 'Q1', '1st Quarter', 1, 20103, 'Q3', '3rd Quarter', 3, 20111, 'S1', '1st Semester', 1, 20102, 'S2', '2nd Semester', 2, 2011, '2011', '2011', 2010, '10/11', '2010/2011', 0);
INSERT INTO dimension_time VALUES (20110102, {d '2011-01-02'}, '2/1', 'January 2', 'Sunday', 0, 7, 2, 2, 186, 2, 201052, 'W52', 'Week 52', 52, 201101, '01', 'January', 1, 7, 1004, 'Winter', 'Winter', 20111, 'Q1', '1st Quarter', 1, 20103, 'Q3', '3rd Quarter', 3, 20111, 'S1', '1st Semester', 1, 20102, 'S2', '2nd Semester', 2, 2011, '2011', '2011', 2010, '10/11', '2010/2011', 0);
and after to add a new column in "sales" fact table for "time dimension ID" and through the repository populate this column based on the "time of sale" column and the corresponding "time dimension ID".
I know that the ETL process might perform it, but I do not want to go for Data Warehousing (it is not real - time, needs more resources, etc).
Is it possible to perform such action only on repository?
Thank you.Hi,
I can do it, but this would be usefull only to create "time dimension" table. But also the "sales" fact table needs to be altered (thus, the "time" column will not contain the value of the time, but the ID of the corresponding time in the "time dimension" table).
I know that on DW this procedure is done automatically by the ETL process.
My question is that does the repository has any tools similar to this?
Thank you. -
Creating scenario dimension and loading data
Hi all,
We have two fact tables. The first one is sales that include quantity and subtotal columns. The other one is budget that include quantity and subtotal. We are working with hyperion essbase 9.3. First of all we are creating two model. For sales model we create 7 dimensions (product, chanell, time, company, currency, customer, account) and 3 attribute dimension and for budget model we create 4 dimensions (account,company,customer,product) in metaoutline. And we create 2 application for each metaoutline. We plan to report sales vs budget but we don't know how to join sales and budget data. Everybody recommends scenario dimension. we don't know how to create sceneraio dimension and in which application Essbase integration or Essbase administration services.
thank you.I agree with Cameron. The best way is to put them into one cube. Since you are using a SQL source you can manulate it to have your budget load to the same time level as your actuals. For example suppose you load actuals daily and Budget is Monthly. for consistancy, you could load the budget data into the 15th day of the month. At the Monthly level where you would compare budget to actual, the numbers will be correct. Loading into dummy members for the dimensions that don't exist for budget is a common practice when trying to sync up data. If you really want to make it easy, you could union a view to make it look like you have a single fact table (based on the combo of budget and actual) and have a single metadata outline to load everything. I prefer having two because of different load requirements, but this is an option.
If you don't want to go this way, the next option is to partition your budget data into the actuals cube. this would keep them seperate but allow you to see them togeter. Between the two option, I prefer the single cube approach better -
Create Attribute Dimension by rule file
Hi,
How can we create an attribute dimension and associtae members of sparse dimension with members of attribute dimension by using a rule file?
There is no option of 'Attribute' under dimension type in dimension propertites.
Plz help on it.
Atul KFirst you have to create a standard dimension and made the storage setting sparse.
Then, you can create another dimension of type Attribute and associate it with the standard sparse dimension.
Then you can write rule files for attributes.
If you are assigning the attribute dimension MKT_TYPE to the standard dimension MARKET and the generation 4 is the last.
The typical rule file is like this:
Gen4, MARKET MKT_TYPE 4, MARKET
New york Big Market
Washington Small Market -
How to Create Recursive Dimension Hierarchy
Hi all
i will be glade if any body know how i can create Recursive Dimension Hierarchy
where the number of levels is varibel.
like the Account DIM or manager Dim
eg
i have the follwing table
EmpId Name -- MangerID
where Manager id is a forign key to Empid
regards,Hi
Have a look at my blog post here: http://www.rossgoodman.com/2007/10/12/dimensionally-modelling-a-recursive-hierarchy/
Hope that helps.
Ross
http://www.RossGoodman.com -
Creating Flat Dimensions in AWM
Hi,
We have a proposed cube structure with 8 dimensions (apart from the TIME dimension) as follows:
3 Dimensions have a Level-Based Hierarchy
2 Dimensions have a Value-Based Hierarchy
3 Dimensions are flat with no levels or hierarchy.
We are using Oracle Analytic Workspace Manager v10.2.0.3.0A for formulating the cube structure.
We want to introduce a top level “All” column in all the dimensions so as to facilitate analysis of data by eliminating the dimension itself (by selecting its “all” level). Inclusion of such a top level “All” level seems intuitive for Level based and value based hierarchy as we can just introduce the new level.
However, we are not sure of how we can create a “flat” dimension and also have the top level “all” column in it by using AWM. Any insights on the process of creating a flat dimension in AWM would be much appreciated.
Thanks,
PiyushI am not sure what the problem is? You simply create a dimension with two levels:
- Top level
- Base level
Assign an 'All Members" description to the top level and all all other members are assigned to the base level.
Keith Laker
Oracle EMEA Consulting
BI Blog: http://oraclebi.blogspot.com/
DM Blog: http://oracledmt.blogspot.com/
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
BI Samples: http://www.oracle.com/technology/products/bi/samples/ -
Help required in creating a dimension from an excel sheet
Hello all ,
We have a new requirement ,where we need to create a Dimension from an excel sheet. I tried creating it from a . csv file. But , I am not sure how to set the across, down statement ( if any) . The procedure is able to peek the data from the excel sheet. But , it says that the dimension member is not a selected member of variables. We have not created any variable yet. The transcript of the procedure is below :
remove dimension MODULE
ACCESS EXTERNAL
USE 'C:\module.csv'
DESCRIPTION FREE ,
peek only 5
read
BEGIN
construct MODULE
level MODULE_CD
label MODULE_DESC
preface "custom 5 allocate 1000,30,1"
END
end
compile dimension MODULE
Please advise
Thanks and Regards
VijayHi Vijay,
I believe you should be identifying the fields you have in your csv file, in your case MODULE_CD and MODULE_DESC:
DESCRIPTION FREE ,
MODULE_CD text 10
MODULE_DESC text 20
Can you try that to see if it makes a difference?
Regards!
Ricardo
Maybe you are looking for
-
Adobe Flash Player 10.1 installation keeps popping up
I keep getting a pop up message when I turn AOL on with an installation window to install Flash Player 10.1 but the the box install is not highlighted and I have to X out of it to remove the window. This window keeps repeating itself. I tried inst
-
Adding a java applet in Apex page
Hello, I am trying to add a java applet to my page. This is what I do. I create an html region with source ; <applet width=300 height=300 codebase="#WORKSPACE_IMAGES#DrawingLines.class"></applet> and I upload DrawingLines.class file as a static file.
-
Hyperion Financial Reports Studio Client Question
Hi, I have a colleague that is on 11.1.1.3.0.0238 Financial Reports Client. He can connect to the server just fine. However when I try, I get the ole 'You are not authorized to use this functionality. Contact your Admiinistrator'. However when I use
-
Search pages using localized translated tag titles:
ENV: CQ5.4 Suppose I have a Tag created with the name 'XYZ' and I have translated localized titles for the same tag as: § EN: ABC DE: DEF FR: GHI ES: JKL Now if an user would search for 'XYZ' he would always find pages which are tagged with the abov
-
Faulty power button on N95 8GB - Is it possible to...
I have an N95 8GB whose power buttton seems to have stopped working. When I plug in the charger, the screen lights up, the Nokia logo appears and the 'charging' icon appears in the corner. But I can't switch on the phone using the power button. Someo