Dimensional model design for multiple relations btween a fact and dimension

Hi,
I'm new here, sorry if I ask dummy questions.
I need to develop a dimensional datamodel to create some reports. The initial model has a transaction table. A transaction can be related to one or more customers, because of that the there is a customer_id column, but it can contains more id's, separated by commas. The customer table is standard : id/ name/etc.
I need to create a report (I'm using OBI 10g if this is relevant) to show all the transactions related to a customer (prompt) and the report must contain the some transaction details, the id's of all customers related to that transaction and their names.
For example, if I have a transaction with tranz_name = 'transaction_name' and customer_id = '1,2,3' and I need to select all the transactions related to customer 1, I need to show in the report :
'transaction_name' , '1,2,3' , 'Customer_1, Customer2, Customer_3'.
How can I design the dimensional datamodel to have support for this report? I was thinking to create an additional "cust_id" column in the fact table and for the above transaction to load 3 records in the fact table, by filling the cust_id with only one id (the PK of the fact table will be transaction_id + cust_id). But I have 2 problems :
a) How can I create the "CustomerNames" column in the report?
b) How can I select unique transactions if "all customers" is selected in the prompt?
Thanks in advance for your help

Are you using the OLAP Option in the database to define your report? If so, which version of the database do you have? If not, you may get a better response from an OBI specific forum such as "Business Intelligence Suite Enterprise Edition"
Business Intelligence Suite Enterprise Edition

