Two dimensions, a fact

Hello guys,.

The last few hours I tried to solve the following problem:

I have a small set of data that contains three tables, two tables of a dimension and a fact table. The first dimension table is a table calendar (for now, I'll call this table D1), the second dimension table holds locations (named: D2) and the third table (fact) (named: F1) holds the invoice data. What I would normally do, is to build the following template:

D1 - F1 <>- D2

It works very well that as long as I just want to know the places where there is data of the invoice, so far nothing is wrong.

But when I want to know for each year (data from D1) where there was (from D2) I only return results when the invoice data in F1 there (of course, there is a relationship between D1 and D2, the year column).

I tried to solve this problem by doing the following things:
-Use a table alias (from D1) joined D2
-Use join types different - it works for the connection between F1 and D2 until D1 is not added to the source of the table
-Using different data sources in the business layer
-Join the D1 to D2 and F1 in the physical layer

But so far I'm stuck with the same problem: I want to query two tables of dimension without a fact table, removing the results when the fact table contains all the data from one of the dimension tables.

Is there something that I am on or am I asking something that is simply not possible?

Thanks in advance,

Dennis

Hi Dennis,

If your dimension of location D2 also contains a column "year"? Isn't it a little strange?
Anyway... If this is the case, you might see table D2 as a logical fact, with two logical dimensions table: D1 and D2.
Then, you can create a measure based on this new logical fact table and use it as a fact implicit in your area. By doing this, the BI server will use D2 to D1 and D2 table instead of the invoice fact table.

Kind regards
Stijn

Tags: Business Intelligence

Similar Questions

  • Two Tables of FACTS, some common Dimensions and common

    Hello to all, question, I'm sure you have met in the past, but always wanted to get your opinion.

    I have a few FACT tables and dimensions that are shared (common size). Rest of the dimensions are related to one or the other FACT tables.

    What is the best way to present a view where users CAN pull information from both tables?

    I managed by pulling the shared dimensions (common) on the tables of BOTH FACTS and having the same grain, but this view breaks down when I pull information from a Dimension that does not much to do with another.

    What is the best way to present it? Should it be broken down in three areas?

    Business line 1-> some Dims-> FACT Table has
    Area 2-> some Dims-> Table of FACTS B

    AND

    Business line 3-> * only commune Dims *-> Table of FACTS A & B Table of FACTS?

    Your comments are always appreciated.

    Kind regards

    Published by: user10679130 on October 12, 2009 15:27

    Start by checking the forum for similar discussions/questions.

    Join two tables of facts different dimensions in the single logical table
    http://108obiee.blogspot.com/2009/08/joining-two-fact-tables-with-different.html

    This solution maintains two tables of facts in the same area in the logical table is unique, with municipalities and non-common dimensions.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • How to use @sumrange in two dimensions?

    How to use @sumrange in two dimensions? I want to sum up all the values through the period and the time of a measure...

    It does not give the right ratio:
    "WHEELS" / @SUMRANGE ("COGS", Jan:Dec,@RELATIVE(Years,0)); ")

    This gives the right solution, but the year is coded:
    "WHEELS" / (@SUMRANGE ("GEARS"-> "FY12", Jan: Dec) + @SUMRANGE ("GEARS"-> "FY13", Jan:Dec));))

    I want to dynamically reference every year at once.

    Thanks in advance.

    Hello

    Try the @XRANGE function in the @SUMRANGE

    Then

    "WHEELS" / @SUMRANGE ("GEARS", @XRANGE ("FY09"-> "Jan", "FY15"->"Dec"));

    Coding always a little difficult, but you can substitute two variables for ease of maintenance

    Thank you

    Anthony

  • Help!  How to upgrade two dimension collection ArrayCollection?

    Hello

    I'm having a problem of understanding of documentation on populating a DataGrid of two dimension collection ArrayCollection. My situation is that I have a DataGrid with a bunch of information, currently stored in a two-dimensional array (digital in the first dimension and by field name in the second dimension). I also have a bunch of data streaming from an XMLSocket, which, when it happens, is analyzed, resulting in one of the fields of the table in need of update. I can do very well with the table directly, but I can't try to understand how use the ArrayCollection collection features to cross this two-dimensional structure - setItemAt() does not seem suited for this purpose? I need to trigger the effects on the relevant cell that has been updated, when I round coding, so I will try to use some structure that handles update events and others for me automatically, such as the ArrayCollection collection.

    I do not know is still the best technique to use, and the intermediate level (the ArrayCollection collection and others) could be changed completely, so if you can suggest (and illustrate, if she is as confused as this!) a better method, I would be grateful.

    Thank you

    David

    Ah.

    You must look for the item in the collection ArrayCollection. This is usually done with a loop in the collection. When you have found the item you would:

    Item.Quantity = new quantity;
    dp.itemUpdated (item);

    You must call the method of collection itemUpdated to make the signal Collection all interested parties (for example, the DataGrid bound to her) she's changed.

    A Collection can also views and ViewCursors that might be useful to have a lot of data.

  • Arrangement for two dimensions in tileList control Possible?

    Hello
    Can someone tell me, is it possible to organize the image controls two dimensions in a TileList control, so that we could get clues for children according to the rows and columns that we want to get the image in row 2 and column 5 and get the location? If so, if give me an example please... I need this help very urgent

    The container Tile and TileList are designed specifically to not give you this control - you are supposed to simply mix in the components and they appear one after the other until an edge is reached then a new row or column is created.

    If you want this type of control, use a DataGrid and itemRenderers. That has the row and column indexes.

  • Query two tables of facts which is non-compliant dimension

    I have two fact tables and I have this implementation to the RPD:


    Fact1 joined DimA and Edin

    Fact2 joined DimA



    On the front-end, I build two analyses:

    Analysis 1:

    DimA.A, Fact1.1, Fact2.2



    Analysis 2:
    DimA.A, DimB.B, Fact1.1, Fact2.2


    In the results of the analysis 1, I see valid values for Fact2.2
    In the results of the analysis 2, I see Fact2.2 vacuum of the column. I think the reason is that Fact2 is not joined to the EDIN.


    Is it possible that I should be able to report against the two columns of the dimension tables (DIMA and EDIN) to FACT1 and FACT2 measures... Even if I did not join between EDIN and FACT2.

    Any answer would be useful!

    Kind regards
    Annu

    Hello

    Go to the LTS level - content of the fact that not having the join with the Dimension and put on a Total of this Dimension and level total Column (Measure also) (Double click - levels) (Dim hierarchy assume is already configured)

    Shoot everything (D1, D2, F1, F2) you will see results.

    Update Me

    Thank you
    NK

    Published by: DNK on March 20, 2013 13:35

  • Calculation, including the facts of two dimension

    Hello

    I would like to perform calculations on facts of two different sections.
    Example: I have a (fresh) made with a single dimension (time). There are two records in the fact table, the costs for the 'now' and costs for "then":

    How can I calculate, for example, the difference in costs between "now" and "then"?

    Thanks for your help!

    Concerning
    Matthias

    Do you know if I can hide the lines of items not calculated in the diagram somehow?

    Yes. It is also possible. For this you need to hide the lines of items not calculated from your PivotTable itself so that the chart does not display it.

    I don't have obiee with me right now. Click on the properties of this line (in the same place where you created your calculated item), there will be a skin called option or hidden or something like that. Click on it. the uncalculated wil be lost.

    close the message if we respond.

  • Problem: two tables of facts and a dimension in accordance with

    Hello world!

    I need solve this situation:

    I have two fact tables, say F1 and F2, which are both linked to D1, my dimension in line
    I just need to select fields of D1, but I know that, when querying, OBIEE links to a table of facts anyway... How is it chooses the fact table? In other words, if I want to only fields D1, not the system also queries of F1 or F2? What is a random choice?

    Is there a way to "force" this choice, saying the system for example to choose only from F1?

    Is there a work around to resolve this situation? Remember, I only need fields D1.

    Thank you!!

    The solution to your problem is "column name".
    Go to the layer of presentation and double click on your domain. Then you will see name column option. Click on set. give the corresponding column actually it (in your column of fact give deal F1)

    References: http://oracle-bi.siebelunleashed.com/articles/implicit-fact-column/
    Thank you
    GSR

    Published by: GSR on 20 March 2012 15:22

  • Two filters in two dimensions without constraining the fact table

    Hi all

    does anyone know how to avoid the factual constraint when you create a report with two filters on different dimensions?

    I have a fact table big with more than 10 million lines. In the starmodel is the customer of the dimension and the products. I create a filter on the customer atrribute 'Status' and set to 'active '. Now I add the "Product Type" column of the dimension 'Product' in the filter section. When I want to choose a value OBIEE executes a select statement in the fact table. So I have to wait very long to select a value. Is it possible to say OBIEE only to select the dimension table without joining the fact table?

    Thank you much in advance.

    Kind regards
    Stefan

    Use is implied.

    Create a table of facts of the DUMMY and make also implied made for this dimension column. It will solve the problem.
    http://obiee11gqna.blogspot.com/2011/01/implicit-fact-column-in-OBIEE.html

    Published by: MK on January 17, 2012 07:08

    Published by: MK on January 17, 2012 07:08

  • OBIEE-can link us two dimension belonging to different fact tables tables?

    Hello

    I just started with OBIEE concepts... need your point of view on this issue:

    Fact 1 - > 1 Sun, Dim2 and Dim3 and so on...
    Fact 2-> Dim a, b Dim, MEGCS and so on...

    If I connect Dim1 and Dim one with a valid key, which would distort the patterns to star slowflake in the layer of MDB?

    Thanks in advance!
    Neha

    Don't know what exactly you wanted to reach

    I guess you are trying to extract columns from all tables F1, F2, Dims, bc, 123

    Can U be rethinking some null values?

    If you previously said situation let me know, I'll explain u.

    Answer to your question is

    Dim1 can be attached to obscure A if they have the keys in common.

    Go to LTS MDB dim1 add table Sun has

    and you'll join Dim1 anyway (ship relationship Sun-fact)

    How BI Server analyzes the SQL if extract you Dim1 columns, DimA, do

    Dim1.Akey = Dima.Akey and Dim1.Bkey = Fact.BKey

    Hope this helps

    Thank you
    NK

    Published by: DNK on March 22, 2013 09:38

    Published by: DNK on March 22, 2013 09:42

  • two dimensions of time in a cube

    Hi all

    I have an obligation to create a cube for customer mgmt reports. People want to report on registrations and connections of clients.

    So I need, in my cube, two references to the size of my time (called dim_time). I tried and owb accepts two references to dim_time, rename the second dimension to dim_time_1 automatically. Deployment and loading is also very good.

    If from a test perspective, this seems to be the right way to do it. Has anyone else done something like this and you've seen all the problems later?
    I want to be back up before going to production.


    Another issue is about the join of the second reference dim_time to the date of termination. Everyone has a recording date, but most (I hope) is not a termination date. But each of them must be loaded in the cube. I have not seen a possibility to influence the joins to the cube operator. What is possible?


    Kind regards

    Knut

    To make two references to the same dimension, you can create two roles in the time dimension. Then, in the cube, you can view each role. In fact, it's the same thing you did, the only difference is using roles make the model easier to understand, because you can give a friendly name to each role.
    The second point is on the reference to a date zero. I think that there is no way to do it using the cube object. In these cases, I use to create a date as 12/31/9999 "and referring to it. The inside of the card, you can use a phrase with something like this: to_date (NVL (your_date, ' 31129999'), 'ddmmyyyy'). And, of course, don't forget to enter this date in the dimension.
    It is not common to have null data in DW. Any exceptions must be identified and documented, for example, 'Not available', 'Unknown', etc.

  • A table containing columns of DIMENSION and FACT... How to make it work?

    Guys, I have a question regarding OBIEE working with a single table containing the facts and dimension columns.

    What is the 'best' strategy to get it to behave as a schema star? Here are my questions:

    -I should alias each dim set of columns in the physical layer
    -Can I alias made set of columns in the physical layer
    -Participate in the physical layer and then pretend that they are in fact two separate structures in the business layer?

    OR

    Something else?

    Please share your ideas how to handle this kind of situation.

    Kind regards

    You simply duplicate the table in the business model and separate the facts and Dimensions, there is an article on this type of design here...

    http://www.rittmanmead.com/2009/11/10/Oracle-BI-EE-10-1-3-4-1-single-table-repository-design-part-1/

  • To view the zero in a pivot for two dimensions and a measure view

    How show zero instead of null for the measure, the measure is seen in two-dimensional row and one in a column.
    Thanks in advance

    Hi santhoshbon,

    Are you sure that you get a record with a NULL value or are you just can't get a record at all? There is a great misunderstanding about the lack of data compared to data with a NULL value.

    If you really a NULL value which crosses, then all you have to do is use the IFNULL(MY_MEASURE,0) and you will represent at least a 0 instead of NULL.

    If you have no trace in your fact table for this combination of your dimensions, while you do kind of thing of data densification. Here are a few options:

    (1) query use Nico logical substitute to the densification of the data: http://gerardnico.com/wiki/dat/obiee/logical_sql/obiee_sql_densification
    (2) outerjoin bypass to implement John Minkjan in the report: Outer Join work-around
    (3) implement a real outer join to the RPD: joins OBIEE
    (4) to add missing dimensional data points, use the combine with a similar request.

    My guess is that you do not get a NULL value. I'm guessing that you have data scattered and you will need to use one of the methods above to work around this problem.

    Good luck and if you found this post useful, please reward points!

    Best regards

    -Joe

  • Attributes of dimension in fact no. Table Table is error

    Hi Experts,

    My OBIEE version is 11.1.1.6.10. There is a table of presentation, which has columns from multiple logical tables. I'm dragging the 2 columns in the report coming from 2 logical tables.

    Displays the result. When I checked the query, a fact table is also coming and results are made because of this.

    Could someone let me know if any idea.

    If you have multiple fact tables and if you want to choose anyone of the fact (with the lowest possible records) tables to come in the query when you create a report only by using dimension tables, you need to set as implicit in the presentation layer of the RPD.

    Thank you

    AJ

  • Simple analysis of design Question before designing dimensions and facts

    Hi I have a simple question... (I think its simple)

    Suppose I have the following intermediate table with the following columns:

    ---------------------------------------------------------------------------
    Student_Name | RollNo. Test_Date | Object-plug
    --------------------------------------------------------------------------
    with data such as
    Kevin | 123 | 04/12/2010 | Physics

    Now suppose I want to create a cube based on the above table so that I can successfully get the result of a query like

    List the names of all of those students who took the test b & w 04/12/2010 on 2010-12-05 of Physics of matter

    Here, what I need to know what size/levels would be u together and what would be our doing?

    I think that one dimension would be time ( , but I don't know how I would like to welcome and manage duration... no idea )
    would it not be wise to make each column a dimension? for example the student_nanme dimension and the details of the student attribute?

    in any case the key is what bothers look me at the query, we see that we are required to 3 things the name of the student and the TestDate, subject pulled so if I do 3 columns the size I'm still not sure that I would be able to accommodate the request properly... any ideas on how to address and manage these situations

    Published by: Johnacandy on December 14, 2010 09:26

    Dimensions: STUDENT, TEST_DATE (role of TIME dimension) and OBJECT/CLASS.

    Yet you did not mention the measures, perhaps TEST_RESULT? If this isn't the case, it's a factless fact table.

Maybe you are looking for