OBIEE report with multiple fact tables

I want to build a report so that it will be have.

Attribute columns in the dimension D1, D2, D3 tables.

Measure the columns of the tables of facts F1, F2.

F1 and F2 are attached with D1, while only F1 joined with D2 and D3.

When I build this report and run, I see the correct data of F1 but get no matter what value of F2 that the query is not the column measure F2.

Please help solve this problem.

This is the point: why haven't you installation of hierarchies for D2 and D3 (when you say logic dimension, I assume that you mean the logical hierarchy as dimensionless, as if there is no D2 and D3)?

To be able to say OBIEE how manage the absence of joins between D2 - F2 and F2 - D3 you need of them set at grand total level hierarchies and required parameters for the F2 values can be shown next to the F1, D1, D2, D3.

PS: I assume that your report is D1, D2, D3, F1 and F2, otherwise what to talk of D2 and D3 in the first post?

Tags: Business Intelligence

Similar Questions

  • OBIEE - multiple fact Tables

    Hello

    I have a case.

    I have three tables:

    1 XX_PERIODS_D

    2 XX_ORDERS_F

    3 XX_SHIPMENTS_F

    XX_PERIODS_D a column PERIOD_CODE

    XX_ORDERS_F a column PERIOD_CODE

    XX_SHIPMENTS_F a column PERIOD_CODE

    XX_PERIODS_D.PERIOD_CODE joined with XX_ORDERS_F.PERIOD_CODE

    XX_PERIODS_D.PERIOD_CODE joined with XX_SHIPMENTS_F.PERIOD_CODE

    RPD is OK

    Analysis Log Queries return results that are OK

    Analysis shows the results are bad for XX_SHIPMENTS_F tbal

    pic1.png

    Hello

    I fixed my self,

    I created only once the fact table by the application using as start logic diagram and it's corrected now.

    Thanks @.

  • Reporting of multiple facts

    I'm looking options to generate reports based on facts with different grains. The requirement that I present here is generic and Im explores options on it.

    Lets say we have two facts fact1 and fact2. The common column between these facts is called - common_column

    Now that the grain is different at any given time, it generates the database with SQL next inline

    SELECT fact1.column_1, fact1.common_column, aggregate_fun (fact2.column_2 of fact2.common_column group) of...

    Options

    * 1. Creation of a third fact *-a simple solution is to create a fact3 and store all the information the report should
    * 2. Using fx in OBIEE report *-use an expression to get the result with fx

    You all better options that you would suggest to address this?

    Thank you

    You have any other table (such as dimensions) than the new LTS in the business model.

    If you add any other table and join (complex) with the new LTS, the problem could be solved.

  • Report with multiple columns NUMBER of counts of the same table

    I am new to discoverer, so I'm a little lost.

    I work to create a report to show usage data and Knowledge Base of e-business. I have written using subqueries in SQL query that is in the format:

    Solution number | Soultion title | Solution views. Positive feedback | Negative feedback
    Title of 12345 _ 345 _ 98 34


    The entries 'Views', 'Positive' and 'Negative' are stored in the same table, so I do a count where setid = setid and usedtype = VS, then count where usedtype = usedtype and PF = NF

    Discoverer, I can get the number of solution, the title and THE totals but I can't seem to understand how to get an ACCOUNT for three different things from the same table in the columns on the same line.

    When I go on change map-> select the items once I select the option NUMBER of the UsedType column in the CS_KB_SET_USED_HISTS table, I can't select it again. I also found way now to add a column based on a query entered.

    If someone could help it would be much appreciated.

    Thank you

    Published by: Toolman21 on December 2, 2010 14:17
    _ to correct spacing added.

    Hello
    You can separate the column with a case or decode.
    for example to create 2 calculations:

    case
    When usedtype = "PF".
    then - that contain both
    0 otherwise
    end

    case
    When usedtype = 'NF '.
    then - that contain both
    0 otherwise
    end

    After that, you can create the aggregation count on those.

    Tamir

  • Report with multiple calculations

    I learn the reports and the need of some inputs on how can I manipulate the following report

    1. one of my region summarized in the report should show 5 amounts as a view table and the sixth column should be the sum of the first 4 columns (I get these 5 values with a query)
    2. in the second row with an external condition is false, I need to put zeros under each column one ad the sixth also is zero
    3. but if the condition is true, I need to calculate a new amount (multiply by %) and to show the title of each column that amount and again to add the new amounts in the sixth column

    I don't know if I have to use forumla or place holders, please help me.

    Thank you

    user13432927 wrote:
    Thanks for your suggestions and help. Finally I am getting good results in my aging report.
    But I used formulas, can you suggest any other means other than the application and forms.
    Thanks for solving the problem.

    It is with pleasure that I can help someone in his work :) What is otherwise in oracle reports another sql then? All awards go to you, you did this thing to work.

    Please mark she replied that someone else can use it.

    And for the amount (EX: 500) I put symbol $, while I can get help how to do that?

    Yes. You can. Use the properties of the field format mask. Choose the one right for you. For example

    LNNNGNNNGNN0D00
    $NNN,NN0.NN
    

    Hope this will help you...

    If someone useful or appropriate, please mark accordingly.

  • Interactive report with Null columns

    I have a user who wants to export an interactive report, and there need to some columns will appear on export so that he can fill the data later (there is an intermediate step, while we work on getting all the data they need in the database). I created the report query, and there are a handful of columns null or empty (to keep the correct order for export). When I try to add this query to the APEX, in an interactive report, I get an "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.

    Googling autour shows me that this happens because of the columns the same name, and the solution is to provide aliases for all columns. My report has alias on all columns, but I can't yet create an interactive report. I tried to change the columns null of empty strings, as well as encompassing the alias in double - quotes, but nothing works. However, I can use my original query to create a standard report, but due to export, this is not ideal.

    I was able to create the interactive report with a null and then edited the source column of the report to add to the others. This had to be done one at a time, given that you are trying to add several null columns at the same time gives the same error even once. Unfortunately, when I try and you run the page, I get a ' ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined "error.

    My original query:
    select customer.customer_name as customer,
           project.name as project_name,        
           trunc(project.estimated_end_dt) as due_date, 
           project_status.project_status_desc as status, 
           null as revenue, 
           project.baseline_effort as baseline_hours,
           null as projected_cost,
           null as est_gain_loss, 
           project.actual_hours as actual_hours,
           project.estimated_hours as projected_hours,
           null as projected_cost, 
           null as projected_gain_loss, 
           null as roi       
        from project, 
             customer
      where customer.customer_id = project.customer_id
      and project.inactive_ind = 0
      and project.customer_id is not null
      and project.estimated_end_dt >= :DTP_P50_STARTDT
      and project.estimated_end_dt <= :DTP_P50_ENDDT
    order by customer.customer_name, 
             project.estimated_end_dt;             
    Can someone tell me a way to create an interactive report with multiple null columns?

    Hi shimmoril,

    The problem is probably that you have two columns aliased as 'projected_cost' (columns 7 and 11).

    Hope this helps,
    John

    If you find this information useful, please indicate the 'useful' or 'correct' post so that others benefit. *

  • Create view opaque in OBIEE with multiple tables

    Hello

    I need assistance with the opaque view since I've never created in the past. I want to create an opaque view that retrieves data from several tables. Is it possible to do? Or y at - it another alternative available in OBIEE option? I read the blog following and other similar articles on views opaque but found no option to use for the query with several tables:

    Oracle Business Intelligence: A physical layer to OBIEE 10 g Opaque View Creation


    Also please advice how to join two tables from different databases in OBIEE?


    Kindly advice.


    Kind regards

    Andy

    Check also, it may be useful to you

    http://obinsight.blogspot.com/2010/05/reporting-against-multiple.html

  • Combine data sources with different granularity in the same fact table?

    I have two operating tables 'Incident (157 columns)' and 'unit (70 Colums) '. For all the "incidents" happening there could be one or more records in the table of the 'unit '.

    As part of my design of data mart, I have merged the tables in one "makes the incident (227 columns)" and insert records from two tables with a join condition between them [incident. IN_NUM = Unit.IN_NUM].

    Is this correct, is my question? or am I mix data sources with different granularity in the same fact table. Appreciate your help.

    Best regards
    Bees

    Bees,
    Are the measures of the 'Incident', repeated during an incident given, in more than one record in the table of the unit? If so, then the sum (indicent.measure) will give an incorrect result?

    What is there to merge physically tables set outside OBIEE? With OBIEE you might have a table of 'facts' logic to present the user with report, which from tables separated units and Incidents and would stop the occurrence of incorrect aggregations. A common piece of modeling in the same way would be arrested in OBIEE headers and lines of command, quite common to have a logical fact 'orders' which contained the two header orders and order line, this translates into the Incidents-> relationship of units.

    To do what I mentioned, is relatively simple, you need a "Dim - Incident" at two levels, unit, mapp and Incident unique identifiers as keys to level and then use these levels to define the content of the levels correctly in your 2 tables logic sources logic "done", IE the LTS Incidents at incident level LTS units as level of units.

    Hope this helps, let us know if you get stuck.
    See you soon
    Alastair

  • Report showing not given when adding more measures 1 fact table

    Hi all

    I have the 1 dimension table and 2 fact tables. I'm trying to generate a report of all of these attributes. The dimension table is joined to the two tables. When I get columns of tables Dim and fact 1, the report is generated according to the needs. Now, when I add metrics of fact 2, 1 of fact data disappear and all fields are empty. How the two tables of data?

    Thank you

    Hello
    combine two facts into one using multiple LTS. This will show the SNOWFLAKE in the STAR patterns. and now you can easily get data both made n dim. Hope you understand what I said. Try this and post msg always if you face any pblm.

    Published by: Chauvin on January 18, 2011 22:19

  • Calc problem with fact table measure used in the bridge table model

    Hi all

    I have problems with the calculation of a measure of table done since I used it as part of a calculation in a bridge table relation.

    A table of facts, PROJECT_FACT, I had a column (PROJECT_COST) whose default aggregate is SUM. Whenever PROJECT_COST was used with any dimension, the appropriate aggregation was made at appropriate levels. But, no more. One of the relationships that project_fact is a dimension, called PROJECT.

    PROJECT_FACT contains details of employees, and every day they worked on a project. So for one day, employee, Joe, could have a PROJECT_COST $ 80 to 123 project, the next day, Joe might have $40 PROJECT_COST for the same project.

    Dimension table, PROJECT, contains details of the project.

    A new feature has been added to the software - several customers can now be charged to a PROJECT, where as before, that a single client has been charged.
    This fresh percentage collapse is in a new table - PROJECT_BRIDGE. PROJECT_BRIDGE has the project, CUSTOMER_ID, will BILL_PCT. BILL_PCT always add up to 1.

    Thus, the bridge table might look like...
    CUSTOMER_ID BILL_PCT PROJECT
    123 100.20
    123 200.30
    123 300.50
    456 400 1.00
    678 400 1.00

    Where to project 123, is a breakdown for multiple clients (. 20,.30.50.)

    Let's say in PROJECT_FACT, if you had to sum up all the PROJECT_COST for project = 123, you get $1000.


    Here are the steps I followed:

    -In the physical layer, PROJECT_FACT has a 1:M with PROJECT_BRIDGE and PROJECT_BRIDGE (a 1:M) PROJECT.
    PROJECT_FACT = > PROJECT_BRIDGE < = PROJECT

    -In the logical layer, PROJECT has a 1:M with PROJECT_FACT.
    PROJECT = > PROJECT_FACT

    -Logical fact table source is mapped to the bridge table, PROJECT_BRIDGE, so now he has several tables, it is mapped (PROJECT_FACT & PROJECT_BRIDGE). They are defined for an INTERNAL join.
    -J' created a measure of calculation, MULT_CUST_COST, using physical columns, which calculates the sum of the PROJECT_COST X the amount of the percentage in the bridge table. It looks like: $ (PROJECT_FACT. PROJECT_COST * PROJECT_BRIDGE. BILL_PCT)
    -J' put MULT_CUST_COST in the presentation layer.

    We still want the old PROJECT_COST autour until it happened gradually, it is therefore in the presentation layer as well.


    Well, I had a request with only project, MULT_CUST_COST (the new calculation) and PROJECT_COST (the original). I expect:

    PROJECT_COST MULT_CUST_COST PROJECT
    123. $1000 $1000

    I'm getting this for MULT_CUST_COST, however, for PROJECT_COST, it's triple the value (perhaps because there are quantities of 3 percent?)...

    PROJECT_COST MULT_CUST_COST PROJECT
    123 $1000 (correct) $3000 (incorrect, it's been tripled)

    If I had to watch the SQL, you should:
    SELECT SUM (PROJECT_COST),
    SUM (PROJECT_FACT. PROJECT_COST * PROJECT_BRIDGE. BILL_PCT),
    PROJECT
    Of...
    PROJECT GROUP


    PROJECT_COST used to work properly at a table of bridge of modeling.
    Any ideas on what I got wrong?

    Thank you!

    Hello

    Phew, what a long question!

    If I understand correctly, I think the problem is with your old measure of cost, or rather that combines with you a new one in the same request. If you think about it, your request as explained above will bring back 3 rows from the database, that's why your old measure of cost is multiplied. I think that if you took it out of the query, your bridge table would work properly for the only new measure?

    I would consider the migration of your historical data in the bridge table model so that you have one type of query. For historical data, each would have a single row in the bridge with a 1.0 BILL_PCT.

    Good luck

    Paul
    http://total-bi.com

  • Write OBIEE report results in a database table

    Hello world

    I need to put in place a process that runs an OBIEE report and writes the result rows in a database table.

    How is that possible?

    Thank you
    Alex

    You can do it with book/Planner and a script.

    Delviers give the content of the script, and what can you do with it.

    Check this document:
    http://www.Oracle.com/technology/products/bi/files/advanced%20delivery%20with%20bi%20publisher%20delivery%20manager%20api.doc

  • Strange behavior with Report Generation Toolkit. Table does not table.

    We use a Word 2003 (.doc) document as a template for a summary of the report.  It works fine on the development PC.  It fills the fields in the document and fills the chart correctly, as shown in the picture below.

    However, he cannot even on another station.  Although the 2D table is identical and so is the software to investigate the matter, the table does not get filled correctly.  I studied using Word 2010 (.docx) as a model, with the same results.

    I was not able to understand what is different between stations 2 and why it does not work on the 2nd station.  I googled similar questions on the Web site of NOR and was only this article in the knowledge base concerning the new lines in the cell, which is not my case.

    That's what I have on the 2nd machine:

    The table that is sent to the table contains the appropriate data :

    I just found out this is a known bug, which obviously has not yet been resolved (finally... at least until LV2012SP1).

    See these threads:

    http://forums.NI.com/T5/LabVIEW/problem-with-append-table-and-Word-2010/TD-p/1268246

    and

    http://forums.NI.com/T5/LabVIEW/report-generation-MS-Word-table-bug/m-p/1605170

    I'll try the workarounds suggested and report back...

  • Gears - error when you try to insert values into a table with multiple columns

    Hello

    I started playing with the gears and SQlLite today and I get an error when I try to insert values into a table with multiple columns.

    I have:

    var db = google.gears.factory.create('beta.database');
        db.open('developerSet');
        db.execute('create table if not exists Developers (DeveloperName text, DeveloperAge int)');
    
        var devName = "Davy"
        var devAge = 32;
    
        try {
            db.execute('insert into Developers values (?, ?)', [devName, devAge]);
            alert('success');
        }
        catch (e) {
            alert(e);
        }
    

    I get the error:

    net.rim.device.api.database.DatabaseException; insert into developers values (?,?): SQL logic error or missing database.

    I use this reference: http://code.google.com/apis/gears/api_database.html

    Everything works if I have only one field as:

    var db = google.gears.factory.create('beta.database');
        db.open('developerSet');
        db.execute('create table if not exists Developers (DeveloperName text)');
    
        var devName = "Davy"
        var devAge = 32;
    
        try {
            db.execute('insert into Developers values (?)', [devName]);
            alert('success');
        }
        catch (e) {
            alert(e);
        }
    

    I use the plug-in Visual Studio 2.0 for 2008 that are running Windows XP SP and Simulator 2.13.0.56

    Thank you

    Davy

    Yes, a SQLite database will persist between battery pulls.  The database is registered either to internal MEM or removable media (not the device memory), depending on which is available on your device.

    In general, its not considered a best practice to remove your table as soon as it is empty and re - create it again when you want to add data.  This adds extra overhead fresh for the final, delete and insert first for a given table.  Instead, define and finalize your drawing before you create your table.  Once created, review the static schema.

    That being said, for development purposes, it may be easier to provide an easy way to drop your tables while you develop your schema.

    See you soon,.

    Adam

  • OBIEE export report with view narrative

    Hello

    I have a report with a view narrtive sequencing when I export this report the result do not match the result shown in the web analytics Page, in fact in this report, I use a variable called 'Run' which can contain more than 100 values, in the Analytics of the report show several line for this value, but in pdf format, the value of 'Run' is displayed on a single line.

    Can you please help me to correct this bug exporting

    Date: @{DateVar} {Todos los fechas} [br /] [br /]
    Sub-sistema: @{SubsystemVar} {Todos los values possible} [br /] [br /]
    < div style = "dressing: break-word;" Width: 800px ">RUN del applicant: @{Run} {Todos los values possible} < / div >"

    Try this work around.
    Use the variable of presentation in one of the column expression and use the function moves back to replcae, space
    and hide this column of the report and use it in the narrative with line break
    It should work.
    Exp:
    Replace (@{ApplicantVar} ',' ')

  • date max with multiple joins of tables

    Looking for expert advice on the use of max (date) with multiple joins of tables. Several people have tried (and failed) - HELP Please!

    The goal is to retrieve the most current joined line of NBRJOBS_EFFECTIVE_DATE for each unique NBRJOBS_PIDM. There are several lines by PIDM with various EFFECTIVE_DATEs. The following SQL returns about 1/3 of the files and there are also some multiples.

    The keys are PIDM, POSN and suff

    Select NBRJOBS. NBRJOBS.*,
    NBRBJOB. NBRBJOB.*
    of POSNCTL. Inner join of NBRBJOB NBRBJOB POSNCTL. NBRJOBS NBRJOBS on (NBRBJOB. NBRBJOB_PIDM = NBRJOBS. NBRJOBS_PIDM) and (NBRBJOB. NBRBJOB_POSN = NBRJOBS. NBRJOBS_POSN) and (NBRBJOB. NBRBJOB_SUFF = NBRJOBS. NBRJOBS_SUFF)
    where NBRJOBS. NBRJOBS_SUFF <>'LS '.
    and NBRBJOB. NBRBJOB_CONTRACT_TYPE = 'P '.
    and NBRJOBS. NBRJOBS_EFFECTIVE_DATE =
    (select Max (NBRJOBS1. NBRJOBS_EFFECTIVE_DATE) as 'EffectDate '.
    of POSNCTL. NBRJOBS NBRJOBS1
    where NBRJOBS1. NBRJOBS_PIDM = NBRJOBS. NBRJOBS_PIDM
    and NBRJOBS1. NBRJOBS_POSN = NBRJOBS. NBRJOBS_POSN
    and NBRJOBS1. NBRJOBS_SUFF = NBRJOBS. NBRJOBS_SUFF
    and NBRJOBS1. NBRJOBS_SUFF <>'LS '.
    and NBRJOBS1. NBRJOBS_EFFECTIVE_DATE < = to_date('2011/11/15','yy/mm/dd'))
    order of NBRJOBS. NBRJOBS_PIDM

    Welcome to the forum!

    We don't know what you are trying to do.
    You want all of the columns in the rows where NBRJOBS_EFFECTIVE_DATE is the date limit before a given date (November 15, 2011 in this example) for all rows in the result set with this NBRJOBS_PIDM? If so, here is one way:

    with         GOT_R_NUM     as
    (
         select       NBRJOBS.NBRJOBS.*,
                NBRBJOB.NBRBJOB.*     -- You may have to give aliases, so that every column has a unique name
         ,       rank () over ( partition by  NBRJOBS.NBRJOBS_PIDM
                                   order by      NBRJOBS.NBRJOBS_EFFECTIVE_DATE     desc
                          )             as R_NUM
         from          POSNCTL.NBRBJOB NBRBJOB
         inner join      POSNCTL.NBRJOBS NBRJOBS       on    (NBRBJOB.NBRBJOB_PIDM = NBRJOBS.NBRJOBS_PIDM)
                                            and      (NBRBJOB.NBRBJOB_POSN = NBRJOBS.NBRJOBS_POSN)
                                      and      (NBRBJOB.NBRBJOB_SUFF = NBRJOBS.NBRJOBS_SUFF)
         where       NBRJOBS.NBRJOBS_SUFF             != 'LS'       -- Is this what you meant?
         and        NBRBJOB.NBRBJOB_CONTRACT_TYPE   ='P'
         and       NBRJOBS.NBRJOBS_EFFECTIVE_DATE  <= to_date ('2011/11/15', 'yyyy/mm/dd')
    )
    select       *     -- Or list all columns except R_NUM
    from       GOT_R_NUM
    where       R_NUM          = 1
    order by  NBRJOBS_PIDM
    ;
    

    Normally this site does not display the <>inequality operator; He thinks it's some kind of beacon.
    Whenever you post on this site, use the other inequality operator (equivalent), *! = *.

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and INSERT, only relevant columns instructions) for all the tables involved and the results desired from these data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.
    You will get better results faster if you always include this information whenever you have a problem.

Maybe you are looking for