Mutiple fact tables for one report?

HI
I have two fact tables like Shipment and Sales. They each have their own star schema but most of the dimension tables are very similar. In one report I have to combine the two fact tables. so my report would have something like date, product Shiptment and Sales.
What is the best way to set this up as shipment and sales have their own fact tables but the dimension tables that are being used in this report are common?
Do i do this in the Physical layer of the rpd and how?

you need to work in BMM layer for this..
In one of your business models where there is Sales Fact Table... bring the shipment Fact Table from the physical layer onto this buisness model , and do a complex join to the Time dimension (common dim)...
Now Bring this Shipment Fact Table from that buisness model to the Presentation Layer under the same Subject Area ( ie now a single Subject Area must have both the Fact Tables under it...
Bounce back ur servers...
Now you are good to go...

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 a bapi or table for GL Report

    Hi experts,
    I need a bapi or table for generating report period balance for GL accounts. i found one bapi BAPI_GL_GETGLACCPERIODBALANCES which is closer to my requirement. But i want to get the balances for cost center and particular material. As Cost center and product ranges are in my selection fields.
    Can anyone tell me table or BAPI?

    SAP standard infoset query provides a report STDCOST for this.
    May be this will suit your requirement. It will give material wise costing.
    hope this helps.
    reward if helpful.

  • Something about two fact table in one subject

    Hi all,
    when I using two fact table in one subject, it can't make sense as expected.
    The problem is describled as follows:
    1.about the RPD:
    In the presentation layer of Admin Tool, there is a mesure names "A", which is equal to B*C, come from table t1 and table t2 in logical layer respectively.
    2. In biee Answeers, I created an answeer which includes some dimesions and the mesure A, another mesuare m1.
    but in the the result pane, i saw there is no data in the the colume of mesure A, all other performs well.
    3. so, I went for the NQquery for the phisical SQL, and found that,
    in Where clause, table t2 is lost.
    why? and how can I make it?

    This sounds interesting. What would I join there? The dimension keys of the two fact tables?
    Unfortunately this Logical Table Source stuff looks quite different in Admintool 11g. What would I need to create there?
    Thanks,
    Knut

  • JOIN TABLES IN ONE REPORT

    Hi,
    I'm trying to join some tables in one report. I was successful with it, until I added one table which has many records for one primary key in the main table. I used Order by and Limit to select only the latest row, but then I got this error: Query cannot be parsed, please check the syntax of your query. (ORA-00907: missing right parenthesis)
    The sql is here:
    select
    t.TICKET_ID "Ticket Id",
    t.RECEIVED_DATE "Received Date",
    t.QUOTE_NUMBER "Quote Number",
    r.REQUEST_NAME "Request Type",
    s.STATUS_NAME "Status",
    p.PRIORITY_NAME "Priority",
    t.NUMBER_OF_SUBLINES "Number Of Sublines",
    t.QUOTE_VALUE "Quote Value",
    c.CURRENCY_NAME "Currency",
    t.QUOTE_START_DATE "Quote Start Date",
    t.CUSTOMER_NAME "Customer Name",
    t.REQUESTER_EMAIL "Requester",
    st.STRIPE_NAME "Stripe",
    tm.TEAM_NAME "Team",
    a.ANALYST_NAME "Quote Analyst",
    (select g.GATE_COMM from QTMT_GATE_COMM g where g.TICKET_ID=t.TICKET_ID order by g.GATE_COMM_ID desc limit 1)GATE_COMM,
    ac.ANALYST_COMM "Quote Analyst Comment",
    cc.CLOSE_COMM "Closing Comment",
    se.SERVICE_NAME "Type Of Service",
    ro.REOPEN_NAME "Reopen",
    t.ASSIGNED_DATE "Assigned Date",
    t.LAST_UPDATED "Last Updated",
    t.DATE_COMPLETED "Date Completed",
    t.EFFORT "Effort"
    from
    QTMT_TICKETS t,
    QTMT_REQUEST_TYPE r,
    QTMT_STATUS s,
    QTMT_PRIORITY p,
    QTMT_CURRENCY c,
    QTMT_STRIPE st,
    QTMT_TEAM tm,
    QTMT_ANALYST a,
    QTMT_ANALYST_COMM ac,
    QTMT_CLOSE_COMM cc,
    QTMT_SERVICE se,
    QTMT_REOPEN ro
    where
    t.REQUEST_TYPE_ID=r.REQUEST_TYPE_ID and
    t.STATUS_ID=s.STATUS_ID and
    t.PRIORITY_ID=p.PRIORITY_ID and
    t.CURRENCY_ID=c.CURRENCY_ID and
    t.STRIPE_ID=st.STRIPE_ID and
    t.TEAM_ID=tm.TEAM_ID and
    t.ANALYST_ID=a.ANALYST_ID and
    t.ANALYST_COMM_ID=ac.ANALYST_COMM_ID and
    t.CLOSE_COMM_ID=cc.CLOSE_COMM_ID and
    t.SERVICE_ID=se.SERVICE_ID and
    t.REOPEN_ID=ro.REOPEN_ID
    Could you please let me know what do I have wrong?
    Thank you and best regards,
    Vladimir

    It's a problem with me not being able to run the code to test it. Basically the problem is that the subquery is nested too deeply to be able to see the QTMT_TICKETS table. It is not 'missing' as ApexBine suggests but it is unavailable. The most deeply nested subqueries execute first, and that one is executing before the QTMT_TICKETS table is available to it. Off the top of my head, the easiest thing then would be to create a function to get the GATE_COMM value (I'm guessing at the data types):
    FUNCTION gate_comm (p_ticket   NUMBER)
    RETURN VARCHAR2
    AS
      CURSOR c_gc IS
        SELECT g.GATE_COMM
        FROM   QTMT_GATE_COMM g
        WHERE  g.TICKET_ID = p_ticket
        ORDER BY g.GATE_COMM_ID DESC;
    BEGIN
      FOR v_Lp IN c_gc LOOP
        RETURN v_Lp.gate_comm;
      END LOOP;
    END;Then you can replace the failing subquery in the SQL with gate_comm(t.TICKET_ID)

  • S076 SOP table for SD report (Sales Forecast Report ).

    Hi
    We are using S076 SOP table for SD report (Sales Forecast Report ).  This has only material number as key at present , where as we want to know if flexible planning will give material/shipto as key for forecast.
    Thanks In advance .

    Hi
       These are the key figures I am seeing in OMOJ , As I am new to this functionality                                  I am not able to add new key figures , can I request you to explain it to me ......
    Key figure                     F D 
    Sales     
    Production                         
    Stock level                        
    Target stock level                 
    Days' supply                       
    Target days' supply                
        Thanks

  • Manual bypass to view all history entries of all user for one report

    Test have been performed on standealone BIP 10.1.3.4.1 (Patch 11931697). May be it can be reproduced with previous versions and/or other J2EE container.
    Problem is now described in Oracle Support with bug ID : 12412334
    Bypass solution may be helpful for people who use work directly in BIP web interface or who integrate this web interface using HTTP URLs or HTTP/REST like custom app (and may be other cases...)
    When logged with an admin username, you can view OR filter "ALL" history of one all users for one report by typing an url like :
    http://BIP/xmlpserver/servlet/reporthistory?report_url=/REPORT_DIR_PATH/XDO_NAME/XDO_NAME.xdo&tfilter=all
    Where :
    BIP is BIP Server DNS
    REPORT_DIR_PATH is report directory path in BIP web interface
    XDO_NAME is report's name

    I don't think there is a way. There should be, but I've never seen it.

  • Is it possibel to create one connection [pool for one report only

    Hi is it possibe to create one connection pool for one report only. Others report are running from the another connection pool under same DB.
    Thanks,

    Hi,
    Why do u want seperate connectionpool for that single report?
    I dont think its possible.Direct database request will be good solution for this.Try importing those columns which are used to build that report into physical layer and create new subject area.Not sure weather its right way to do.
    Regards,
    Srikanth

  • HOW CAN I HAVE DUMMY FACT TABLES IN ONE UNION REPORT

    Hello developers,
    So, I am trying to have a report from 4 different subject areas. Each of these have transaction numbers under Fact-table. B’se these fact tables are under different subject area I can’t have them in one report, (fact table has to be a one to many relationship and not otherwise). How do I make sure I end up with a transaction number from atleast 1 subject area and ignore the other ones or avoid the error
    Also in addition, I have to have the last 4 digits of the credit card number which is located in only one of those 4 subject area. How do I make sure its included with my final report eventhough its not in other subject areas? Please please help I am still new in this business
    thanks in advance
    Chuck

    You got two choices:
    A. Use OBIEE:
    1) Create a OBIEE logical SQL like
    SELECT A.s0 field1, C.s2 field2, A.s1 Measure1, B.s1 Measure2, C.s1 Measure3
    FROM
    (Select "Txn Attributes"."Transaction Number" s0, Measure.Measure1 s1 FROM "Subject Area 1") A,
    (Select "Txn Attributes"."Transaction Number" s0, Measure.Measure2 s1 FROM "Subject Area 2") B,
    (Select "Txn Attributes"."Transaction Number" s0, Credit."Last 4 digits" s2, Measure.Measure3 s1 FROM "Subject Area 3")
    WHERE A.s0 = B.s0
    AND B.s0 = C.s0
    2) Test this SQL from "Issue SQL" section in answers.
    3) Once tested, open a new analysis, go to Advanced tab and put this tested logical SQL in the SQL section and apply it. If you come back to criteria tab, you will see 5 fields are created for you.
    This is technically feasible. Pulling this off is hard and this is a maintenance nightmare.
    Since you are self-proclaimed newbie, I would suggest you take the alternative: fixing it through ETL. Create a new fact and write an ETL job to load this fact from other facts and dimensions. Then model it in RPD. This is more work but if you mess something up in the process of implementing first option, you may need to apply nearly same effort to fix that. Choice is yours.

  • How to use different parameters for two tables(chart and Table) in one report in SSRS?

    Hi,
    Here is my requirement, i have 7 parameters in my report(Site,Account,LOB,year,Month,WeekDay and Date_Filter),
    and in my report i have one table and one Chart,
    my requirement is the table in the report has to show the data for 6 parameters only i.e(Site,Account,LOB,year,Month and WeekDay).so the table has to consider only 6 parameters, and it has ignore the 7th parameter, table should not consider Date_Filter parameter.
    And Chart has to consider all 7 parameters.
    so, when we preview the report table has to show the data for only 6 parameters and chart has to show the data for all 7 parameters.
    if there is a way to get this Please reply me ASAP, it is an urgent requirement.
    Thanks in Advance,
    Naveen

    Hi Naveen,
    Refer below link to create multiple datasets as suggested by Gnanadurai
    http://technet.microsoft.com/en-us/library/ff714047(v=sql.105).aspx
    Thanks
    Swapna

  • Issue using one 2 Fact tables with one dimension Table.

    Hi,
    I have 1 Dimension table X and 2 Fact tables A and B
    X is joined to Both A and B for Loan Amount ( with A) and for colleatral amount (with B) when I am selecting the X.Product_Name, A.Loan_Amt, B.Collateral Amount, it is giving an error message
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table EIP Collateral FACT) does not contain mapping for [EIP Reporting FACT.PD ID]. (HY000)
    Any clues???
    Is there a Inner or Outer join which needs to be created or set in the RPD to get the desired results???

    Ok..
    I have one table which is Porfolio Details which has Portfolio name, Product Category , Product Name, Product ID, Product sources code.- This is my Dimension table.
    I have another 2 set of fact tables : EIP Reporting FACT and EIP Collateral FACT..
    These two tables are joined to Portfolio Details table.
    EIP Reprting FACT gives portfolio wise Loan Amount
    and EIP Collateral FACT gives Portfolio wise Collateral Amount details for same set of customer..
    Now, I am selecting Portfolio Name, Product Category, Product Name,SUM( EIP Reporting FACT.LOAN_AMOUNT), SUM(EIP Collaetral FACT.Collateral_Amt) in a report
    Now, on selecting these columns I am getting that error message which is related to mapping.
    If I take any column from Portfolio details table and any column from EIP Reporting FACT- It works.
    If I take any column from Portfolio details table and any column from EIP Colletral FACT- It works.
    But if I take any column from portfolio table and columns from both FACT tables it gives mapping error...
    Hope I am able to explain the issue in a better way now..
    Edited by: help-required on Mar 11, 2010 6:53 PM
    Edited by: help-required on Mar 11, 2010 6:53 PM

  • Unable to join two fact tables via one common dimension in RPD(Repository)

    I have created two fact tables F1 & F2 and one dimension D.
    F1 is joined to D and F2 is also joined to D in Physical layer as well as in BMM layer.
    I created one report in OBI Answers using these three tables.It Showed me the following error.
    **Error Details**
    **Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P**
    **State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table dfghdfh) does not contain mapping for [Dashboard_Fact.Period_Sgt_Key]. (HY000)**
    **SQL Issued: SELECT dfghdfh.Period_Sgt_Key saw_0, "Period Dim".Period_Sgt_Key saw_1, Dashboard_Fact.Period_Sgt_Key saw_2 FROM service_delivery ORDER BY saw_0, saw_1, saw_2**
    How to cope up with the issue or can anyone tell me the alternate workaround for this?

    That is what i have tried.
    I have made a logical table TEST and dragged two fact tables f1 & f2 in source.
    Now when i drag different columns from different fact tables(that are in TEST logical table) in report, it gives an error and not making any joins that you are mentioning.
    ERROR MESSAGE:--
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table Test) does not contain mapping for [Test.SurveyName_Id, Test.SurveyHead_Id, Test.Respondent_Id, Test.SDBusiness_Area_Id, Test.Period_Sgt_Key, Test.OBS_Id, Test.VOCBusiness_Area_Id, Test.Question_Sgt_Key]. (HY000)
    The columns mentioned in the error message are all from test logical table..some are from F1 & some from F2.

  • Two fact tables in one business area

    Hi,
    Would there be problem if two fact tables, one flat, one with hierarchy, in one business area. Both fact tables are joined to same set of dimension tables except one: region_1 to fact_1, region_2 to fact_2. The consistency check is fine. But I get error in Answers. I don't have the exact error with me, but it is complains about fact_1 is not linked region_2.
    Any suggestions ?
    Thanks.

    Thank you, Stijn, Ced for your kind reply.
    I did not explain it clearly.
    The fact_1 (flat) table has data in all levels (detailed and aggregated). For example, it has % sales to planned from city, state to national (we were not provided with numberator and demoninator to aggregate the detailed data). The fact_2 table has only city level data and have a dimension region_2 with city, state and national hierarchy. For data in Fact_1 table, we simply want to show them in reports. For data in Fact_2 table, reports can drill-down.
    In Answers, the error is "Incorrectly defined logical table source ( for fact table Fact_1) does not contain mapping for region_2.state_id".

  • Crystal Reports - Two Tables in one report, grouped by machine.

    I have two tables for machine schedules.  One is a Current Job Table, and the other is a Que Job Table.  I do have tables joined to a definition table for the machine name.
    Cur Job Table - Def table
    Que Job Table - Def table
    I want to report the information from the current job table for each 13 machines in sequence.  Some machines may have more current jobs than qued jobs.
    ...Machine 1 (Machine Name)
    .....Current Jobs (Cur Job Table)
    .....Qued Jobs (Que Job Table)
    ...Machine 2 (Machine Name)
    .....Current Jobs (Cur Job Table)
    .....Qued Jobs (Que Job Table)
    Etc.
    Is there a way to do this easily?  I have tried grouping and sub reports.  Seems like I end up with duplicate records due to the SQL joins.

    Sharon,
    Select distinct will not work here, as select distinct checks all fields in the record, and when joining the two detail tables, it will not clear out "duplicates" on only one side of the join.
    I would also humbly suggest that using Select Distinct to try to "clean up" a query is rather dangerous.  You may end up dropping some data that should appear on the report.  (In fact I recently had to fix a report due to this issue - coded by someone else, of course!  :->)  If you are getting duplicate records and you don't want them, the query should be coded to produce the desired result set WITHOUT the Distinct clause being the reason duplicates are dropped.  (This is not to say that select distinct is not useful, or should never be used.  If you need a distinct list of customers over a date range, using Select Distinct custcode from sales where date between {?start} and {?end} is perfectly OK.)
    HTH,
    Carl

  • Joining two fact tables for subject area

    When I tried to use two simple fact tables joined by a dimension, I am getting the “ No fact table exists at the requested level of detail” error in the answer when I try to pull the columns from Fact 1 and Fact 2 tables. I have set the content in both the fact table to lowest granularity of dimension with CUST_ID, RAT_ID, ACT_ID keys. We have one to many relationships between dimension and both the fact tables. Any feedback is highly cherished.
    Fact1: keys are: CUST_ID, RAT_ID, ACT_ID, YEAR
    Fields are CUST_ID, RAT_ID, ACT_ID, YEAR , Rev1, Transaction Date
    Fact2: keys are: CUST_ID, RAT_ID, ACT_ID, YEAR
    Fields are CUST_ID, RAT_ID, ACT_ID, YEAR , Rev2, CreationDate
    Dimension keys are CUST_ID, RAT_ID, ACT_ID
    Thanks,
    uday

    Hi LC,
    We have to add two fact tables F1 AND F2 to an existing bmm. These fact tables have history tables F11 AND F22 and we have to use partition logic for this.How you did partition ? you should be using Fragmentation logic for that any how you will add the F11/F22 tables to F1 and F2 LTS , so when you join F1 & F2 to the common dimension then it should work for the calucluated measures but dont forgot to create hierarchies and specify the content levels for the fact tables
    Thanks,
    Saichand

Maybe you are looking for

  • Not to display the null values from data base

    Hiiii. In a jsp file i have ten check boxes.The jsp file is mapped to a servlet file for parameter requesting and to store it in DB. The unchecked box values has null values.All the values are store in a Mysql DB table. Again i have to display it in

  • How Can I Avoid Losing Cross-References?

    We have multiple .book files that contain multiple .fm files, many of which contain cross references. Is it possible to work with those files outside of their network location (i.e from a flash drive) without losing the cross references? My employees

  • HT1688 How do you fix an iPhone that won receive regular text messages?!

    I can't receive texts from anyone without an iPhone. It just happened this morning and I just need help.

  • Export to Excel Hangs

    It seems that under certain circumstances (presumably the number/size of the records set), the Export (of query results) to Excel hangs. In my case, the Export to xls slows down at about 9,000 records. If I open TaskManager, I see both sqldeveloper.e

  • Load plan data online

    hi..     we are on BW 3.1 and load the plan data using flat files ..users like to enter plan data on the portal and get reflected next day..can we do this without SEM..any ideas... thanks