Similar Messages

  • Join multiple facts and dimensions for reporting issue

    Hi,
    I have a report requirements and need to use multiple fact tables and unconformed dimensions as described below
    Fact table: F1,F2,F3
    Dimensions tables: D1.....D9
    F1:(joined to) D1,D2,D3,D4
    F2::(joined to)D1,D2,D5,D6
    F3::(joined to)D1,D2,D7,D8
    D7::(joined to)D9,D8 (dimension D7 joined to two other dimensions D9 and D8
    I'm trying to use columns from almost all the fact and dimension tables but getting "Unable to navigate requested expression. Please fix the metadata consistency warnings."
    Repository is consistent and no errors and warnings.
    How can I configure the repository to develop reports using all fact tables and dimensions?
    Appreciate for your help.
    Thanks
    Jay.

    You can find the same issue in
    Logic of queries in OBIEE
    or
    Connection between 2 fact tables
    Follow the link
    http://there-n-back-again.blogspot.com/2009/04/oracle-analytics-how-to-report-over-non.html
    Put 'All' or 'Total' at levels for dim_xxx for those facts you need in your report from facta and factb
    Regards
    Nicolae

  • Settings for the relation of requirement type and planned order type

    Dear Gurus
    Where we maintain the settings for the relation of requirement type and planned order type?Actually I have maintained strategy 60 for a particular material (planning material) so the requirement type is vsev and along with that the planned order type is coming is vp i.e non convertible planned order.That is ok the system is behaving right.But nowhere I can find the setting of vp with vsev how the system is picking vp?
    Regards
    Sandip Sarkar

    Hi!,
    That is an inbuilt sytem setting and you can't change that.
    Regards,
    Uday

  • How to design fact and dimension tables

    Hi Team,
    Please provide me some useful links!!
    I have a Parent & Child table each has around 8 Million records (1 to many relation).  These two tables need relation with many other master tables to generate any report. 
    I want to desing a fact and dimension(s) for this parent & Child tables.  
    Please help me what are the things I have to keep in mind when desingning datawarehouse fact and dimension tables?
    Thanks,
    Ali

    Hi, any update on this?

  • How to design many to many relationship in the fact and dimension

    There is a problem in my project what is the subject.And i wanna know how to implement in owb.I use the warehouse builder 10. Thanks.

    You may design and load whatever db model you want to.
    But If you set a unique key, you may find some integrity issues. I wouldn't do a many to many relationship between facts and dimensions. This could cause you lots of headaches when users start to submit queries using this tables. You'll probably face performance issues.
    Regards,
    Marcos

  • In Answers am seeing "Folder is Empty" for Logical Fact and Dimension Table

    Hi All,
    Am working on OBIEE Answers, on of sudden when i clicked on Logical Fact table it showed me as "folder is empty". I restarted all the services and then tried still showing same for Logical Fact and Dimension tables but am able to see all my reports in Shared Folders. I restarted the machine too but no change. Please help me out to resolve this issue.
    Thanks in Advance.
    Regards,
    Rajkumar.

    First of all, follow the forum etiquette :
    http://forums.oracle.com/forums/ann.jspa?annID=939
    React or mark as anwser the post that the user gave.
    And for your question, you must check the log for a possible corrupt catalog :
    OracleBIData_Home\web\log\sawlog0.log

  • What do you think of this Design for Multiple Threads

    Hi Java Experts ;
    I'm curious to know what you think about this design for a multhreaded app i'm working on.
    I have a controller thread that (a.) creates threads and (b.) keeps a reference to threads that it creates (by sticking them in a hashtable along with the generated Id for that thread).
    When a created thread completes its job, it decrements the thread counter and removes its reference from the hashtable before it finishes its run method.
    Now here's the interesting part in my controller thread i'm creating new threads on the fly with this infinite loop
         public void run(){
              while(true){
                   try{
                        Thread.sleep(500);
                   }catch(InterruptedException e){
                   if(threadCounter<maxThreadCount && moreJobsToDo.size()>0){
                        createDomainThread();
              }//end while
    what do you think about this pattern ? My goal is to maintain about 200+ created threads running at all times with this pattern.

    jeff kesslerman's book says about threads
    "5.2.3 Threads
    The impact that threads have on RAM footprint isn't a problem for most programs, but running threads do need space to store their stack state, and the system- specific data structures do consume memory.
    Because runtime implementations vary widely in how threads are handled, you might encounter situations where the impact threads have on footprint is significant. For example, some ports of the JRE create a heavyweight OS process for each running thread. In an application that uses many threads, this means that thread costs, rather than class or object costs, can become the dominant factor in the program's memory consumption.
    You shouldn't avoid using threads-they're necessary in many cases, and generally don't have a large impact on footprint. However, you should be aware that the impact can be very different across runtimes. This is one of the reasons it's a good idea to measure performance characteristics under your program's different target environments. "
    Question #1: how does garbage collection go about clearing the stack state, and the system- specific data structures that consume memory.
    Question #2: in my situation, each worker thread's activity is not as brief as a simple server request. Each thread does a lot work and does a lot of network connections. on average I would say 100 http request - each of which can be easily blocked or delayed significantly. Therefore each worker thread may operate for between 2 - 10 minutes.
    Do you think thread pooling is useful in this situation ?
    stev

  • Single ERS Invoice for multiple POs with different GS and same IP

    Dear All,
    I have a Requirement as per the below scenario:
    We need to have single invoice created using ERS (MRRL) functionality in the below scenario:
    Two POs created with different Partner function GS (goods supplier) and same IP (Invoice party partner function).
    Ex:
    GS IP PO GR ERS
    vendor1 10001 4500001 500001 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    vendor2 10001 4500002 500002 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    When I run ERS for last 1 week (GR) and select the option (Doc selection – per IP or other criteria like GRs posted in last one week) , system should create 1 invoice document. Standard SAP posts 2 documents for each GS.
    I have tried using 2 user exits for MRRL, but none of them work for this functionality.
    Thanks,

    Hi,
    Go for  MIRO without MRRL.
    Instead ERS, you can post single  Invoice(MIRO) for multiple POs  for one vendor.
    OR
    Check with Technical consultant and go for development to have single ERS output for multiple ERS invoice documents for single vendor.
    Regards,
    Biju K

  • Recommended Design for WAAS in both Data center and Branch Offices

    Hi All,
    I need to purchase different appliances for WAAS, but before I decide what to purchase, I need to know exactly how I am going to put these devices so that I can know which one to purchase and how the designs will be.
    My environment is as follows:
    I have two core routers (ASR 1000 series) at Data center, two 6509 switches (expecting to insert the ACE module, and FW module) and the I have access switches which connects servers.
    At the branch offices, I am expecting to place ASR1000 series also.
    Now, I need to know the recommended designs for these WAAS appliances so that, I can know in advance what to purchase(i.e. how many WAAS CM, Core WAE, and Edge WAE).
    Any input will highly be appreciated.
    Thanks,

    If you purchase the Standard Edition, your license supports:
    One installation of Cisco Security Manager on one Windows-based server.
    The configuration or management of 5 devices (in the Standard-5 option) or 25 devices (in the Standard-25 option). This excludes Catalyst 6500 and 7600 Series devices and their associated service modules.
    If you purchase either the Standard-5 or Standard-25 license, you cannot purchase an incremental device license. Your license is fixed at either 5 or 25 devices.

  • Urgent - How to join multiple facts and dimensions in OBIEE rpd??

    Hi,
    In my RPD I have 3 facts and 4 dimensions and the joins defined are as below
    Physical layer - All joins are FK and inner (1:N)
    FACTA-------------- DIM_TIME, DIM_CUST,DIM_CAL
    FACTB-------------- DIM_TIME, DIM_CUST,DIM_CAL
    FACTC-------------- DIM_TIME, DIM_CUST,DIM_CAL, DIM_XYZ
    BM layer - All joins are complex, inner
    The logical table F1 pulls columns from FACTA, FACTB and FACTC . Complex join exists between all 4 dimensions DIM_TIME, DIM_CUST,DIM_CAL, DIM_XYZ to logical table F1.
    Issue: I need to build a report with $ column from FACTA, FACTB and FACTC and need to add filter conditions using columns from DIM_TIME, DIM_CUST,DIM_CAL, DIM_XYZ.
    However when ever I add a filter condition from DIM_XYZ the physical query generated is not generating code to access data from FACTA and FACTB. Instead it is subsituting a NULL and just pulls data frm FACTC.
    My Questions: What is the best way to build the physical and BMM layer using FACTA, FACTB,FACTC, DIM_TIME, DIM_CUST,DIM_CAL and DIM_XYZ??
    I need to resolve this issue ASAP so any help is appreciated. Thanks
    Edited by: user11935561 on Feb 10, 2010 6:27 AM
    Edited by: user11935561 on Feb 10, 2010 6:28 AM

    You can find the same issue in
    Logic of queries in OBIEE
    or
    Connection between 2 fact tables
    Follow the link
    http://there-n-back-again.blogspot.com/2009/04/oracle-analytics-how-to-report-over-non.html
    Put 'All' or 'Total' at levels for dim_xxx for those facts you need in your report from facta and factb
    Regards
    Nicolae

  • Database Design for Multiple function site

    Hi
    I am working on one project which involve multiple function
    site, such as
    Company Product Catelog, Customer Support Forum, Document
    Exchange Engine and
    etc...
    Normally we will combine ALL TABLEs into one DATABASE.
    My question are:
    1) Is my break them to individual DATABASE, will it perform
    better?
    Means Product Catelog and Forum will have different
    DATABASE, but they
    will using the same DOMAIN NAME.
    2) I am worried about the break down and corruption of
    DATABASE, so I have the
    idea to separate them out. Are my idea correct or wrong?
    3) I am seeking for better DATABASE DESIGN, because I know
    the database will
    become huge in future. I request for your idea and opinion.
    Thank you very much.

    Creating views: not an option I think. It would involve a lot of programming with 'instead of' triggers etc.
    Seperate databases: a good way if the locations are completely independant and do not share information. This involves more DBA work.
    Separate schema's in one database: this would make public synonyms impossible, and is probably not a good option.
    Adding a location id to tables: the best way I think, and flexible. You can easily add another location, and locations can easily share information.

  • Newbie question on report design for multiple pages - HELP!

    I am upgrading an existing accounting program to use Crystal reports. The accounting program generates account statements for our investors. Each account needs to have 1 statement (which typically is only 1 page long).
    I have a table that has 1 record per activity per account. Every account has a unique code and the report is set to group records by this code. Therefore, an account can have 1+ records associated with it that need to be displayed in the details section.
    To test my report I have 4 records in my table -- 2 records for account code 'ABCD' and 2 records for account code 'WXYZ'. The report correctly groups  the records together and summarizes the necessary information, but it DOES NOT create a page break.
    I don't understand what else I need to do in the designer to force it to create a new page everytime the account code changes... It's basically a mail-merge type functionality that I am looking for!
    Any help is appreciated.
    SG

    In the gray section to the left of the report design, right-click on the group footer for the Account Code and select 'Section Expert'.  Turn on "New Page After".  To prevent a blank page at the end of your report, click on the formula button to the right of the check-box and enter "not OnLastRecord".
    -Dell
    - A computer only does what you told it to, not what you <em>thought</em> you told it to!

  • One instance of Space Designer for multiple instruments

    Hi - I know that if you have - for example - four instances of an instrument all using the same Space Designer setting, you can have just one instance of the SD and use buses to send all the instruments to the same - somewhere - so they can all use it.
    I've tried this but I obviously placed the SD in the wrong -somewhere - since they didn't find it.
    Where is the correct place ?
    Thanks -Kay.

    Yes, that's the way to go.
    It is a shame, by the way, that names assigned to Busses in the I/O labels dialog are global to all Projects, so if you go crazy at one time and use *and name* 17 Busses for parallel compression, this naming is reflected in all other Projects too. Also, configurations in older Projects ported from V6,7,8 will vary wildly as you have refined your Templates, shifted gear, sold hardware etc. over the years. I have recently worked on a Project started in 2003, and Bus names were all over the place. It is one thing to have indifferent Bus 13, Bus 14, Bus 15 shown in the Sends, but it's a whole other dimension when all the names are wrong like Guitars, Vocals, Moreme when actually they feed Delay 1, Headphone and Drums.
    You can, however, work around this limitation. After copying the *IO Labels* file from User/Library/Application Support/Logic to a safe place like +Default IO Labels+, you can change the original to your liking and then copy that to your Project folder. This way you can throw the correct file back into the AppSupp folder when you're working on that Project later. You have to restart Logic for this to take effect.
    Christian

  • MDM Data model design for Main table visa vis lookup table

    Hi ,
    I would like to know whether the legal entities or Address table which are common for all MDM main tables like Customer ,Vendor,Material,Business Partner etc can also become a main table when their attributes are around 30-40 range.
    Is it a sound design approach to make Company table with about 50 attributes and say address table with 20 attributes as Main table and replicate a small company-id table with 2 or 3 attributes to link to the main table(company)? This will ensure replicating that small table(company-id) to all other Main tables(customer,vendor,......) instead of replicating that big company table as lookup for all main tables?
    Thanks in advance for any idea or feasibility comments.
    -reo

    Hi, Deepak
    >>> - How can I populate the data in the lookup table at the same time when I am populating the main table ? I have only the XML's that correspond to the main table . I don't have seperate data for the lookup tables .
    I don't think you can populate both main table and all fields of lookup tables at the same time, i.e. using same map. You can consider 2 options to upload all information you have:
    1) If your XML file contains data you would like to upload to lookup tables, you can upload it to MDM lookup tables with several maps using same XML and choosing different sections of that XML corresponding to different MDM lookup tables.
    2) Also you can upload main table simultaneously with lookup table entries (using same map), but in this case new lookup table entries will only contain display field values that you mapped. To do this you should use 'Add' value mapping functionality for fields that you mapped to lookup tables.
    >>>- Can I use the standard maps available for import in the business content of material repository in MDM ?
    1) In case you have material master repository delivered by SAP and you use XML files which structure corresponds to SAP predelivered XSD schemas then you can use these maps undoubtedly.
    2) If your repository is based on SAP predelivered, but you changed it ,you should adjust these maps due to differences in repository structure and  XML files structure.
    3) If you created your repository from scratch you should consider option of making your own import maps.
    Regards,
    Vadim Kalabin

  • Database design for multiple users/connections

    Hello All,
    My questions are about overall design/strategy of the database.
    We are using Oracle 9.2.0 on AIX as a backend for a ColdFusion application. When deployed, the CF app and Oracle will be running on our customer's server, with the customer's various physical locations accessing the server remotely. The customer will manage the oracle database on their server.
    With the potential for approximately 70 locations remotely accessing the database at the same time, each remote location will only be selecting and updating their own records out of any table -- i.e. each record contains an indexed "location id" -- although inserting would be a different story.
    Would creating views provide the data manipulation performance the users would need? Or perhaps individual schemas with individual tables/indexes for each location id? Or should we consider separate databases?
    Does anybody have any ideas or practical suggestions about how to approach this? Are there other considerations that we should be thinking about?
    Please let me know if I have not provided enough information. Your comments/criticisms are greatly appreciated.
    Louise

    Creating views: not an option I think. It would involve a lot of programming with 'instead of' triggers etc.
    Seperate databases: a good way if the locations are completely independant and do not share information. This involves more DBA work.
    Separate schema's in one database: this would make public synonyms impossible, and is probably not a good option.
    Adding a location id to tables: the best way I think, and flexible. You can easily add another location, and locations can easily share information.

Maybe you are looking for

  • Windows vista ultimate itunes 7.1.1 VB script error

    I am trying to load i-tunes current version on my windows vista ultimate pc and I keep getting a message which says i-tunes cant install, windows visual basic is turned off, turn on and reinstall? Any one have any ideas. Thanks

  • How can I set the file name and folder for output to PDF from another application?

    I am developing an application in Microsoft Access where the printed reports are to be saved in PDF format for archive purposes. I can send the output to Adobe X, but the default file name is the Access report name and the folder selected is the one

  • Inserting records in a table after iterating through it

    Hi, I have a table like this: Col 1 Col 2 1 rat 2 hen 1 dog 1 cat 3 lion My requirement is to process all the records with unique values in col 1, means I will be inserting these unique records in table A and if the record repeats like for values in

  • How to make download spped fast?

    Having problem with download speed. We rented a movie and itunes estimates over 1000 min. We had 100mb/sec connection. How we can make the download faster?

  • Batch active at client level

    Hi All, Batch status is active at client level. However, in the inbound delivery I am able to receive an existing batch for some other material. Ideally, I should get an error that the batch already exists etc because the batch is active at the clien