Combains 2 facts (witth two separate dimensions)

Hello,
my question is- how two combain two facts, when each of them has it's own dimension?
I've got F1-D1 and F2-D2, i need to combain them by D1-D2, which contains same information- five letters code
F1, F2, D1 and D2 are in the same subject area.
Thanks for all hints:)

You could make 1 dimension in the RPD with 2 branches ending in a shared level (your 5 letter code).
regards
John
http://obiee101.blogspot.com

Similar Messages

  • Using two facts of two different star schemas and conformed dimensions

    Hi,
    I've been working as developer and database designer for years and I'm new to Business Objects. Some people says you can not use two facts of two different star schemas in the same query because of conformed dimensions and loop problems in BO.
    For example I have a CUSTOMER_SALE_fACT table containing customer_id and date_id as FK, and some other business metrics about sales. And there is another fact table CUSTOMER_CAMPAIGN_FACT which also contains customer_id and date_id as FK, and some  other business metrics about customer campaigns. SO I have two stars like below:
    DIM_TIME -- SALE_FACT -- DIM_CUSTOMER
    DIM_TIME -- CAMPAIGN_FACT -- DIM_CUSTOMER
    Business metrics are loaded into fact tables and facts can be used together along conformed dimensions . This is one of the fundamentals of the dimensional modeling. Is it really impossible to use SALE_FACT and CAMPAIGN_FACT together? If the answer is No, what is the solution?
    Saying "you cannot do that because of loops" is very interesting.
    Thank you..

    When you join two facts together with a common dimension you have created what is called a "chasm trap" which leads to invalid results because of the way SQL is processed. The query rows are first retrieved and then aggregated. Since sales fact and campaign fact have no direct relationship, the rows coming from either side can end up as a product join.
    Suppose a customer has 3 sales fact rows and 2 campaign fact rows. The result set will have six rows before any aggregation is performed. That would mean that sales measures are doubled and campaign measures are tripled.
    You can report on them together, using multiple SQL passes, but you can't query them together. Does that distinction make sense?

  • 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.

  • Referencing two fact keys from one dimension using Dim.Key = Fact.Key1 OR Fact.Key2 possible ?

    Hi all
    I need your help for an approach to the following problem. Lets say that i have the following dataset
    AccountMonth
    ActivityMonth
    Amount
    201307
    201301
    2.500
    201307
    201304
    600
    201307
    201305
    900
    201307
    201306
    4.000
    201307
    201307
    500.000
    201308
    201305
    500
    201308
    201307
    400
    201308
    201306
    300
    201308
    201308
    400.000
    201309
    201307
    300
    201309
    201302
    500
    201309
    201309
    100.000
    201310
    201305
    400
    201310
    201309
    50.000
    201310
    201310
    200.000
    In my cube i want the user to select the Accountmonth from one time dimension, but i want some logic to also apply for the ActivityMonth. For one measure if I for example select 201307 i'll get this amount
    AccountMonth
    ActivityMonth
    Amount
    201307
    201301
    2.500
    201307
    201304
    600
    201307
    201305
    900
    201307
    201306
    4.000
    201307
    201307
    500.000
    This is easy - Accountmonth dimension is related to AccountMonth column in the fact table. Now i also need another measure, where the month selected needs to be meet for both accounting and activity month. This is also easy, as i can just reference both
    columns in the fact table. Result in this case is then only one row:
    AccountMonth
    ActivityMonth
    Amount
    201307
    201307
    500.000
    Now the tricky part comes when I start to select more months, because the amount i need is where month combinations are shared, so if i for example choose 201307, 201308 and 201309 i don't just want
    AccountMonth
    ActivityMonth
    Amount
    201307
    201307
    500.000
    201308
    201308
    400.000
    201309
    201309
    100.000
    I actually want the amount from which the months is in either accounting or activity, like this
    AccountMonth
    ActivityMonth
    Amount
    201307
    201307
    500.000
    201308
    201307
    400
    201308
    201308
    400.000
    201309
    201307
    300
    201309
    201309
    100.000
    I know how to solve it either by having two time dimensions or using MDX, but user should only have to select from one time dimension. So far, solving it using Non-empty/existing in MDX is not performing fast enough. Feedback will be appreaciated if you
    have an idea of how to solve this.

    So far, solving it using Non-empty/existing in MDX is not performing fast enough. Feedback will be appreaciated if you have an idea of how to solve this.
    here are some links about performance tuning
    http://www.mssqltips.com/sqlservertip/2565/ssas--best-practices-and-performance-optimization--part-1-of-4/
    http://technet.microsoft.com/en-us/library/cc966527.aspx

  • 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.

  • I want to use two separate Lion Time Machine backups and use them to create two separate profiles on one new computer

    This is something I need to do temporarily but I must do it. 
    I have an iMac 27 (end of year 2009) I5.  It has 1 TB internal and I want to replace it with a 2 TB internal.
    I have time machine backups on an external hard drive that has been connected via Firewire. 
    I have another iMac (my son's)Imac 24 Intel Core 2 Duo that has it's own separate Time machine backup to it's own separate firewire connected external drive.  Both machines are completely up to date with the latest version of Lion and all other necessary software updates.
    When the internal hardrive is replaced - I want to use my latest time machine backup to create one profile on the imac and then use my son's latest time machine back up for a second profile.  The end goal being to have everything from my current set up ie: apps, documents, itunes, etc existing in one profile and everything in my son's current set up existing in the other profile.   We can both be administrators for the time being as well.  I should note even though we both have some of the same apps, we both also have other apps that the other does not.
    My profile will be using about 900 gigs of total space.
    My son's profile will be using about 250 gigs of total space.
    This is temporary until the new iMac is released.  Then I will want to transfer my profile to that leaving my son's intact on the iMac 27 I5.
    I realize that during the temporary period that Time Machine will be making backups of this entire two profile setup, which I am now understanding as I write this will create a new issue for me when I want to transfer only my profile to the new computer as well.  But one bridge to cross at a time, I guess.
    I need to do this because we must bring his current computer to my father - as his iMac G5 is inoperable.  We have been doing this round robin hand me down in our family since IMac DV special edition :-)
    Any insight on this would be greatly appreciated.  And any other suggestions as well.
    Thanks very much.

    Hey Shootist000,  Thanks for the replies.  First off, I am actually okay if we both have each other applications so I am not concerned about that. It is still unclear from what you have said as to whether I can in fact, use these two separte time machine backup to create two separate profiles on the new hard drive.  If that in fact can be done, then - will it create two copies of the apps we both have in the ROOT of the drive as well as placing all the ones we each have separately?
    And reading your second reply, makes me think that maybe the partition is the way to go to begin with and then down the road - after I am in the new iMac, I could reformat the iMac 27 with only one partion and restore my son's latest back prior to the reformat thus giving him full access to the 2 TB of the drive.
    If this is still making sense, does this mean :
    replace the 1TB with a 2TB - but have it partitione - 1.5 TB & 500 GB.
    Install(Restore using Time Machine) my latest back up prior to the  1.5 partition
    Install (Restore using Time Machine) my son's latest back up prior to the 500 gig partition
    Lastly, in order for us both to be using the partioned computer - I am assuming Switch user can no longer be used - so would we need to restart and select our respective partions in order to use the computer?   And if so, how would we each be able to be using time machine to back up - two separte external hard drives - with each one dedicated to only one partition? Or ? 
    Thanks so much.
    Ironically, I am only trying to do this so that I don't need to manually install all his apps, setting, games, blah blah for this temporary period.  :-)

  • 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.

  • Material attributes in separate dimension?

    Hi BW experts,
    As a new member I have been looking for a similar topic but unfortunately I can't find anything on it so I was hoping one of you could help me out.
    I want to redesign our stock/movement cube due to performance issues. One step is to have the 0MAT_PLANT as a separate (line-item) dimension as opposed to a charateristic of 0MATERIAL. I assume this will help a great deal since 0MAT_PLANT has over 8.5 M entries which does not really help to speed up any queries. (fact table has about 40M records)
    Another thing is that I would like to create a separate dimension with 0MAT_PLANT navigational attributes like service level, ABC indicator etc. These fields are now in the material dimension and I reckon these nav attr blow up the dimension massively since one material has multiple service levels and ABC indicators. Can I just drag in these field into a new dimension, say Material Attributes and still have them in there as master data?!
    In other words, can I create a dimension with only 0MAT_PLANT navigational attributes and what are the consequences of this?
    Thanks heaps!
    Cheers,
    Niels

    Thanks Pizzaman.
    I do not think it will be a good idea to physically put the master data in the cube in my case so I have to keep it as master data.
    Can you explain to me what happens when I take the following steps:
    I take out the 0MAT_PLANT characteristic (which has 8.5M records) and create a separate (line item) dimension for it and I leave the NA for 0MAT_PLANT (like service level and ABC indicator) in the Material dimension.
    Would this have any impact on the number of records to be read when I run a query for plant, material and ABC indicator?
    Doesn't the query still have to read the 8.5M records which are now in the 0MAT_PLANT dimension instead of the 0MATERIAL dimension?
    So does creating a separate 0MAT_PLANT dimension have any impact on query performance?
    I do understand you point about the indexes and that might work.
    Hope you can help me with this
    Thanks.
    Cheers

  • Need computer to recognize two separate iPods using 2 libraries on single login

    I have a family who has two separate iPod 5's, and Ive created two separate libraries for them on a Windows 7 machine under the same login.
    I know how to open iTunes holding the "Shift" key and double clicking the icon, but what I want (and what Apple SHOULD have coded into iTunes IMO) is for the computer to recognize which iPod is associated with a specific library, and open the correct one in iTunes when the iPod is plugged in.
    Currently, it is opening the last library that was opened.  Sounds a little silly, but holding shift, and selecting the library every time is not going to fly for this family.  They are not that computer savvy.  This seems like something that should automatically be done...if not I consider it a bug in iTunes. 
    They are using the latest iTunes/iPod firmware.
    Any help?
    Thanks,
    Ivanhoe255

    Ivanhoe255 wrote:
    Sigh...that was sarcasm (mixed with slight contempt of Apple for making my life ****)
    I know what you need to do!
    Buy yourself a turntable and some records - you know, that vinyl stuff (that I grew up with):
    When playing an album (a twelve inch LP record), there was a ceremony to go through: slipping the record carefully out of its sleeve, handling it by its edge and centre label but not the playing surface, skillfully flipping it over and round to the read the centre label, making sure you played the correct side. Then getting up every twenty minutes to flip the record over to side two, or put on a different album altogether.
    And if you were a singles fan... sitting next to the record player, preparing the next 7" (seven inch) that you were going to put on; removing from the turntable, the record that had just finished, and putting the next one on in its place as quickly as possible.
    A ritual in fact.
    As great as vinyl was, you would then appreciate iTunes and all it has to offer.
    *Flippant and light-hearted, but not sarcastic.*

  • Opening and Closing values on two separate rows for an indvidual A/c?

    Hi / Salam To all SAP Members,
    I am creating a COGS report in which i need to show opening and closing values for a stock account in two separate rows. The tool i am using is report painter.
    What i need to know is how can the system identify between opening and closing values for that account? Which characteristic/s do i need to include in the rows? The table i am using is FAGLFLEXT.
    Please provide help.
    Regards,
    Mohammed Ali Khan.

    Resolved Issue.

  • I have two separate itune accounts under two different email accounts and would like to combine them under one account.  Is this possible and if so, how do I do it?

    I have two separate itune accounts under two different email accounts and would like to combine them under one account.  Is this possible and if so, how do I do it?

    If you go to Settings > iTunes & AppStore , you can sign out from your account, and sign in with the one you've used to purchase apps.This will not remove any apps you already have on it.
    Then you can go to AppStore and download apps you've purchased (either via "Purchased" button in "Updates", or simply search for them and download them.
    That way you can have multiple accounts' apps on your iPad. When updating, you will be prompted for the credentials for account you've purchased given App with.

  • I have iTune accounts under two separate Apple IDs.  Can I merge them into one account under one ID?

    I have iTune accounts under two separate Apple IDs.  Can I merge them into one account under one ID?  I have purchased music and video in both.

    No, it is not possible to merge accounts.  Choose one as the primary account and keep a local backup of all purchases so you don't get into the mess where you encounter a 90 day freeze on re-downloading past purchases from multiple accounts.

  • Can we use two separate apple ids on one laptop to upgrade apps

    can we use two separate apple ids on one laptop to upgrade apps

    Welcome to the Apple Community.
    Only if you use two separate user accounts.

  • Can two users on two separate computers share their screens?

    I often conduct training sessions and demos in a conference room with a large monitor mounted on the wall. I often have remote participants, so I use Lync or Live Meeting, along with a dial-in number for the audio.
    Lately I've been wanting to share not just my screen, but also another participant's screen, so I can demonstrate what's happening at both my end and at the participant's end.
    This is not the same thing as sharing two monitors connected to the same computer. This is sharing two separate monitors connected to two different computers, both of them using Lync.
    Is this possible? If so, how?

    Lync will use the MCU fro your conference. You will be able to show both screens but not at the same time.
    You can only show a screen from one presenter at the same time and you have to switch to the other presenter.
    regards Holger Technical Specialist UC

  • Is there a way to have two separate projects open in different windows?

    On my old editing software, I could have two separate projects open at the same time. I could copy clips from Project A, click over to Project B, and paste the Project A clips to Project B. Is there a way to have two separate projects open with Premiere Elements, or will I have to just import and trim every clip within the same project?

    Welcome to the forum.
    Unfortunately, PrE will not allow two Projects to be open at the same time. It will also not allow multiple instances of PrE to be open.
    The workaround, to accomplish what you describe, is to use a ClipBoard Extender, such as ClipMate, which will allow one to Copy a Timeline, or parts of it, from one Project, then Close that one, to Open another one, and Paste the material, that was Copied. Many users employee ClipMate, or similar, to Copy/Paste material from one Project, to another.
    Good luck,
    Hunt

