Deduplication of data, modeling question

I have a following arrangement:

DimX Dim1 1:M FactM1 M:1
DimX Dim1 1:M FactM2 M:1

What business user wants, that's
1 Fact1 and Fact2 work with DimX and Dim1
2. what Fact1 Dim1 and DimX overall Fact1 numbers must not resume even when DimX repeats.
To illustrate this... Assume that the data are the following...
fact1-> mea $10
dim1-> att1 "xyz".
dimX-> att10 "aa", "bb".
dimX-> att11 'xx', 'zz ',.

Then, when the user draws the columns
MEA$, max(mea$), sum(mea$), dim1-> att1, dimX-> att10
10, 10, 20, "xyz", "aa".
10, 10, 20, "xyz", "bb".

Note: The sum of 20 is due to dimx-att10 is aggregation for dimX-> att11
Also, when the user puts the money on the table, he gets values such as

MEA$, max(mea$), sum(mea$), dim1-> att1, dimX-> att10
10, 10, 20, "xyz", "aa".
10, 10, 20, "xyz", "bb".
10, 20, 40, <-total line
Yet once this years wrong, since
1. I put 'Aggregation rule' on mea$ (no aggregate column) to get the sum, which summarizes blindly
2 max(mea$) gives the maximum value, that 's going to be bad as soon as I get a more values of dim1-> att1.

Please suggest how to solve this problem.

Without data warehouse environment (you cannot create a table of bridge or the transformation of data), you must create/set a function to get only on your many-to-many dimension line (for example, max, min, top1...).

10, 10, 20, 'xyz', 'aa'
10, 10, 20, 'xyz', 'bb'

will become

10, 10, 20, 'xyz', 'aa'

I don't see other possibilities.

Otherwise, you must use a data integration tool to model another design.

See you soon
Nico

Tags: Business Intelligence

