Dimension table to support Hierarchy and the aggregation functions
Hello expert,
Now I seem to know why those aggregation functions e.g. SUM, COUNT failed whenever the report is executed.
I have a fact table REJECT_FACT contains all the information of rejects:
Reject ID
Reject Category
Reject Code
Reject Desc
Site Desc
Site Code
Region Desc
Age Group
Reject Date
So I created a alias REJECT_DIM based on REJECT_FACT. After several trials, I think that the aggregation functions do not work with alias because after I remove the REJECT_DIM, the aggregation seem working.
Is my concept right? Or I am missing something? I don't understand that the data model for datawarehouse should be simple, why do we need to create many dimension tables to support the hierarchy?
Hello expert,
Thank you very much for your reply.
Actually the data model is very simple. There is only one physical table REJECT_FACT. The structure is as follows:
Reject ID (NUMBER)
Reject Category (VARCHAR2)
Reject Code (VARCHAR2)
Reject Code Desc (VARCHAR2)
Site Desc (VARCHAR2)
Site Code (VARCHAR2)
Region Desc (VARCHAR2)
Age Group (VARCHAR2)
Reject Date (DATE)
The hierarchy required is as follows:
Reject Category -> Reject Code Desc -> Site Desc -> Region Desc -> Age Group -> Reject Date.
I want to produce count on each hierachy level.
How to populate the hierachy structure effectively?
Thanks......
Similar Messages
-
Better Practice - split dimension table or split hierarchy?
Hi All,
I have an Org dimension table that has geography and organizational structure within it (columns - state-city-etc.) and (columns division-department-etc.). Is it better to create a dimensional hierarchy with 2 trees (1 being geography sub-hierarchy from ALL and the other being ORG) or is it better to split table at BMM layer and create a logical geo and logical org tables separately. What do you think? Thank youGreat help thank you. I was also leaning towards the same decision, but now I'm just sure. Venkat, when you're saying that OBIEE cannot handle 2 hierarchies, do you mean that a Fiscal Year / Calendar year model wouldn't work - and I think it's how it is in the OBI vanilla marketing app. I just want to make sure I understood your correctly. If yes, then are those 2 expected to have the same amount of children (i.e. I might have Week level in Calendar, but skip it for Fiscal). Thanks
-
How Can I obtain the tables of one schema and the record size???
How Can I obtain the tables of one schema and the record size???
Example:
TableName Record Size
Tabla1 12500
Tabla2 7800
Tabla3 2046This is not an OWB question, but you can obtain bda-type information on tables by using the system view dba_tables.
Regards:
Igor -
Identify the Cubes where dimension table size exactly 100% of the fact tabl
Hello,
We want to Identify the Cubes where dimension table size exactly 100% of the fact table.
Is there any table or standard query which can give me this data?
Regards,
Shitaluse report (se38) SAP_INFOCUBE_DESIGNS
M. -
I'm still very new to forums so please excuse anything that may have been previously asked. I purchased a USB controller for my mac to play a couple games and the vibrate function on the controller will not stop. I was wondering if there is a way to access the controller setting or if os x supports plug and play controllers? Any help is greatly apprectiated.
Hello Knowledgelink
Go through the steps in the article below to restart your iPhone into recovery mode to then restore your iPhone to the latest version of iOS.
If you can't update or restore your iOS device
http://support.apple.com/kb/HT1808
Regards,
-Norm G. -
On windows 8.1 charms bar does not show up and the touch functionality is also degraded
upgraded my elitepad 900 to windows 8.1 . after this the charms bar does not show up and the touch functionality is also degraded while playing games. i believe i need the latest synaptics gesture suite. Cannot find it. Please help.
I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this HERE.
HP ElitePad 900 G1 Tablet Support
TwoPointOh
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping! -
Dynamically pass Table name, Column Name and rownum to function
Hi Guys
I wanted to pass the table name, column name and rownum to function and get the relevant value for it. Please guide me to achieve this task
Thanking You
Regards
LakmalThanks,
Here is my test function
CREATE or replace FUNCTION GET_COLUMN_VALUE (tab_name VARCHAR2,column_name VARCHAR2) RETURN varchar2 AS
strsql varchar2 (500);
ColVal varchar2;
BEGIN
strsql:='select '||column_name||' from '||tab_name|| ' Where rownum = 1' ;
EXECUTE IMMEDIATE strsql into ColVal;
RETURN ColVal ;
END;
Message was edited by:
Lakmal Marasinghe -
download ios 7, and the location function is off, I can not access because I forgot the key constraints, I can not restore the iphone because I can not find iphone app access
If you have a passcode to the screen lock that you've forgotten, restore the device from the computer to which the device is synced. For information and instructions, see:
http://support.apple.com/kb/ht1212
If that will not work, you'll need to put the device into Recovery Mode and then try the Restore again:
http://support.apple.com/kb/ht1808
If that still doesn't work, as a last resort try DFU mode:
http://www.iclarified.com/entry/index.php?enid=1034
If your device is running iOS 7 and you set up Find My iPhone (iPad/iPod), however, then it has the Activation Lock on it and you'll need to enter in your Apple ID and password to activate the device after restoring:
http://support.apple.com/kb/HT5818
Regards.
Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question. -
Is N9 supported USB on the go function?
is N9 supported USB on the go function?
Solved!
Go to Solution.as aspergerguy said, it doesnt.
the only hope is for the community to take hold after pr1.3, since it is said to be the last update and make it work.
depends on the need from devs, and the importance from the followers -
I was processing pictures and the Basic function on the right has disappeared, the one that contains Exposure, Contrast etc. I now have only the Histogram, Paint Brush etc, then it goes to Tone Curve, HSL/Color/B&W and all others down to Camera Calibration. How can I recuperate Basic ?? Thanks for your help
i have now found where the OS permission is located but cannot find a way to change it. Here is what I have done:
- Selected the Local Disk Folder
- Chose File>Get Info
- Click on Sharing and Permissions (It shows Read Only)
Now this is where I am stuck, the instruction in Apple Support says "Select a user or Group from the Name Column then choose the following Pop-Up menu in the Priviliges column(this is where the Read &Write option should be. I can't choose a user or group under the name column, all I have in the Name column is "Local Disk"
Can someone help me from here to convert to Read & Write, thanks -
So does this mean that I cannot have rotation lock off and the mute function off at the same time? In other words, can I have my screen rotate automatically as I hold my iPad in either portrait or landscape AND hear sounds from my apps at the same time?
In other words, can I have my screen rotate automatically as I hold my iPad in either portrait or landscape AND hear sounds from my apps at the same time?
Yes, you can. You can configure the Side Switch (above the volume button) either as Mute switch or Rotation lock.
Settings > General > Use Side Switch to: choose what you like the Side Switch to function as. -
hi, i installed ios 5 for my iphone 4 and the camera function on lock screen was on the first few days , now it doesn't show the lock screen . is there any change i can do . Pls help me to solve the issue.
nishaadp wrote:
... it stucks with the apple logo , nothing works. Is anything i can do?
See Here for
Frozen or unresponsive iPhone -
PDF files are very faint and the search function doesn't highlight the search term when found
I'm using Firefox 5 with Windows 7 64 bit. When I open a PDF file the file is very faint and the search function doesn't highlight the search term in the body of the PDF.
Dear Peter,
I met the following problem, and please help me.
My English (not Chinese) operating system: Windows XP
Version: 2002
Before using RoboHelp 7 to generate Webhelp, I perform the
following steps:
1. Control Panel->Regional Options
2. On the "Languages" page make sure make sure you check the
box "Install files for East Asian languages".
3. On the "Advanced" page select "Chinese" from the language
dropdown list.
Then I perform the following steps:
1. Use RoboHelp 7 to generate Webhelp (my Webhelp project
contains localized Chinese files).
2. In the "Search" tab, input a Chinese character(For example
"连接") and perform a seach.
Result: Serching...(or 正在搜索) or
No topics found (or
未找到主题)。
Expected result: I can get the result.
Text -
My iPhones screen is broken(a black screen and the touch function does not work).I want to back it up, however I can't unlock it. I don't need to fix it, but i do need the information back up to new iPhone. How can i back it up?
i don't see a way for you to back up your phone, because it will require you to unlock the phone.
-
Tables Relating Support Msg and its partners along with the subject Profile
Dear Friends,
Every support Msg is uniquely identified by ticket nos...
Every support msg thus has Priorities, partners, Short text msg, long txt msg, subject associatated with it...
Please open a ticket using crmd_order..
I want to have all the information about the ticket like who are the partners, what is the subject.
I know of two tables :
crmd_orderadm_H and crmd_activity_h( for determining priority based on the Guid of the ticket).
But i am looking for the table which associates Subject and partners ( like Sold to party, Msg processor, Support team ) with either the ticket nos or the GUID of the ticket.
Any contributions to this thread woiuld be rewarded..
Revert back if u have ny information about it...Hi.
Got a few more. Maybe this helps.
CRMV_LINKPARTNER (guid_hi, partner function)
CRMC_PARTNER_FT (partner function texts)
CRMD_ACTIVITY_H
SCPRIO (priority long text)
CRMD_SRV_SUBJECT (catalog, codes, ...)
QPCT
DNOD_NOTIF_S (support message, component)
DSWPCSNCOMPTXT (component long texts)
/cheers
Maybe you are looking for
-
Dear Team, As we require sometimes to calculate VAT on freight part as well along with exciseable line item of material..we tried , also made a separate tax code for freight to calculate VAT only.But we getting result but system calculated excise an
-
Where is QM notification "status" stored in the database?
I would like to see the value of status. In which database table is stored? Thank you very much.
-
Does Oracle 8i for Linux include Oracle Enterprise Manager?
What's the version of the current Oracle 8i for Linux? Enterprise Edition? null
-
Character set conversion problem during upgrde.
Dear Friends, I am trying upgrade one of my windows database with version 9.2.0.5 to 10.2.0.4 on unix. I am following exp/imp. During import I am seeing followinig errors for couple of tables, IMP-00019: row rejected due to ORACLE error 12899 IMP-000
-
Problem in uploading PDF file greater than 450Kb in portals
Hi All, There is aproblem when we upload a PDF file of size greater than 450 KB in portals,it shows some error. Do i need to change any server settings for this or any other configuration is required. Help will be appreciated Thanks in Advanc