Maybe you are looking for

  • Problem In Excel File download

    Hi I have created an excel file fro table using HSSF api.When i click on the link download excel,it opens properly but an empty new window also opens along with it..i do not want that to happen any Suggestions??

  • Anyone witnessed Server Side Copy in action with Yosemite Server 4.0.3?

    Hi, Just curious if anyone can validate the following for me before I upgrade. 1. Client is Mac OS X 10.10.2 client 2. Server is Mac OS X 10.10.2 running Server 4.0.3 3. Server is sharing out two shares via SMB only which for argument sake have faste

  • Assign Song To Multiple Albums (i.e. greatest hits)

    Hi guys I was wondering whether there was a organised way on itunes to assign a particular song to more than one album.  Not as a duplicate, but rather so the same song appears within two albums (or more).  An example with this, for instance, will be

  • Wireless Remote Server Issues

    I have a wireless router set up with a home computer and while the desktop recieves the internet, my laptop is giving me the message that it is unable to connect to the remote server. In my network prefrences, it reads that I am connected to the netw

  • Working of SELECT MIN when data field is blank

    Hi expert, I'd like use the SELECT MIN instruction to take the older data (yyyy/mm/dd). If by accident I have a Data value = blank, the SELECT MIN does will take it? I should be sure that the SELECT MIN does not take an initial value. Thanks for your