Higher dimension level in OWB 11gr2
Hi everyone
For the first time I am trying to join a cube to a dimension at a level 3 above the lowest level. The cube, dimension etc are all OK and the mapping validates and seems fine. But when I checked the cursor it generated I found that although it had joined on the correct business key for that level it also joined to al the child rows as well (which gave me 1.6 billion rows).
The relevant code is:
FROM
"D_ORGANISATION" "D_ORGANISATION"
WHERE
( "D_ORGANISATION"."INSTITUTION_SK" IS NOT NULL....
And as far as I can see if I add the following I get the correct result which is just the rows from the dimension which represent the Institution level.
AND "D_ORGANISATION". "COLLEGE_SK" IS NULL (College is the level below Institution)
Could anyone tell me what I missing here because despite searching the manuals and Google I can't find any mention of this problem or where I can change OWB to make it work.
Thanks in advance
Pete
Hi sorry this is a bit late, I never received the email saying someone had replied to my post but I did change jobs so that could explain it.
I never found an actual solution and always meant to raise this as a bug.
But...I did find a workaround which is to use manual lookups and add a condition where the level skey is equal to the dimension_skey. It doesn't help with using the cube operator but it got my facts built, albeit with a lot of extra lookups that should have been unnecessary :-(
Pete
Similar Messages
-
Join fact table with higher dimension level
how do i join fact tables with higher dimension levels with discoverer?
fact with detail at level C
measure X
dimension with
D->C->B->A
E->C
level
A B C
1------1------1
2------2------1
3------2------1
join between fact X and dimension level C
X=3*C because of sum(X) in discoverer and 3xC in dimension
is there a way to get correct values for X without creating a dimension like
D->C
E->another way of asking this is whether you can create a summary table in Discoverer at a higher level than a dimension's fundamental grain. In other words - the summary examples in the documentation all describe leaving out one or more of your dimensions... they are either left in or completely taken out. But, some of the most effective summarization occurs when you summarize daily data to a monthly level. Assuming that I have a sales table (at a daily level, and a key value sales_date), and a table date_dim (primary key sales_date), I would like to create a summary sales_month_summary where the sales are grouped on month_year (which is a field in the sales_date table).
How is this done? I suspect that we can't use the date_dim table with the summary (due to the problems noted by the poster above). Do we have to create another table "month_dim"? Do we have to fold all of the desired date attributes (month, quarter, year) into the summary? Obviously we'd like to re-use all of the pertinent already existing date items (quarter, month, year, etc.), not recreate them over again, which would result in essentially two sets of items in the EUL. [One used for this month summary, and another used for the detail.]
I searched the forum - someone asked this same question back in 2000 - there was no answer provided.
The only other thought I have is to "snowflake" the date_dim into two tables and two folders, one at a date level, another at the month level. Then the detail tables can connect to date_dim (which is linked to month_dim), while the summary data can connect directly to month_dim. -
OWB 11gr2 32Bit on Windows Server 2008 R2 64Bit Error 0xC0000018
Hi there.
I had install Oracle Warehouse Builder g11 R2 32 Bit version on a Windows Server 2008 R2 64 Bit version.
After the install, my setowbenv.bat looks like:
@echo off
REM This file is automatically generated from shiphome/owb/bin/win32/owbEnv.ctl
REM Any manual changes will be lost on next generation.
set JAVAPATH=..\..\..\jdk
set ORACLE_HOME=C:\product\11.2.0\dbhome_2
set OWB_HOME=C:\product\11.2.0\dbhome_2
set JDK_HOME=..\..\..\jdk
set ORA_HOME=C:\product\11.2.0\dbhome_2
set OEM_HOME=C:\product\11.2.0\dbhome_2
set IAS_HOME=C:\product\11.2.0\dbhome_2
set OWBCC_HOME=C:\product\11.2.0\dbhome_2
set CLASSPATH=Personalities.jar;%MIMB_JAR%;
set CLASSPATH_LAUNCHER=-classpath %CLASSPATH%;..\admin\;..\admin\launcher.jar -D OWB_HOME=%OWB_HOME% -D JDK_HOME=%JDK_HOME% -D SYSTEMROOT=%SystemRoot% -D ORA_HOME=%ORA_HOME% -D OEM_HOME=%OEM_HOME% -D IAS_HOME=%IAS_HOME% -Doracle.net.tns_admin=%ORA_HOME%\network\admin Launcher ..\admin\owb.classpath cd /d ..\admin
And if I start the Warehouse Builder - Design Center, I get an error message something like:
owb.exe - Application error
<The Application couldn't start correctly (0xc0000018). Click to "OK" to close the application.> (translated from german)
Can someone help me?
What did I do wrong?
Is there any work around?
Thanks a lot.
hakkiHi Deb
With the code that's out today I don't think the compatibility mode works, from what I can read from users' experencies on LinkedIn discussions.
Customers have used Windows XP mode for Windows 7 (for example), this installs a Windows XP virtual machine in which you can install and run OWB 11gR2 on your Windows 7 (64-bit) workstation. Windows XP mode can be downloaded from:
http://www.microsoft.com/windows/virtual-pc/download.aspx
You should also increase your XP mode virtual machine memory (RAM) allocation to at least 1GB for it to perform at an acceptable level. This will get you going until there is a better option.
Cheers
David -
Attribute's order in dimension levels
Hi:
I want to change the order of attributes in the levels of a dimension generated in OWB. The creation dimension script orders the attributes alphabetically but I want to get the order we want without make nothing manually, because during the OLAP metadata export those manually changes would have to be applied, but I don't know how to do it.
Here's an example:
The original script is:
CREATE DIMENSION "OPERADOR"
LEVEL "OPERADOR" IS "OPERADOR"."OP_ID"
LEVEL "TIPO" IS "OPERADOR"."TIP_TIPO"
HIERARCHY "ROLLUP_OPERADOR"(
"OPERADOR" CHILD OF
"TIPO" )
ATTRIBUTE "OPERADOR" DETERMINES ("OP_CODIGO","OP_DIRECCION","OP_EMAIL","OP_NOMBRE" );
^
The attribute begins with 'C' -> OP_CODIGO
And the script I want is:
CREATE DIMENSION "OPERADOR"
LEVEL "OPERADOR" IS "OPERADOR"."OP_ID"
LEVEL "TIPO" IS "OPERADOR"."TIP_TIPO"
HIERARCHY "ROLLUP_OPERADOR"(
"OPERADOR" CHILD OF
"TIPO" )
ATTRIBUTE "OPERADOR" DETERMINES ("OP_NOMBRE","OP_CODIGO","OP_DIRECCION","OP_EMAIL" );
^
The attribute begins with 'N' -> OP_NOMBRE
I would appreciate any comment,
Thanks,
Hazbleydi C.Good morning Hazbleydi,
Well, in my version (9.2.0.4) it works fine, maybe you've got a different (older?) version?
If you generate the code for the dimension, you get several .ddl-files. If I check the dimension ddl it simply follows the order things are shown in the dimension editor, i.e. alfabetically.
But if you check how the actual table will be deployed (the ddl of object type "Table"), you will see that the order of columns is what you made of it using the Table Editor for the dimension.
Have you tried altering the dimension the way I suggested and checked how the columns are then ordered? And that is not correct?
If this doesn't work in your case, there's nothing else I can do for you, sorry. In case I misinterpreted your intentions, I'm sorry as well.
Good luck, Patrick -
OWB 11gR2 - ORA-01017/ RPE-01008
OWB 11gR2 - ORA-01017/ RPE-01008
=======================================
I am using OWB 11gR2 (11.2.0.1) on Win XP 32 bit. We applied the suggested patches for our earlier issues.
We changed our database passwords. We tested our locations via location navigators/Control center. We did not get any errors. We are able to see the data for tables defined under modules on OWB design center.
We tested the defined DB LINKS via SQL Developer. Testing was OK .
We tried to deploy the mappings, we are getting
*• ORA-01017: invalid username/password; logon denied*
*• RPE-01008: Recovery of this request is in progress.*
I reviewed earlier posting, where some suggested to re-register the locations. Is it the right approach?
We have number of mappings worked OK before changing passwords.
What are the steps to resolve this issues?
We know that locations are linked via DB LINKS defined in database. How does changing passwords impact DB LINKS in database?
What is the recommended approach to change database passwords, when we work with OWB?
What is happening here?
Thanks in helping.
Edited by: qwe16235 on Jul 8, 2011 4:07 PMThanks in for your reply. Is it a issue with in OWB?
This issue was raised in earlier versions as well. Are there any plan to fix this issue?
Do we have any standard script to work with in this situation?
I did not find any impact of DB LINK access in database level. I am able to simulate the situation using SQL, but it is working.
I am curious to know, what does OWB do differently with DB Link to cause this issue.
Is it a difficult issue to fix?
Thanks in helping. -
OWB 11gR2 - Internal ERROR: Can not find the ACL containter
OWB 11gR2 - Internal ERROR: Can not find the ACL containter
=======================================
I am using OWB 11gR2 (11.2.0.1) on Win XP 32 bit. I have 3.23 GB RAM. OWB design center is ver slow on my desktop. We have our OWB repository is on Unix server.
We applied the patch 10270220.
We are getting
Internal ERROR: Can not find the ACL containter for object:CMPPhysicalMap@19654/id=104020/owningFCO=104020/proxyFor=(CMPPhysicalMapGen@19f99ae/id=104020/stname=null/pname=MAPPING_1/lname=MAPPING_1/status=POSTED/committed=true/persistent=true/propsLoaded=true)
What is happening here?
Thanks in helping.We have a map with 3 sources and 1 target. The 3 sources pass through Joiner then Expression then Target.
We are getting this error, during deployment. It shows compling for awhile, then through this error.
Here is the piece from detail window:
===========
at oracle.wh.repos.pdl.security.SecurityPolicyManager.getAccessCharMapOfPrivilegeOwner(SecurityPolicyManager.java:174)
at oracle.wh.repos.impl.foundation.CMPElement.getAccessCharMapOfPrivilegeOwner(CMPElement.java:2806)
at oracle.wh.repos.pdl.security.OWBSecurityImpl.hasPrivilege(OWBSecurityImpl.java:914)
at oracle.wh.repos.pdl.security.OWBSecurityImpl.internalSecurityCheck(OWBSecurityImpl.java:1542)
at oracle.wh.repos.pdl.security.OWBSecurityImpl.securityCheck(OWBSecurityImpl.java:694)
at oracle.wh.repos.pdl.security.SecurityModuleImpl.securityCheck(SecurityModuleImpl.java:959)
at oracle.wh.repos.pdl.security.SecurityModuleImpl.securityCheck(SecurityModuleImpl.java:924)
at oracle.wh.repos.pdl.dispatcher.EventDispatcherImpl.beforeReadObject(EventDispatcherImpl.java:824)
at oracle.wh.repos.pdl.foundation.OWBRoot.beforeRead(OWBRoot.java:1785)
at oracle.wh.repos.owbGen.CMPStringPropertyValueGen.getValue(CMPStringPropertyValueGen.java:217)
at oracle.wh.repos.impl.properties.CMPStringPropertyValue.getValue(CMPStringPropertyValue.java:117)
at oracle.wh.repos.impl.extended.PropertyFactory.getStringValue(PropertyFactory.java:440)
at oracle.wh.repos.impl.extended.CMPWBPrimitiveProperty.rawStringValue(CMPWBPrimitiveProperty.java:260)
at oracle.wh.repos.sdk.mapping.WBMapHelper.getStringProperty(WBMapHelper.java:716)
at oracle.wh.repos.sdk.mapping.WBMapHelper.getStringProperty(WBMapHelper.java:733)
at oracle.wh.repos.sdk.mapping.WBMapHelper.getReferencedLocations(WBMapHelper.java:1361)
at oracle.wh.service.impl.runtime.EnvironmentUtils.getReferencedLocations(EnvironmentUtils.java:284)
at oracle.wh.service.impl.runtime.EnvironmentUtils.getReferencedLocations(EnvironmentUtils.java:141)
at oracle.wh.service.impl.runtime.EnvironmentUtils.getReferencedLocations(EnvironmentUtils.java:135)
at oracle.wh.service.impl.runtime.RuntimePlatformServiceImpl.getReferencedLocations(RuntimePlatformServiceImpl.java:1238)
at oracle.wh.ui.runtime.application.WHRuntimeCommandUtil.addConnectorLocations(WHRuntimeCommandUtil.java:477)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.getSingleDeployLocations(WHRuntimeCommandGenerateDeploy.java:3408)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.getLocationsAndNewConnectors(WHRuntimeCommandGenerateDeploy.java:3517)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doPreDeploymentActions(WHRuntimeCommandGenerateDeploy.java:3224)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy._internalDeploy(WHRuntimeCommandGenerateDeploy.java:2420)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doDeploymentAsynch(WHRuntimeCommandGenerateDeploy.java:2117)
at oracle.wh.ui.runtime.application.WHRuntimeCommandHandler$1.construct(WHRuntimeCommandHandler.java:1005)
at oracle.wh.ui.runtime.SwingWorker$2.run(SwingWorker.java:124)
at java.lang.Thread.run(Thread.java:595)
===========
Did anyone receive such errors? -
Security at a dimension level in a Planning Application (ver 9.3.1)
Hi,
I'm dealing with the Assign Access process in the Dimensions pane.
Is it possible set access at dimension level?
How can I set the member Account (root of Account Dimension) visible for only a subset of user?
Thanks in advance.
StefanoHi Stefano,
I'm currently using Hyperion Planning version 4.0.2. I tried using the ImportSecurity.exe file to update the security for the top member in Entities dimension (ie the dimension name itself) but it kept giving me this error:
Record not processed -Finance,Entities,READ,MEMBER- Invalid Member name.
All lines in Import Security file were successfully parsed.
No records inserted into the database.
1 Lines were not processed by the application due to errors.
My secfile.txt file looks like this:
Finance,Entities,READ,MEMBER
Am I doing anything wrongly?
Thanks for your help!
Michelle -
Can I summarize data from a line item ODS into a higher summary level?
Hello friends,
1) Can I summarize data from a line item ODS into a high summary level and store the results into another ODS? If so, can you discuss the approach at a high level...i.e. whether or not a start up routine is needed?
2) Once data is stored in an ODS, can a routine be written to update specific fields in the ODS after the data has already been loaded into the ODS. As a simple example, is it possible to write a routine that simply multiplies "Field A" by "Field B" and stores the result in the ODS as "Field C"? (Most of the time I would do this calculation in Bex, but in this one case, I have the need to calculate and store "Field C" in the ODS.)
Thank you.1.- Yes, you can sumarize data in other ODS. Connect both ODS and use aditions for key figures intead of overwriting.
2.- You can do it in load time, in update rules, is not necesary to wait for ODS was loaded -
I want to Migrate Runtime Metadata in OWB 11gR2
i created a new repository and migrated metadata from old repository.
i migrated metadata by follow link: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/owb/owb_migrate/lesson2/lesson2.htm
now i want to deploy it. i read and do follow link: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/owb/owb_migrate/lesson3/lesson3.htm
but owb11g hasn't cc_migrate.bat file.
how to Migrate Runtime Metadata in OWB 11gR2? i want to deploy their objects.Hello,
this forum is dedicated from migrations from non-Oracle databases to Oracle, using the SQL Developer Migration Workbench.
I suggest that you ask your questions again in the following forum:
Oracle Discussion Forums » Data Warehousing » Warehouse Builder
Warehouse Builder
Regards
Wolfgang -
Getting NullPointerException while executing OMBIMPORT in OWB 11gR2
Hi,
When running BSC Expert in OWB 11gR2 along with 11.2 Database, getting the following error:
"PUB03302: Failed to connect to user null in source database null:null:null:java.lang.NullPointerException"
while executing the statement
OMBIMPORT FROM METADATA_LOCATION FOR IMPORT_ACTION_PLAN 'BSC_C_$G_OBJECTIVE' .
Since I am totally new to OMB+, I have no idea about why this is happening.
Could anyone please give some pointers/solutions for this problem. Because of this issue we are not able to proceed with our certification.
Thanks,
Karthik.Looking at the exception, looks like the metadata location for module is not set.
Did you set the metadata location for the module? metadata location is different from data location. metadata location is used for reverse engineer. Please open the module editor, switch to metadata location panel, check if the metedata location is set. -
How to know on which time dimension level we are ?
Hello,
I would like to know is there a variable or a mean to know dynamically on which time dimension level we are in order to use that in a CASE WHEN clause ?
By using a sort of aggregation tables in which one of the column contains the name of the level, I could know on which level I am but I can't use that for drill down. What I mean :
Tab1 :
'Year' as typelevel, year
Tab2 :
'Month' as typelevel, year, month
In BMM, I have made one logical table with as Source tab1 and tab2 and as columns typelevel, year and month.
tab1 has in content column the year level
tab2 has in content column the month level.
So when in Answers I retrieve
typelevel, year
the result is : 'Year', 2008
and when I request : typelevel, year, month
the result is : 'Month', 2008, 1
But if I want to drill from year to month in order to have :
'Year', 2008
and then after drill
'Month', 2008, 1
it is impossible as a filter on typelevel='Year' is added on the month level, so it retrieves 0 columns.
If someone has an idea on how to do that it would be very great.
Thanks in advance for your help.Hi Supriya,
OOTB I think you can use SharePoint designer, but I would suggest custom code to iterate to all pages, and get the lists that are associated with these pages.
http://stackoverflow.com/questions/633633/sharepoint-how-can-i-find-all-the-pages-that-host-a-particular-web-part
another one would be if those lists were never used and you can check for list with empty data.
I would use Get-SPLists to get all of the lists to check for zero items.
http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/15/use-windows-powershell-to-manage-lists-in-sharepoint-2010.aspx
http://sharepointrelated.com/2011/11/28/get-all-sharepoint-lists-by-using-powershell/
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you -
How to implement checkpoint restart in OWB 11gR2?
How to implement checkpoint restart in OWB 11gR2?
Which will enable us to restart the OWB mapping from the last successfully inserted checkpoint onwards.
Edited by: user4593813 on Jul 6, 2010 10:23 AMHi Borkur,
Thanks for reply.
Actually I want to implement it in OWB. But after I got the answer from you, I decided to do in some othere way.
The way you mentioned is right when we are performing the operations directly on a table.
But in my scenario, an intermediate data is generating. I want to perform lag over operation on those records. Its possible by view.
So for performing operations for intermediate result, Oracle is providing Table Function concept. I can pass the result to it.
But the problem again is, how to implement the lag over operation there.
Any idea.?
Thanks and regards
Gowtham sen. -
OWB 11gR2 extracting data from SAP - HELP
Hi everyone,
I have a question regarding the way OWB 11gR2 uses its SAP connector. I will present the scenario.
OS on Server: Windows Server 2003 64bit
DB: 11gR2 - 64bit
SAP JCO 2.19 (64bit)
OS on Client: Windows XP 32bit
Oracle Client 11gR2 - 32bit
SAP JCO 2.19 (32bit)
We are trying to get the data from SAP and it is simply not working. The error that we receive is:
20B40EC4][OWBWS.OWB] java.lang.Exception:
Starting Execution of ABAP Report CSKS_CSKS_TBL on Thu Jul 01 18:48:42 CEST 2010
JOBCOUNT = 17484201
$JOB_NAME
Completing Execution of ABAP Report CSKS_CSKS_TBL on Thu Jul 01 18:48:44 CEST 2010
2010/07/02-10:20:23-CEST [18987A33][OWBWS.OWB] Foreground Execution
2010/07/02-10:20:24-CEST [18987A33][OWBWS.OWB] Foreground Execution deployment failed
2010/07/02-10:20:24-CEST [18987A33][OWBWS.OWB] java.lang.Exception:
Starting Execution of ABAP Report ZOWB on Fri Jul 02 10:20:23 CEST 2010
ERROR: The file C:Öxxxxx.dat is already open
Exit on error: Execution of ABAP Report ZOWB on Fri Jul 02 10:20:24 CEST 2010
at oracle.wh.runtime.platform.operator.sap.NativeSAPOperator.execute(NativeSAPOperator.java:224)
at oracle.wh.runtime.platform.adapter.rtp.NativeExecutionAdapter.execute(NativeExecutionAdapter.java:43)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:70)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:595)
Thank you.
Edited by: user8916416 on 02-Jul-2010 03:57Problem solved by recreating the mapping. Strange though.
Edited by: user8916416 on 02-Jul-2010 03:56 -
Process Flow Restart Logic OWB 11gr2
Hi,
I know OWB 11gr2 doesn't provide PF restart logic and one has to come up with his/er PFRL deisgn and implementation logic. Just wondering if any one has done it sucessfully and can refer me to a proper documentation or design.
ThanksRead about error handling in Oracle Workflow:
http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15853/T361836T362426.htm
You can use ideas of Workflow default error processing for designing custom system for notifcation administrator about fails in OWB processflow and to provide tools to restart failed activities (it is impossible dirrectly use default Workflow features becuase - restart is possible at whole process where error occured and OWB mapping errors is not produce error events in Workflow).
I guess you need design (I am not a big Workflow expert so maybe better to follow Workflow develoepr guide or ask question at {forum:id=72} forum):
1) procedure for generating "OWB mapping error" event (this procedure should be run periodically, say every 10 minutes)
2) Workflow processflow (and maybe addirional procedures) for processing "OWB mapping error" event
3) suscribe designed processflow to "OWB mapping error" event
Regards,
Oleg -
How to implement Dimension Level Security on Tabular?
Not possible on SQL Server 2014 SSAS Tabular? How to work around?
Kenny_IHi Kenny_l,
According to your description, you want to implement dimension security in SSAS 2014 tabular. Right?
In Analysis Services Tabular mode, dimension level security (based on role permission) is not supported. This security can only used in Multi-dimension mode. In tabular mode, we can only use row-level security based on role permission.
Please refer to links below:
Implement Dynamic Security by Using Row Filters
Reference:
Comparing Tabular and Multidimensional Solutions (SSAS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
TechNet Community Support
Maybe you are looking for
-
Good evening! I have an iphone 5 and planning to buy a wireless keyboard for it. Could you tell me which is the best one? Thanks, Beth
-
VoIP Auto Dialer for testing numbers
We are porting several thousand numbers over to SIP connectivity via the carrier in a couple of weeks. I need to find an auto dialer of sorts that will allow me to input a range of phone numbers and then have the dialer dial each number and report ba
-
Workflow for HDR or other multi-image editing in PS
A client asked us to shoot some interiors at a country club clubhouse. With bright windows looking out over the golf course and the relatively darker interior, it was a natural for HDR. The question became how to actually do it. Since HDR seems to wo
-
My iphone camera is having problems with flash
Recently my relatively new iphone 4 is doing weird things with the camera using flash. The pictures have this weird flash of light in them. It is like light is leaking in. Any flash pictures are useless. Apple says I can't get support because my
-
?Compiling Linux 2 Windows?
Hey, I was wondering if it was possible to compile Linux made Java stuff on a Windows computer. I can run Linux Java programs like this: @ECHO OFF cls java -jar JARHEREBut is there anyway to compile it? PS: I tried using just a basic compiler: @echo