Join fact with another fact like a dimension

Does it work if I join fact table with another fact table as a dimention(created the dummy hierarchy and add the sum() to the measure existed in the table)?
If I pick the measure value in the fact table(which is configured like a dim), I will get the correct number? Or multiplied number?
If there is any good way of work around please let me know
Thanks
Edited by: user12077461 on Jun 29, 2011 7:39 PM

Hi,
You can create an Alias Table in the Physical Layer for the Fact table which you want to use as a Dimension Table. And start using the Dimension Table. And if you want any measure values to be used from the Fact, then you can extract that too.
This should simplify your work too.
Regards
MuRam

Similar Messages

  • How do I sync with another browser like safari

    How do I sync with a second browser on the same machine?

    Hi jimsileo-
    There isn't a function to keep Firefox synced concurrently with another browser. However, you can easily export your bookmarks to another browser. Here is an article which describes how to do that:
    [[Exporting data to Safari]]
    Good luck!

  • Join a fact to dimensions it's not directly joined to through another fact

    Hello Experts,
    I have a fact1 table with 2 dimensions
    those 2 dimensions join to another fact2 table that is connected to 4 another dimensions.
    How is possible to navigate fact1 through the other 4 dimensions?
    simplification:
    Fact1>----Dim1----<Fact2>----Dim2
    I want to navigate through Fact1 using Dim2
    is there a work around this configuration in the repository?
    Thank You
    Regards

    Hi,
    You need to create a join between a fact and dimension.If you want to navigate fact 1 through other 4 dimensions that are not joined to fact1 then you need to find out some join condition.If you have thought of a report based out of fact1 and those 4 dimension then you should be able to find out some join between these tables.
    What exactly you want to do.
    Can you please elaborate.
    Regards,
    Sandeep

  • Joining Facts With Different Grains to NonConfirming Dimensions - Mystery

    Hi ,
    Taxonomy Used is - CD stands for Confirmed Dimension && NCD stands for Non Confirmed Dimension.
    I have 3 Dimensions (CD1,NCD2,NCD3) and 2 facts (F1 & F2).
    ==> Fact F1 can be joined to only CD1 and NCD2 dimensions. Grain of Fact F1 is same as CD1 i.e., Nbr of records matches 1 to 1 between CD1 and F1F2
    ==> Fact F2 can be joined to only CD1 and NCD3 dimensions. Grain of Fact F2 is CD1 & NCD3. There could be multiple records for same value of CD1 within Fact F2, and similarly there could be multiple records for same value of NCD3. But there will always be just 1 and only 1 record for combination of CD1 and NCD3.
    Report Requirements:-
    1) Get few Metrics from F2 and few from F1 while applying a filter on NCD2. so below columns are needed :-
    Dimension Column from NCD2 || Metric from Fact1 || Metric from Fact2
    So need to understand how to enforce the relationship between Fact F2 and Dimension NCD2
    2) Get few Metrics from F2 and few from F1 while applying a filter on NCD2 and also Display NCD3. so below columns are needed :-
    Dimension Column from NCD2 || Dimension Column from NCD3 ||Metric from Fact1 || Metric from Fact2
    ==> In above case it is perfectly acceptable if Metric from Fact 1 repeats again as Fact1 is at higher Grain as compare to Fact2.
    Edited by: user10799880 on Apr 15, 2013 9:37 PM

    Hi,
    refer to this
    http://108obiee.blogspot.com/2009/08/joining-two-fact-tables-with-different.html
    mark helps
    thanks

  • How to create hyperlink in a page with another website

    like we can link email links and hyperlinks (with other
    files) how do i make link with another website like
    in my home page i say www.indiatoday.com and i want that when
    one clicks on www.indiatoday.com this site opens
    how do i create a link using dreamweaver without having to
    code manually.

    "pandeya" <[email protected]> wrote in
    message
    news:f66jl8$72b$[email protected]..
    > like we can link email links and hyperlinks (with other
    files) how do i
    > make
    > link with another website like
    > in my home page i say www.indiatoday.com and i want that
    when one clicks
    > on
    > www.indiatoday.com this site opens
    > how do i create a link using dreamweaver without having
    to code manually.
    Select the text www.indiatoday.com. In the Property
    Inspector, in the Link
    field, type the full URL -
    http://www.indiatoday.com.
    Click OK.
    You might want to use the Help documentation for really basic
    questions like
    this..
    Patty Ayers | Adobe Community Expert
    www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet

  • Two facts with joins to all dimensions

    I have two dimension tables say D1, and D2 and they are joined to two facts F1 and F2. Now I need a report from one column of d1 and other column of d2 how obiee server will perform query by only one fact or two facts if only one fact which fact it will go through.

    OBI will select one fact....I think it's based on the order of the facts in the business model.
    But, you can set an implicit fact columns in the presentation layer...this gives you the possibility to add implicitly the fact table that must be used when only dimension objects are selected.
    Hope this answers your question.
    Kr,
    A

  • Joins with multiple fact tables

    Hi Experts,
    i have one doubt in joins
    we have two dimensions D1 and D2,
    D1 is having A1 and A2 columns
    D2 is having B1 and B2 columns
    two facts F1 and F2 these are joined like D1 to F1 D1 to F2 and D2 to F1, D2 to F2
    D1----->F1
    D1------>F2
    D2-------->F1
    D2-------->F2
    if i selected A1 and B1 in a request from which FACT table will get the data and why can you please explain
    please help me
    reg,
    Jell

    Hi All,
    I have a similar requirement where I have 4 multiple fact tables and we can't combine all those facts into one single fact table. In that case how can a query work with multiple common and uncommon dimensions and measures from multiple fact tables, if it doesn't work that way - can you please explain how can we expect a query to work with multiple fact tables.
    For eg: D1– Dim
    D2 – Dim
    D3 – Dim
    D4 – Dim
    F1 –Fact
    F2 – Fact
    F3 – Fact
    D1 -> F1
    D2 -> F1,F2
    D3 -> F2
    D4 -> F1, F3
    In this case if we want to query from D1,D2,D3, F1, F2 or D1,D2,D3,D4,F1,F2,F3. Kindly please explain how it can be modeled in BMM or what are the limitations. I have done with two fact tables in past and didn't had issues but this is kind of a vast implementation. Your help is appreciated.

  • 2 Facts with common dimensions

    Hi All,
    I am trying to developer an Answer
    I have two Fact tables :- Budgets and Actuals
    The two Fact Tables have common dimensions (Period, Cost Centre and Expense)
    When I create an answer which combines these common dimensions and the two fact tables I can create a report that compares Actuals Vs Budgets and that works fine
    However the Budget Fact has an additional dimension Bugdet Name (which can have values like 'Budget','Forecast','Allocation') that does not apply to Actuals
    When I try to fliter or include the Budget Name I lose all my actuals
    (Incidentally some actuals do not have budgets, some budgets do not have actuals and I want to see all rows)
    Any ideas?
    Cheers
    Pete

    Hi,
    I try this:
    I have in BMM one subject area with two fact and common dimension
    SALES -> quantity_sold measure
    and
    SALES_TIME_ID -> select (amount_sold-100) as amount_sold, time_id from sales
    and dimensions
    TIMES
    PRODUCTS
    Both are joined to a SALES and just TIMES is joined to a SALES_TIME_ID in physical layer and in BMM complex join are propagated from facts to dimensions
    Test in Answers - both queries are generated:
    TIMES.CALENDAR_YEAR
    SALES.QUANTITY_SOLD
    SALES_TIME_ID.AMOUNT_SOLD
    select T20553.CALENDAR_YEAR as c1,
    sum(T20550.QUANTITY_SOLD) as c2
    from
    TIMES T20553,
    SALES T20550
    where ( T20550.TIME_ID = T20553.TIME_ID )
    group by T20553.CALENDAR_YEAR
    order by c1
    ------------------- Sending query to database named orcl (id: <<13806>>):
    select T20553.CALENDAR_YEAR as c1,
    sum(T35447.amount_sold) as c2
    from
    TIMES T20553,
    (select (amount_sold-100) as amount_sold, time_id from sales) T35447
    where ( T20553.TIME_ID = T35447.time_id )
    group by T20553.CALENDAR_YEAR
    order by c1
    PRODUCTS.PROD_CATEGORY
    TIMES.CALENDAR_YEAR
    SALES.QUANTITY_SOLD
    SALES_TIME_ID.AMOUNT_SOLD
    select distinct D1.c2 as c1,
    D1.c3 as c2,
    D1.c1 as c3,
    cast(NULL as  DOUBLE PRECISION  ) as c4
    from
    (select sum(T20550.QUANTITY_SOLD) as c1,
    T20553.CALENDAR_YEAR as c2,
    T21473.PROD_CATEGORY as c3
    from
    TIMES T20553,
    PRODUCTS T21473,
    SALES T20550
    where ( T20550.PROD_ID = T21473.PROD_ID and T20550.TIME_ID = T20553.TIME_ID )
    group by T20553.CALENDAR_YEAR, T21473.PROD_CATEGORY
    ) D1
    order by c1, c2, c4
    Amount sold is null because SALES_TIME_ID does not contain PROD_CATEGORY attribut, it's not common.

  • Filter on a dimension with a fact that don't depend on that dimension

    Hi experts,
    I have a logical column (fact1) that it is set as total for logical level for one dimension (dim1). (it doesn't depend on that dimension but i have to put it in a report next to that dimension).
    If I don't filter the report the result is:
    dim1 dim2 fact1
    a x 1
    a y 2
    b z 3
    b w 4
    If I filter the dim1 on 'a' then the result is:
    dim1 dim2 fact1
    a x 1
    a y 2
    null z 3
    null w 4
    I don't want to see those 2 lines with null...
    How can I achive that...
    Thank you in advance...
    Best regards
    Nicolae Ancuta

    Thank you for your post:
    Here are the details:
    Phisical layer:
    Stores
    Products
    Suppliers
    Stock joins with products and with stores
    Purchase Price joins products, stores and suppliers
    Sale price joins products and stores
    Avg sale per day joins products and stores
    BMM:
    Dim Stores table
    Dim Products table
    Dim Suppliers table
    Fact stock table with source Stock inner join Sale price inner join Avg sale per day
    Fact stock table joins on logical level with Dim Stores and Dim Products
    The source table stock has the following mapping on logical level:
    detail on - Dim Stores table
    detail on - Dim Products table
    total on - Dim Suppliers table
    Fact stock table has the following fact columns:
    Fact stock column total on Dim Suppliers table
    Fact sale price column total on Dim Suppliers table
    Fact Avg sale per day column total on Dim Suppliers table
    Fact Purchase Price table with source Purchase Price
    Fact Purchase Price table joins on logical level with Dim Stores and Dim Products and Dim Suppliers
    The source table Purchase Price has the following mapping on logical level:
    detail on - Dim Stores table
    detail on - Dim Products table
    detail on - Dim Suppliers table
    Fact Purchase Price table has one fact columns: Fact Purchase Price column
    The report on Presentation:
    Store | Product name | Supplier name | Fact purchase price column | Fact stock column | Fact sale price column | Fact Avg sale per day column
    Store 1 | IBM server | IBM corporation | 1000$ | 10 pcs | 2000$ | 0.5 pcs
    Store 1 | IBM laptop | IBM corporation | 500$ | 10 pcs | 1000$ | 0.5 pcs
    Store 1 | DELL server | DELL corporation | 1500$ | 5 pcs | 2800$ | 0.2 pcs
    Store 1 | DELL laptop | DELL corporation | 700$ | 5 pcs | 1200$ | 0.2 pcs
    if I filter Supplier name with IBM corporation my results are:
    Store 1 | IBM server | IBM corporation | 1000$ | 10 pcs | 2000$ | 0.5 pcs
    Store 1 | IBM laptop | IBM corporation | 500$ | 10 pcs | 1000$ | 0.5 pcs
    Store 1 | DELL server | null | null | 5 pcs | 2800$ | 0.2 pcs
    Store 1 | DELL laptop | null | null | 5 pcs | 1200$ | 0.2 pcs
    Regards
    Nicolae Ancuta

  • Linking 2 facts with common dimensions

    Dear all,
    Request you help in this.....
    I have the following tables as facts and dimensions in the physical layer
    Facts: Order, Shipment
    Dimensions : Product
    1) I have linked each of the facts with the dimension in the physical layer.
    2) I brought the model into the BMM layer with the same joins on dimension and facts as in physical layer, but gave a complex join.
    now my question is:
    1) If I want to have the order and shipment fact data together along with the dimension data , what all the steps I need to follow?
    2) I already tried creating hierarchies to the dimension (which is conformed) and set the aggregation level to the lowest in the facts. It didnot work.
    Could you please help me in this.
    Thanks,
    Suma

    Yes ..If I do that .. I will get the results...
    but the scenario I presented here is only a part of the actual requirement.
    Now.... I have 6 dimensions and 8 fact tables....
    few concerns...
    1) Would the above solution be feasible making a single fact source for all the 8 facts? Even though we take only the required columns ,
    the table structure will become huge...
    2) Also for all the fact tables I need to give an outer join as per the business requirement
    (Ex: an Order is made and it is not shipped yet.. so the shipment table will not have any entries for that Order.. so Order and shipment tabls are to be given an Outer join in the content tab of LTS)
    so if I give outer join for all the facts I need, performance will drastically come down as the query makes a full table scan for all the 8 facts.
    Is there any other way to get this done, keeping all the facts as separate fact tables only in BMM and joined on all the dimensions?

  • Dimension and fact table with a fact table between them

    Hello all,
    Here is my problem. As seen in the image, I have a fact table linked to the two dimensions.
    I would have the number of Id from Cube_Requirements by variant including 'unknown" variant if no linked variant.
    How is it possible ? How to create the dimension ? As my fact table has two fields, if i want to use reference as dimension usage, it doesn't work.
    Thanks for your help.

    Hi, this looks a many to many relationship scenario, follow these steps:
    - drag extractid from cube_applicability onto measures area, so this table becomes a fact
    - you will have count of Extractid measure after you perform above step
    - Assuming Variant is already a dimension, go into dimension usage tab, link variant dimension with cube_requirement fact using many to many relationship and selecting cube_applicability
    process cube, you should be able to get count of id by dragging and dropiping id from variant dimension..
    Regards
    Rakesh

  • Joining Facts with Different Grains

    Hello
    We have a requirement where we have two facts with different grains
    DEPT_FACT - Contains (Dept_Id, Dept_Name, Revenue)
    EMP_FACT - Contains (Emp_Id, Dept_Name, Is_Current_Employee)
    Here is some sample data
    DEPT_FACT
    ========
    1 Sales_Dept 100,000
    2 Manufacturing_Dept 200,000
    EMP_FACT
    ========
    100 Sales_Dept Y
    200 Sales_Dept Y
    300 Sales_Dept N
    400 Manufacturing_Dept N
    500 Manufacturing_Dept Y
    600 Manufacturing_Dept N
    Our requirement is to create an OBIEE report that shows the *"Revenue/ Number of current employees in department BY Department"*
    The above example must show
    Sales_Dept => $50,000 (100,000 / 2 current employees)
    Sales_Dept => $200,000 (200,000 / 1 current employee)
    Any suggestions on how this can be done ?

    For me,
    DEPT_FACT is not a fact. It's a dimension table because you have a one-to-many relationship and you have a measure in the dimension table (it's an aggregated measure).
    And EMP_FACT is also not a fact because you don't have any measure on it.
    But if we say that EMP_FACT is a fact. DEPT_FACT is an aggregated table from EMP_FACT.
    I will :
    * create a logical dimension for the employee with three levels (all, departement and detail)
    * create a logical fact table with :
    - one logical column for the revenue in the level all departement
    - one logical column for the employee
    and two physical source :
    * DEPT_FACT with the departement level
    * EMP_FACT with the level to detail
    Success
    Nico

  • How to Link two Facts with Different Time Granularity (Year, Quarter) to a Single Time Dimension

    Hello All,
    I have the below scenario where i have Two Facts Fact Quarterly and Fact Yearly but one Time Dimension which has Quarter grain.
    So my question is how do i Establish relationship from Fact Yearly to Time Dimension??
    Ex: 

    Hi naveej,
    According to your description, you want to know how to build the relationship with time dimension and fact tables. Right?
    Based on your screenshot, it's better to have only one fact table for sales and build the relationship with time dimension. To determine quarterly or yearly data only depends on how you slice the time dimension. However, I notice that the Revenue for year
    is different from the aggregated Profit for quarters. If the Revenue and Profit are different measure, you need to have two fact tables. And you should build the relationship (Regular) between TimeDim and FactYearly on YYYY attribute.
    Reference:
    Defining a Fact Relationship
    Best Regards,
    Simon Hou
    TechNet Community Support

  • OBIEE Group By on 2 facts and concatenated columns from different dimensions

    Hi
    I have a different kind of problem involving 2 fact tables with different dimensional attributes.
    Fact 1 has Dim Attributes ( Cust,Facility )
    Measure - Gross Amount
    Fact2 has Dim attributes (Cust,Facility and Risk Group )
    Measure : Exposure Amount
    Since we have 2 facts with different dimensions,
    to exclude the 'Risk Group' dimension column from the group by for the Fact1,
    we set the 'Gross Amount' measure to total level (Risk Group Dimension ) in contents tab.
    So the values from both the fact tables appears in the same report correctly.
    But in the same report we have another requirement where the rating column from the customer dimension has to be concatenated with the ratings column in the facility dimension.
    We have to concatenate customer.rating with the facility.rating and display it in the report.
    when we just pull the individual columns from the dimensions into the report it works fine.
    But when we try to concatenate the 2 columns and show it in the report,
    the concatenated column does not appear in the select or the group by in the SQL Fact2.( Generated by OBIEE )
    The other fact1 has the concatenated column in the select as well as the group by clause ( Generated by OBIEE )
    As a result the report shows the concatenated values only for the results from the Fact1. But the results from Fact2 does not have the concatenated column values.
    The report should look like the below:
    Custor.Name,     Customer.Id,     Facility.Name,     Facility.Id,     Customer.Rating/Facility.Rating,     Risk Group,     Gross Amount,     Exposure Amount
    ===========    =========      ===========     =========   ========================      =========     ===========     ===============
    JPMC                123                    GROSS               123               08/10                                                  LNL                    45,000               25,000
    CLAIRE               456                    NET                    456               07/10                                                  RNK                    50,000               30,000
    Thanks,
    Chandra

    As suggested you really want to move your none-aggregated fact attributes to a logical dimension (using the same physical table as the logical fact). Map this in the BMM layer as a snowflake, Place a hierarchy on this dimension with (at minimum) Total -> Detail levels, then on the other fact table you want to include in the report, set the content level on your other fact measures to the 'Total' level for your new logical Dim and it will allow them to be present in the same report.

  • OBIEE Multiple Facts With Level Based Measures

    Gurus,
    We have a requirement which we think complex to achieve at OBIEE level. Please help if anyone knows a solid solution for this problem.
    Orders, Shipments and Revenue are the fact tables and we have common dimensions like customer, product, time and others. For each fact table there is a corresponding dimension to store the non metric columns like Order Number and Shipment Number.
    Now the requirement from the customer is
    1. Need to see the Order Information completely even though he is looking at Shipment or Revenue data. Ideally, it is not mandatory for each order to have Shipment or Revenue. This is applicable for Shipment too, if the customer is looking at revenue and shipment data he needs see all the shipments including those that doesn't have any revenue.
    2. Non Confirming dimensions should not throw errors. This could be possible by using Level based measures.
    Please help with your thoughts here. Thanks in advance.
    Siva

    Hi,
    Create left outer join from Order Number to Revenue Fact and from Shipment Number to Revenue Fact.
    Now when you create a report you will get all Orders and Shipments.
    It will impact the performance of the reports though.
    or you can try creating a union report as
    Customer Order Number Shipment Number Revenue Quantity >>>>>>>> This will give you orders which have Revenue
    Union
    Customer Order Number Shipment Number 0 >>>>>>>> This will give all orders and shipments
    Hope this helps.
    Thanks

Maybe you are looking for

  • Jdbc driver for oracle8i(8.1.5) on Linux with JDK1.2.2

    I am looking for a JDBC Driver. Does anybody know where I can get it? Thanks in advance. null

  • Private browser option is missing

    I added an app (forgot the name of it) that was going to end "private browsing" because I wasnt to sure how to do it. Now the option in the tools dropdown menu is gone.... I am stuck in private mode and cant find a way to correct it. I've tried addin

  • Flash pro cs6 fonts not working

    I'm having problem with flash cs6 after I installed flash builder/game sdk. It recognizes all my fonts but some of them are not visible and when I export they dont appear either. I installed and uninstalled several times from the creative cloud and p

  • NVidia error code 6 When zooming and panning a high res still image

    I am consistantly getting the following error code which shuts down CS6.  This is when zooming and panning a still images measuring something like 5300 pixels wide, and 4000 pixels high.  I started by looking  at the video driver, but nVidia says it

  • Problems with colour calibration- how to unlock file?

    I use my mac book pro to VJ for video events and recently the colour settings for my output display changed- it seemed to happen when i used a switcher to switch between sources since I used the switcher all the colours outputted from my Mac are all