Two fact and one dimension table

Hi folks
i am new to this field ( 3 months ), my TL has given me one task i have to finish it up today itself, Can anyone one give me some idea how to implement
req. The req is
1. there are 2 fact and one dimension table is there, i have to create reports on Quaterly and monthly basis by using one dimension table.
Can any one tell me what all are the steps in need to follow
2.What is standalone and integrated systems?
Regards
Reddy

Hi
If u r having mapping keys for quarter level n monthly level then create a Alias for the dimension table.Use the original dim table for quarter level mapping and the alias dim for monthly level.
Thanks
Don

Similar Messages

  • Multiple 'logical joins' between a fact table and one dimension table

    It appears that one cannot create multiple ‘logical joins’ between a fact table and one dimension table in OBIEE using the Oracle BI Administration Tool. For example, considering a Business Model with a dimension table TIMES and a fact table FACT containing START_TIME and END_TIME, we would like to create separate logical joins from FACT to TIMES for the START_TIMEs and END_TIMEs? Obviously, the underlying foreign keys can be created, but as far as I can tell the Oracle BI Administration Tool doesn’t support this. The workaround would be to replicate the TIMES table, but that’s ugly.
    I seek an alternative approach.

    Try this. Create an two aliases for the TIMES dimension (Start & End) in the Physical Layer and then remove foreign key to the "Parent" Times dimension. Create the Foreign Key in the Physical Layer to the new aliases and then create the complex joins in the BMM Layer to the new aliases as well. This will allow you to present both dates within the same table in the Presentation Layer. Not the most elegant solution but it works.

  • Need to pull the information from two facts and associated dimensions

    HI All, i need to pull all the columns from the two Facts and their associated dimensions, get the results.
    here is the example:
    Fact1 --> D1, D2, D3
    FACT2--> DA, DB, DC, D1
    D1 Dimension has a Join with two fact tables, as long as i'm using columns from D1 and FACT2, DA, DB, DC report works.
    but my requirement is to get the results when pulling the columns from all the dimensions and two facts like Fact1, FACT2, D1, D2, D3, DA, DB, DC
    how to achieve this requirement, can someone pls help me with this.
    your responses are much appreciated.
    Thanks
    rar

    Hi RAR,
    I assume you have created proper dimensional hierarchies for all the dimensions in your subject area. Also, ensure that all of them have a Total Level created.
    Assuming the above, since D1 is a conformed dimension, if you create a report having columns from only D1,Fact1 and Fact2, the report should show you proper results.
    For creating a report having columns from all tables, ensure the following:
    1. For all measure columns from Fact1 to be included in the report, set them to be calculated at the Total Level of dimensions DA, DB and DC
    2. For all measure columns from Fact2 to be included in the report, set them to be calculated at the Total Level of dimensions D2 and D3
    The physical sql will fire separate queries for the 2 star schemas and then join them using the conformed dimension.
    Hope this helps,
    Gaurav

  • Again: two facts and one conformed dimension

    Dear all,
    I know this has been asked quite often but I haven't found a solution for my problem here. Believe me I have done a lot of searching across the net ..
    What I want to do is the following:
    I have two fact tables with a number of common dimensions. A report should show the two facts across these common dimensions.
    To keep it simple I start with only one common dimension.
    Here's what get's to the db from OBIEE:
    *SELECT Revenue."Date (YYYYMMDD)" saw_0, Sales."Day Day Code" saw_1, Revenue."TPV (Total Payment Volume in Millicent [€])" saw_2, Sales.DEBIT_AMOUNT saw_3 FROM "Company KPIs" ORDER BY saw_0, saw_1, saw_3*
    Note that *Revenue."Date (YYYYMMDD)"* and *Sales."Day Day Code"* are the same field from the common time dimension. I just put them in different presentation tables for the end users.
    TPV and DEBIT_AMOUNT are facts from the two different cubes.
    Everything fine, right?
    Now I look at the nqquery.log:
    RqList
    Dim Time.Day Day Code as c1 GB,
    Dim Time.Day Day Code as c2 GB,
    *Tpv:[DAggr(Cube Revenue.Tpv by [ Dim Time.Day Day Code, Dim Time.Day Id, CUBE_SALES.DEBIT_AMOUNT] )] as c3 GB,*
    CUBE_SALES.DEBIT_AMOUNT as c4 GB,
    Dim Time.Day Id as c5 GB
    OrderBy: c1 asc, c2 asc, c4 asc
    now the bold thing looks odd to me. Is he trying to aggregate one cube based on the other? Could be the problem, but where to influence this?
    And finally this translates into this query:
    WITH
    SAWITH0 AS (select distinct T4110.DEBIT_AMOUNT as c1,
    T281.DAY_DAY_CODE as c2,
    T281.DAY_ID as c3
    from
    DIM_TIME T281,
    CUBE_SALES T4110
    where ( T281.DIMENSION_KEY = T4110.DIM_TIME ) ),
    SAWITH1 AS (select distinct SAWITH0.c2 as c1,
    SAWITH0.c2 as c2,
    *cast(NULL as DOUBLE PRECISION ) as c3,*
    SAWITH0.c1 as c4,
    SAWITH0.c3 as c5
    from
    SAWITH0)
    select SAWITH1.c1 as c1,
    SAWITH1.c2 as c2,
    SAWITH1.c3 as c3,
    SAWITH1.c4 as c4
    from
    SAWITH1
    order by c1, c2, c4
    As you see, the tpy ist gone and a NULL appears. That's what I see in the report. TPV is always NULL.
    So where did I miss a configuration ???
    Thanks, Knut

    You only need to set the content levels on the measures themselves when you want non-conformed dimensions in the report, as your working with fully conformed dims just make sure your levels are set on the content tab for each Logical Table source in the Logical fact table. Leave the non-conformed dim hierarchies as blank.
    Remember - You should put a hierarchy on each logical dim , even if there is no real hierarchy, just have a total -> Detail.
    You should always always always set your content levels for logical table sources, both in Dimensions and Logical fact LTS's.
    If they are greyed out, make sure your not in read only, have checked the object out if on-line mode, failing that, perform the changes off-line then re-start your BI Server.

  • Joining Two facts with one dimension

    hi,
    Hello Experts,I am reporting out of 2 fact groups.
    Mailing History and Booking.
    The only common dimension between the 2 is the Person Dimension. I have created the hierarchies and defined the aggregation content in the LTS.This helps me in reporting using any column from the Facts or any one dimension from either of the fact groups. But if i select 2 or more dimensions , one or more from each fact group , then the report gives and error. A general error has occurred. [nQSError: 14026] Unable to navigate requested expression: MailingHistory Campaign.Campaign Name. Please fix the metadata consistency warnings. (HY000)
    For Example : BookingDim--BookingFact-MailingHistoryFact (ok) MailingSourceDim--BookingFact-MailingHistoryFact works (ok) but BookingDim--BookingFact-MailingHistoryFact - MailingsourceDim (Fails ).
    When i am applying the filter from the fact 1 . i am getting this error.(which is the column in the second fact table 2).I checked all the joins in the BMM layer.
    Please help me!!!
    Thanks,
    Surya

    Surya did you set the levels properly for two fact tables and also for metrics.
    When ever you are using two fact groups with non confirmed dimensions you have to make sure all the content levels set for the fact tables and as well as for metrics.
    in your fact tables/ metrics - For related dimensions set the level to Detail. and for the non related dimension set the level to Total. This way obiee server will understand what is related dimension and whats not related..
    hope this works for you.

  • TWO MASTER AND ONE DETAIL TABLE

    HI,
    I HAVE TWO SEPARATE MASTER TABLE WITH SAME DETAILS I MADE ONE DETAIL TABLE REFERENCES BOTH OF THE MASTER TABLES(BOTH MASTER HAVE SAME PRIMARY COLUMN NAME) , BUT WHEN INSERT RECORD IN DETAIL IT GIVES ME ERROR THAT PARENT KEY NOT FOUND(ALTOUGH I HAVE INSERTED MASTER DATA IN ONE MASTER TABLE BUT NOT THE SECOND ONE AND IT'S NOT POSSIBLE TO INSERT SAME DATA IN SECOND MASTER TABLE), WHAT I WANT TO ASK THAT HOW IT'S POSSIBLE TO USE SAME DETAIL TABLE WITH DIFFERENT MASTER TABLES. STRUCTURE OF BOTH OF THE TABLES ARE BELOW.
    MASTER ONE
    SQL> DESC INCIDENT
    Name
    REF_NO
    INC_TYPE_CODE
    DISTRICT_CODE
    KV33
    KV11
    INC_DATE
    EMERGENCY
    TRIP
    CAUSE_TYPE_CODE
    SUB_CAUSE
    INC_DESC
    REASON
    OPER_SEQ
    REM_RECOM
    CON_COMP_CODE
    CTRL_ENG_APP
    DELAY_OCCURED
    DELAY_REASON
    SECOND MASTER
    SQL> DESC SWITCHING
    Name
    REF_NO
    INC_TYPE_CODE
    JOB_CODE
    DISTRICT_CODE
    KV33
    KV11
    CON_COMP_CODE
    INC_DATE
    INT_NOTICE_ISSUE
    INTERRUPTION
    REM_RECOM
    CTRL_ENG_APP
    WORK_DESC
    DETAIL TABLE
    SQL> DESC INTERP_DETAIL
    Name
    REF_NO
    INC_TYPE_CODE
    FEEDER_CODE
    VOL_LEVEL
    START_DT_TIME
    GRID_CODE
    END_DT_TIME
    LOAD_AMP
    LOAD_MW
    LOSS_MWHR
    THANKS IN ADVANCE.
    KHAWAR

    Hi,
    When you establish the relations using the references, then oracle will look for the parent key in both the parent tables. Either you need to remove the foreign keys or change your db design to add one more table and have one-one parent child relationships.
    HTH
    Regards,
    Badri.

  • Resolving loops in a star schema with 5 fact tables and 6 dimension tables

    Hello
    I have a star schema, ie 5 FACT tables and 7 dimension tables, All fact tables share the same dimension tables, some FACT tables share 3 dimesnsions, while other share 5 dimensions.  
    I did adopt the best practices, and as recommended in the book, I tried to resolve them using Context, as it is the recommended option to Alias in a star schema setting.  The contexts are resolved, but I still have loops.  I also cleared the Multiple SQL Statement for each context option, but no luck.  I need to get this resoved ASAP

    Hi Patil,
    It is not clear what exactly is the problem. As a starting point you could set the context up so that it only covers the joins from fact to dimension.
    Fact A, joins Dim 1, Dim 2, Dim 3, and Dim 4
    Fact B, joins Dim 1, Dim 2, Dim 3, Dim 4 and Dim 5
    Fact C, joins Dim 1, Dim 2, Dim 3, Dim 4 and Dim 6
    Fact D, joins Dim 1, Dim 2, Dim 3, Dim 4 and Dim 7
    Fact E, joins Dim 1, Dim 2, Dim 4 and Dim 6
    If each of these are contexts are done and just cover the joins from fact to dim then you should be not get loops.
    If you could lay out your joins like above then it may be possible to specify the contexts/aliases that should work.
    Regards
    Alan

  • Error while adding two facts in One SA

    Hello Experts,
    I am new in OBIEE 11g. But with the concept of OBIEE 10g, I tried to work on 11g as well.
    Requirement: One subject area with two dimensions and two facts.
    In the warehouse we have 2 fact and 2 dimensions.
    Dim – Programme.
    Dim – Student.
    Fact - UG Acad Student.
    Fact - Award Student
    Join Condition: Dim Programme and Dim student is connected to Fact - UG Acad Student. With proper key.
    Fact - Award Student and Dim – Student is also connected to each other, but this fact is not joined with Programme dim.
    What I am doing is:
    •     Imported four tables in Physical layer made physical join based on above relationship.
    •     Dragged both dim in BMM layer and created level based hierarchy. Created one fact table with two LTS(Physical fact table).
    •     Made a complex join with logical fact and tow dim.
    •     Set the content tab in fact table. In Award fact I set for student detail and in Fact - UG Acad Student I set for Programme dim and Student dim both.
    •     Dragged all to Presentation layer an d trying to run Analysis selecting one column from all four tables.
    It is giving bellow error:
    It is creating logical query but not physical. I have disabled all cache.
    Error:
    RqList distinct
    0 as c1 GB,
    Dim - Programme.Programme Code as c2 GB,
    Dim - Programme.School Name as c3 GB,
    Dim - Student.Matric number as c4 GB,
    Fact - Award Student.Amount of Award as c5 GB,
    Fact - UG Acad Student.Study Year as c6 GB
    OrderBy: c1 asc, c4 asc NULLS LAST, c2 asc NULLS LAST, c3 asc NULLS LAST, c6 asc NULLS LAST, c5 asc NULLS LAST
    [2012-03-29T09:37:10.000+00:00] [OracleBIServerComponent] [TRACE:4] [USER-34] [] [ecid: 3ddf9f86307e7e8c:57ea58:13657dcde63:-8000-00000000000085d1] [tid: 7c0] [requestid: 52330002] [sessionid: 52330000] [username: OBIEE_T2] -------------------- Query Status: [nQSError: 14025] No fact table exists at the requested level of detail: [[Dim - Student.Matric number],[Dim - Programme.Programme Code, Dim - Programme.School Name],[Fact - UG Acad Student.Study Year],[Fact - Award Student.Amount of Award]]. [[
    [nQSError: 43119] Query Failed:

    Hi Venu,
    Try this and let us know the output.
    1. Make sure you have a level-based dimension for each of your logical table dimensions (both conforming and non-conforming).
    2. For the fact table measures, set the levels as you did in 10g with the non-conforming dimensions at the Grand Total logical level for each measure.
    3. For the fact table LTSs, set the logical level in the Content tab to the dimension's lowest level for each conforming dimension (leave the non-conforming dimensions level blank)
    Mark if helps.
    Thanks,

  • 3 facts and 4 dimensions

    Hi,
    In my RPD I have 3 facts and 4 dimensions and the joins defined are as below
    Physical layer - All joins are FK and inner (1:N)
    FACTA-------------- Dim1,Dim2,Dim3,Dim4
    FACTB-------------- Dim1,Dim5,Dim6
    FACTC-------------- Dim1,Dim7,Dim8,Dim9
    BM layer - All joins are complex, inner
    Question is
    When i am fetching the data some records are showing blanck and some with records
    i wants table to be filled with records not blanck anywhere
    thanks

    If you set the content level for Fact B to be TOTAL for Dim 2 the metric will be null since there is no relationship between these tables. If you want the metric to repeat for this dimension you need to set the metric content level to TOTAL for Dim 2. Try that with one of the metrics and verify the behaviour.

  • 2 date columns and one dimension hierarchy

    Hi,
    I have one question in OBIEE 10g.
    I have one dimension table with 2 date columns (insertedOn, updatedOn)
    I created insertedOnYear, insertedOnMonth and updatedOnYear, updatedOnMonth columns from my date columns.
    I have hierarchy
    Year -> Month -> Day for that dimension table
    and I would like to dril down both columns insertedOnYear and updatedOnYear
    insertedOnYear -> insertedOnMonth -> insertedOn
    updatedOnYear-> updatedOnMonth -> updatedOn
    I am able to do it only for one of these columns and not for both.
    I can place both columns to appropriate levels, but drilling doesn´t work as I want
    Can you tell me how to solve my problem?

    Oops, I was talking about 11G. Ok no problem. Do this. In the physical layer, cretea 2 alias tables. Both pointing to the table where you have these 2 fields. The put everything in your BMM. There create the 2 hierarchies using the 2 different tables (that will point to the 2 alias tables create in the physical layer). This will make them unique.

  • If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    Actually, everyone missed one point, when a device is priced, the cost of icloud storage space for that device is also included in it that is why they are able to give you 5gb each for each user ID, in nutshell there is nothing free coming with apple device purchase, it is paid for.  What they are trying by giving only 5gb per user ID irrespective of the number of devices used is pure broadlight looting, they take money from you when you buy each device and give you nothing, This is a case of goods and services bought but not fully deliverd ie apple can be suied for discreminatory treatment towards it's users. I wonder why no one tried this yet in America where everyone sue everyone for petty things..... there is no one to take up this issue? . if tim got any love for the guys who shell out money for the devices his company makes, he should be implimenting this as priority before someone wake up from sleep and sue him.

  • HT204053 I have two iPads and one apple ID. How can I FaceTime to/from each iPad? Do I need to set up a second apple id or is there a way around this?

    I have two iPads and one apple ID. How can I FaceTime to/from each iPad without creating a new apple Id. Anyone know a way around this I.e trying to FaceTime 2 IPads that have the same apple id associated with them?

    Have a look here...
    setting-up-multiple-ios-devices-for-messages-and-facetime.html

  • A Tale of Two iPhones and One iTunes

    So this little problem has plagued us for years... nearly three to be more precise.  We have two iPhones and one PC.  Wife syncs contacts with GMail and I sync contacts with Outlook.  Funny thing was that the tab for contact sync would not 'stick' with the phone... if I synced mine first, when I plugged hers in it would still be setup for Outlook.  Or if I changed it to Google for her and then plugged mine in it wouldn't remember my phone wanted Outlook and would sync with Google.  I gave up trying to get it working and setup a seperate profile on the PC for my wife that really was only used for her to sync her phone.  The only drawback we could see was we couldn't have a single repository for apps and I had to add music to libraries twice (one for each profile on the computer). 
    Well, now that we're on the 4S I thought I'd see if iTunes has evolved since 3 years ago when I gave up.  I uninstalled all Apple applications and loaded the latest iTunes.  The cool part of iOS 5 and the new iTunes is we don't have to connect phones any more   So now both phones show up at the same time.  I can toggle through all the tabs and see how they differ... different sets of applications are selected, different photo options, music options, etc.  EXCEPT the tab with contacts.  If I set her phone to google, my phone changes too.  I set mine back to Outlook and hers changes to Outlook.  We've mixed and matched contacts several times trying to get them to stay in tune and that is a huge PITA to clean up. 
    I tried the Genius bar.  The Genius answer was that we should probably do a restore on the phone.  I asked him to help me understand how restoring one phone would solve a problem that existed across 4 phones (two 3G's and two 4S's) and untold versions of iTunes over three years.  He just insisted that we probably need to do a restore on the 4S.  You know, because that would clearly explain the problem we also had on the 3G.  His backup plan was to call Apple support.
    So before I submit a ticket to Apple, anyone else able to confirm this limitation?  I've checked with my friends and the ones that have iPhones don't sync their contacts anywhere.  iCloud will help but we use XP and the PC software requires Vista or better so for now we're still unable to sync our contacts to our PC.
    Thanks!
    david

    On your wife's phone, when you said you've done a restore, was that a restore from backup or as a "new" device? I would suggest deleting the .ipsw file/files on your computer, connecting your wife's phone and restore as "new". When finished, DO NOT SYNC, rather eject the phone and test, verify that all is working correctly. If so, connect her phone & sync her content back.
    The .ipsw file is located here, delete all you find, there should only be one:
    ~/Library/iTunes/iPhone Software Updates
    If this works, under preferences, devices, in itunes, delete her backups, as they are most likely corrupted.

  • TS3367 I have two IPhones and one IPad all with the same Apple ID. I can call facetime between the two IPhones, but I cannot call the IPAD from either of the IPhones and when I call my IPhone from the IPad it rings my wife's IPhone after briefly calling m

    I have two IPhones and one IPad all with the same Apple ID. I can call facetime between the two IPhones, but I cannot call the IPAD from either of the IPhones and when I call my IPhone from the IPad it rings my wife's IPhone after briefly calling mine.

    Each device needs a separate address. Use an email address (gmail.com) on the iPad.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
     Cheers, Tom

  • I have two iPads and one iPod Touch and they are using iTunes on the same computer.

    I have two iPads and one iPod Touch and they are using iTunes on the same computer. I have not been able to backup the second iPad. Is there a reason this is happening? iPad one is an iPad 1 and the second is an iPad 2 not sure if this has something to do with it. I just tried to upgrade to IOS 5 and when it went to back up it gave me an error code (-5000). I tried to back up using iTunes and it told me that my backup was corrupted and to delete it and try to back up again. When I went into the device portion where I was instructed to go to delete the backup I found that there was no backup for my iPad just the iPad 1.
    I have synced many times and all of the apps, podcasts, music, etc... show up in iTunes, and iTunes recognizes that is is the second iPad but there is not a backup for it.
    Any Ideas?

    Read this:  How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495

Maybe you are looking for

  • Can't install Skype

    I am trying to install Skype on Windows 7.0.  I get an Access Denied message and then an error 1603.  I have run Microsoft fixit and am still getting the same error messages.  Can anybody help me fix this?  Thanks.

  • Importing OA FWK Pages into JDeveloper

    Hi Everyone, My requirement is to Add some text field to an existing page .Problem is dat i am unable to know the method to get the existing pages and work on them in JDeveloper. The steps i know is 1.Create the workspace and create the directory str

  • Adding modem device to a zone

    Hi, Im trying to add a modem to a zone, but not having much fun. Zones dont seem to have a /devices/ "directory" and so Im presuming you can't install drivers to the kernal and add them like that. Im also presuming that because of this, a modem would

  • How to change Macbook pro MD101Hn/a from 32 bit to 64 bit?

    How to change Macbook pro MD101Hn/a from 32 bit to 64 bit? Adobe softwares needs 64bit softwares to install and access........

  • Regarding The Message determination

    Hi is it necessary to assign form everytime to the standard output type?