Similar Questions

  • Question by showing the data model in reports of 11 g

    Hello

    I'm working on forms and reports on 11 g. I have a problem with the reports.

    After opening an existing report, I am unable to view the queries in the data model. The data model page is open, but immediately, it pops up a window saying generator stopped working. He has no problem working with the rest of reports such as the use of the document layout, etc.

    Could someone help me with this problem?

    (Sorry, i, m not able to add any image with this)


    Thanks in advance.


    You use the 64-bit Oracle Forms and reports 11 GR 2 version? If you are, it's a known bug with 64-bit report designer. As long as you use not Sources of pluggable data (PDS) in your reports, you can implement workaround in the following article:

    http://Pitss.com/us/2012/10/10/reports-Builder-11gr2-crashes-when-viewing-data-model/

    This should solve the problem with the help of the data model in the generator of reports without it crashing.

    Thank you

    Scott

  • XML with a member does not properly in the data model

    I use XmlDataAccess class to load an XML list in GroupDataModel. Everything works fine if the XML file has more than one Member, however, it does not load if the list contains a single member. I use the following code to get the XML content:

    QVariant list = xda.load(home.absoluteFilePath("MembersList.xml"),"/members/member");
    

    I need to know if the list has only one or 2 + members, so I can direct the data model to load with the appropriate settings. Can I know the number of members in the list?

    This problem is closely related to this question, where a solution QML is given.

    Hi Mitch99,

    Please see this forum post for a workaround for this problem. I tested it and confirm that it works as with QML.

  • If disappearing third-party JDBC drivers attempted to use Data Modeler

    Hi all

    I'm trying to reproduce the steps described in this blog post Oracle: https://blogs.oracle.com/datawarehousing/entry/oracle_sql_developer_data_modeler about the hive JDBC connectivity. Successfully, I can connect to hive and query the tables of the hive without problem. However, if I try to use Data Modeling (file-> Data Modeler-> import-> data dictionary), hive connectivity is not available any more back and goes to a third of drivers JDBC (via Tools-> Preferences) shows that there is no additional drivers listed (even if they had just be added and used successfully in the previous step).

    Here are a few screenshots

    (1) addition of hive to a third of JDBC drivers:

    1.PNG

    (2) connection to the hive:

    2.PNG

    (3) properties of the connection in Data Modeler ((fichier-> Data Modeler-> Importer-> dictionnaire de données) - Note that the tab of the hive is currently unavailable):

    3.PNG

    4) dating back to tools-> Preferences, check third party JDBC drivers - now empty:

    4.PNG

    This behavior is not limited to the hive - exactly the same thing happens with the MySQL driver, too.

    Tested in both windows & OEL 6.6

    Developer SQL v 4.1.1.19.59

    Any ideas?

    Thanks in advance

    Thanks for reporting this.  I also see the question on 4.1.3.  Maybe add pots of third parties in respect of the database and Data Modeler preferences immunize you her.  Of course, this is a bug and should get connected.  It is best that you could do it through MOS from 4.1.3 is a production version.  In general, our team saves only bugs for the first versions of the adopter.

  • Create column for a YEAR on the front-end or Data Modeler?

    You want to create a column of CDA in the Data Modeler or the front-end server. In the Data Modeler, the CDA is summarized by date opposed to the month which is a very large number. On the front, it gives an error of invalid syntax when you use date (expr, time_period).

    The question seems to be a corrupt hierarchy of the time Dimension. It's working now.

  • Data modeling for a small database tutorial - understand the part 'Creating relationships between entities'

    I'm trying to understand and make use of Tutorial: modeling of data for a small database

    In this tutorial, I'm supposed to make Entity Transactions containing two attributes that designates the bosses (patron_id) and Books (book_id) (2.1.4) entities

    Later, I add two one-to-many relationships that attributes mentioned twice in the entity of Transactions (patron_id1 and book_id1). (2.1.5)

    So here are my questions: what is the purpose of creating attributed to point 2.1.4 if they are then reproduced in paragraph 2.1.5?

    If she could be crucial, I use Oracle SQL Developer Data Modeler Version 4.0.0.825 Build 825 on jdk1.7.0_25.

    Bonus question: how to turn attributes types on the logical diagram? I can't find the option anywhere...

    I would be really grateful for each answer and all the stuff!

    Looking at the documentation for version 2.  I checked 3.3 and 4.0 EA3 and corrected tutorial you can download the latest version and use this documentation.

  • Re: Data model - degree of relationship, ERD Notation of Barker

    Oh, I see now! I worked on the relational model, these icons are only accessible from logic model. I think I need to spend more time with the Modelere data. Thank you!

    Sorry for the topic of opening in the wrong forum (I have not noticed the appropriate injector). I would be grateful if someone could move it where it belongs.

    Hello

    There is an icon in the buttons above the schema to create a 1:1 relationship.  (The icon looks like 1<-->1)

    You can also set the properties 'Target cardinality of Source' and the 'target Source of cardinality' 1 in the Properties dialog box for the relationship.

    Just to add that there is a forum especially for questions of data Modeler: SQL Developer Data Modeler

    David

  • SQL Data Modeler

    Hi all

    I use sql schema from the schema generation datamodeller for my er. I generated on the guest design, but since I have 200 tables in design, it is not possible to print it, also when I create a PDF of it shows the file 200 KB but when I open it it is empty Adobe reader9.

    I want just the output I see in the designer in PDF or word format. Is it possible that I have to forward it to the development team.

    Thank you.

    Hello

    There is a forum for the tool space: SQL Developer Data Modeler

    Please mark this question as answered (so others know they can ignore it) and post again in the forum Data Modeler.

    Concerning

    Marcus

  • How to consume the data model library adf for the project?

    Hello

    I use Jdev 11.1.1.6.

    I have a workspace Jdev containing the business component (entity objects, view and application module objects exposing the your). This workspace is deployed to a library of the ADF. This library is packed with DB connection details.

    I have a different workspace Jdev which needs to consume this library of ADF data model. This workspace is actually just the layer view (no business at all components).
    I added the data library ADF model to his draft opinion and it is showing application module and your sub of the data controls.

    My question is: how will this project view to connect to DB when running?
    It allows the connection of packaged data model ADF Libabry? If so, how?
    or should I create a business under this workspace view, just the purpose of connection project? If Yes, then what is the use of connections, including creating the library of the ADF?

    Thank you
    JAI

    Hello

    It uses the connection in the library of the ADF. However, I recommend that not save you the database connect information in the library of the ADF. Instead:

    -set the ADF BC model to use JDBC data sources
    -In the library of the ADF, configure it to contain only the name of data source
    -In the view project (the workspace) set up the database connection that is exposed by the library

    When the library is imported, verify the Application resources--> connections and right click on the name of the connection that is imported to configure

    Frank

  • Data modeling

    As an architect of unique data, it can become difficult to manage the creation of tables. Developers can create tables, etc.? In production create us through DBA, but in the dev environment, developers are allowed to create their own tables and then later ask the DBA is migrating to test, production, etc. I think that this is not the best practice first for obvious reasons (people not re-use tables and create their own, etc., can quickly become unmanageable). However, it can be a bottleneck to limit them to create their own objects and have to go through a single data architect. I'm talking about 15 developers. Even if I think he better go through a Data Modeler and take more time data modeling now than to have to deal with all the problems, inconsistencies in data later. What do you think? I mean there is also culture where developers have become so used to create their own objects and just talk to DBA to migrate to production. What are some of the best practices out there?

    Published by: Rinne August 14, 2012 09:17

    If the developers must submit an application so that objects created so this is obviously a delay. Thus, according to the authorized number are creating object, how many times that people belonging to meetings, office hours (some employees work at 09:00 - 17:00, of other 06:00-15:00, some 10:00 - 18:00), days of vacation, sick days and out of the Office events can sometimes be object creation queries may not happen until overnight. Developers should plan and work around this problem.

    From my experience, I have met more than one developer who seem to think that what they want is an immediate need. When they don't get what they want, right now, they complain. The fact that their design is perhaps less correct, they will drop and re-create the table 3 times in 5 days to change the names of columns, etc... is besides the point. They had to wait; the world could have done.

    These minor delays can sometimes be a good thing. Waiting gives the developer more time to reflect on the conditions required for the object and correct about designation column if the table design is rigtht, but the question is how is a developer from the management to respond to the whiny above.

    You can also consider a unit test, system test, to the production environment. Developers can do their thing in unit test an application and scripts are used to apply the changes to the test system which is where the customer is done and then later once we got the approval of the customer and solutions for code filled a request is made to switch to manufacturing. You can also lock all three environments.

    The details depend on the store.

    HTH - Mark D Powell.

  • How to build the data model to the server of short?

    After the Quick Start Guide, I am still confused of short components. In the view of BI, it should be a short server integrated data model and a tool to develop and manage the data model. Which component is this role, CloverETL or something?

    We have created a series of screencast "Getting started with short Information" discovered who should provide that you answer these questions.

    You can find the full outline on our page OTN: http://www.oracle.com/technetwork/middleware/endeca/learnmore/index.html

    And, the screencasts are on our YouTube channel: https://www.youtube.com/user/OracleEID

    Thank you
    Carrie

  • How to remove an XML data model in data definition screen

    Hello

    Question: I downloaded the data definition file in the data model.
    How to remove it.

    What means each file type?
    XML Schema
    Data model
    Preview of a file
    Breaking control file

    I have an XML file and a XSL file. I need to have an output in XML format.

    So I installed my XML file in the data definition of data model.
    And the XSL file in the templates.

    Am I wrong?

    11.0.10.2

    Kind regards
    Sabine

    Question: I downloaded the data definition file in the data model.
    How to remove it.

    You can not remove it, but you can date deadline there.

    What means each file type?
    XML Schema
    Data model
    Preview of a file
    Breaking control file

    This is explained in the manual 'Oracle XML Publisher Administration and the Developer Guide Release 12' - http://docs.oracle.com/cd/B34956_01/current/acrobat/120xdoig.pdf

    I have an XML file and a XSL file. I need to have an output in XML format.

    So I installed my XML file in the data definition of data model.
    And the XSL file in the templates.

    Am I wrong?

    Good - See Chapter 2, "Creating the model" and Chapter 5 "models and chapter data ' in the same doc referenced above for more details.

    Thank you
    Hussein

  • Impacts on the performance of the attributes from the features of data model design

    I'm trying to understand the implications of the performance of two possible data model design.

    Here is my structure of the entity:

    Global > person > account > option

    Generally, when running, I instantiated a person, a single accountand five option's .

    There are various amounts determined according to the age of the person who should be assigned to the correct option.

    Here are my two designs:

    Design a

    attributes on the entity of the person :
    age of the person
    its option 1 amount
    its option 2 amount
    its option 3 amount
    its option quantity 4
    its option 5 amount

    attributes on the option endity:
    amount of the option

    support table rules:
    option = amount
    its option 1 amount if the option is number 1
    its option 2 amount if the option number 2
    its option 3 amount if the option number 3
    its 4 option amount if the option is number 4
    its option 5 amount if the option is number 5

    Two design

    attributes on the entity of the person :
    age of the person

    attributes on the entity of the option :
    amount of the option
    of the option option 1 amount
    of the option option 2 amount
    of the option option 3 amount
    of the option quantity 4
    of the option option 5 amount

    support table rules:
    option = amount
    of the option option 1 amount if the option is number 1
    option 2 amount option if the option number 2
    of the option option 3 amount if the option number 3
    the option amount 4 If the option is number 4
    option 5 option amount if the option is number 5

    Given two models, I can see what looks like an advantage for a design that, when running, you have less attributes (6 on retirement member + 1 on each of the 5 options = 11) as two Design (1 on retirement members + 6 on each of the 5 options = 31), but I'm not sure. An advantage to design two might be that the algorithm must do less through the structure of the entity: the table of rules support everything for the amount of the option option.

    Anyway there is a table of rules to determine the amounts:

    Design a
    its option 1 amount =
    2 if age = 10
    5 if age = 11
    7 if age = 12, etc..

    Design two
    of the option option 1 amount =
    2 if age = 10
    5 if age = 11
    7 if age = 12, etc..

    Here, it seems that the one would have to cross over the structure of the entity for the design of two.

    The design will have a better performance with a large amount of rules, or it would make a difference at all?

    Hello!

    In our experience, just think about this kind of stuff if you were dealing with 100's or 1000 instances (usually through ODS). You have a very low number, the differences will be negligible, as you should (in general) go with the solution that is most similar to the material of origin or the understanding of the business user. Also, I guess that's an OWD project? Which may be even better, the inference is performed gradually when new data are added to the modules, rather than in a 'big bang' as ODS.

    It seems that the model 1 is the easiest to understand and explain. I wonder why you have the option at all entity, because it seems to be a relationship to one? If the person cannot have only a single amount of option 1, option 2 amount etc, and there's only ever going to be (up to) 5 options... is this assumption correct? If so, you can keep just like the attributes at the level of the person without the need for bodies. If there are other requirements of an instance of the option then, of course, use them, but given the information here, the option feature doesn't seem to be necessary. It would be the fastest of all :-)

    Whatever it is, that the number of instances is so low, you should have nothing to fear in terms of performance.

    I hope this helps! Write back if you have more info / questions.
    See you soon,.
    Ben

  • SQL for SQL Server 2008 Developer Data Modeler

    I am not able to connect to my SQL Server 2008 since the SQL Developer Data Modeler. Although I jtds - 1.2.jar my machine and I can connect SQL server through the SQL Developer, but still I am not able to connect through the Data Modeler. I need to rethink and to generate the data model for some existing patterns.

    Here's what I'm following: -.

    File Data-> shape-> import-> data dictionary-> add-> new JDBC, ODBC Bridge connection-> other third-party driver

    now when I give driver and the JDBC URL, it throws an error message indicating that the driver is not found.

    Please let me know what I can do to fix this problem, any help would be appreciated.

    Kind regards
    AVA

    I would try 1 to connect to the db of sqldeveloper (by jtds - uninvolved to ODBC) and see if you can browse your sql db queries and question in a worksheet. Export this connection to xml format, and then import that Modeler.

  • Problem in OPM Siebel data model import

    I use OPM 10.2 and havaing a question to import the Siebel data model in to OPM. I also have 10.2 Siebel connector, installed on the desktop.

    In OPM, I don't see the Siebel-> Import Data Model option in the menu.

    Y at - it no configuration changes that need to occur in OPM for this?

    Edited by: SP1D3R MAN on 17/11/2011 18:02

    1. make sure you have the Siebel 10.2.1 Oracel software delivery Cloud connector (formerly E-Devliery), there was a bug with the earlier 10.2 where the policy modeling Plugin did not work.

    2. make sure that the files Oracle.Modeling.Siebel.Exchange.dll, Oracle.Modeling.Siebel.Plugin.dll , there is the subdirectory Plugins Policy Modeling (default location C:\Program Files\Oracle\Policy Modeling\plugins)

    3. make sure that you use Policy Modeling 10.2

    If you manually copy the dll, they can be found in the download connector for siebel in the program files\Oracle\Policy Modeling\plugins\

Maybe you are looking for