Several joins between records

Hi gurus,

I have a fact table that contains several fields of candidate that can be attached to a lookup table

2 folders
fact_table
lookup_table1

2 joins are possible between two folders
fact_table.code_combination_id-> lookup_table1.code_combination_id
fact_table.accrual_code_combination_id-> lookup_table1.code_combination_id

When I try to create a new workbook and include the fields of the fact table, and then include the fields of the table of correspondence he asks me to choose the join.

If I then want to add fields based on the second join, it do not ask me what join to use in the future. He seems to assume that the first join is always between two records for the report. I know that I can create another folder using the same table and move one of the existing joints of the current folder to the new folder. Am I missing something or is this the only way to go?

Kind regards

John

Hi John,.

Interesting question. This is how we solved in my last job.

Created files:

Fact table: AR's

Search folder: combination of Code search
Search folder: search for combination of Code of accumulation

Then join AR made in each search folder. Generally, point the search folder on the AR folder in creating joins. Discoverer, prefer this direction. As a combination of additional code types are referenced, add additional code combination files. All of these files come from the same table. The only thing that is different is the column joined actually AR.

So, in the end, your knuckles would be:
Code combination Lookup.code_combination_id-> AR Fact.code_combination_id
Accrual Code combination Lookup.code_combination_id-> AR Fact.accrual_code_combination_id

I hope this helps.

Kind regards
Nancy

Tags: Business Intelligence

Similar Questions

  • Several joins

    Hi all

    Am new to OBIEE and I need help on the scenario below.

    I have two tables S_ORG_EXT (Account) and S_OPTY (Opportunity).

    Account table has a direct 1:M join table opportunity. S_ORG_EXT ROW_ID = S_OPTY. Account_ID

    But opportunity table also stores data on competitors in his Competior_ID column, which is nothing else than the ROW_ID of account. Even like this, there Partner information in the Partner_ID column.

    The requirement set out in the report is now to display the names of account and competing in a single table view.

    I created several joins between tables account and opportunity in the physical layer of the repository as follows:

    S_ORG_EXT. ROW_ID = S_OPTY. Account_ID
    S_ORG_EXT. ROW_ID = S_OPTY.Competitor_ID
    S_ORG_EXT. ROW_ID = S_OPTY. Partner_ID

    This approach is correct? Can you have multiple joins between two tables?

    How can I achieve my requirement of report.

    Please help me.

    Thanks in advance,
    Imtiaz.

    @imitiaz

    got your requirment, I had an idea is to make a table alias of the table and join with chart of accounts... the second join you mentioned above create this join with her and pull out of this column to your view. Hope this workzz

  • several "logical joins" between a fact table and a dimension table

    It seems that cannot create multiple "logical joins" between a fact table and the table of a dimension in OBIEE with Administration Oracle BI tool. For example, whereas a business model with a dimension table TIMES and has made the table containing the value of START_TIME and END_TIME, we want to create separate logical joins BOTH done for the START_TIMEs and the END_TIMEs? Of course, underlying foreign keys can be created, but as far as I can tell the Administration Oracle BI tool does not support this. The solution would be to reproduce the table in TIME, but it's ugly.
    I'm looking for another approach.

    Try this. Create an alias of two for the TIME dimension (beginning & end) in the physical layer, then remove foreign key to the 'Parent' time dimension. Create the foreign key in the physical layer for new aliases, then create complex joins in the MDB layer for new aliases as well. This will allow you to present the two dates within the same table in the presentation layer. Not a more elegant solution, but it works.

  • Join between major operations and delivery details

    I develop a relationship where I get the material details of transacitons and delivery for the sales order. I use the following query to get these details.

    If the order contains several important operations and deliveries, I get the product cartision using the following query.

    SELECT a.order_number, b.line_number, f.lot_number, c.oe_interface_flag
    OF apps.oe_order_headers_all one
    apps.oe_order_lines_all b
    c apps.wsh_delivery_details
    apps.mtl_material_transactions d
    e apps.mtl_transaction_types
    apps.mtl_transaction_lot_numbers f
    WHERE a.header_id = b.header_id
    AND d.trx_source_line_id = c.source_line_id
    AND b.line_id = d.trx_source_line_id
    AND f.transaction_id = d.transaction_id
    AND d.transaction_type_id = e.transaction_type_id
    AND d.transaction_type_id = 33
    AND a.order_number = '12000053'

    Can any body tell me that I can use the following join between major operations and deliveries.

    AND f.lot_number = c.lot_number

    Thank you
    RAMU

    RAMU
    You are right. I watched more. Add this condition instead of the batch number condition.

    WDDS.delivery_detail_id = MMT.picking_line_Id

    where JMD is wsh_delivery_details and mtl_material_transactions TEM.

    Thank you
    Claire

  • The report generator (impossible to create the join between the 2 groups)

    I have 2 queries and want to create different gourp and want to join these groups with the butts of lint data impossible to create the join between groups please guide me how can I do it.

    Thanks in advance

    Query1 and goup 1.
    SELECT

    TO_NUMBER (STUDENT_ROLL_NUMBER) STUDENT_ROLL_NUMBER,
    ACIVITY_STATUS AS ACIVITY_STATUS_ADM,
    CREATION_DATE DATE_ADM,
    (SELECT BILL_CLASS_FEE_STRUCTURE, BILL_CLASS CLASS_NAME CLASS WHERE FRESH.) CLASS_ID = CLASS. CLASS_ID AND FEE_STRUCTURE_ID = ADM_FEE_STRUCTURE_ID) ADM_FEE_STRUCTURE_ID;
    (SELECT DESCRIPTION OF BR BRANCH_NETWORK_REGION_LINK WHERE BRANCH = BRANCH_ID) ADM_SOURCE_BRANCH_ID,
    (SELECT R_DESCRIPTION FROM BR BRANCH_NETWORK_REGION_LINK WHERE BRANCH = BRANCH_ID) ADM_REGION, '1' AS NO.


    Of
    SMA ADM_CHALLAN_HIST


    WHERE

    STUDENT_ROLL_NUMBER =: STUDENT_ROLL_NUMBER


    Querry 2 and group 2:


    SELECT
    -PROMOTION_HIST_ID,
    PR. ACIVITY_STATUS PRO_ACIVITY_STATUS,
    BOX WHEN PR. STUDENT_STATUS = 'Y', THEN 'ACTIVE' END PRO_STUDENT_STATUS.
    TO_NUMBER (PR. STUDENT_ROLL_NUMBER STUDENT_ROLL_NUMBER).
    (SELECT BILL_CLASS_FEE_STRUCTURE, BILL_CLASS CLASS_NAME CLASS WHERE FRESH.) CLASS_ID = CLASS. CLASS_ID AND FEE_STRUCTURE_ID = SOURCE_FEE_STRUCTURE_ID) SOURCE_PROMOTION_CLASS;
    (SELECT BILL_CLASS_FEE_STRUCTURE, BILL_CLASS CLASS_NAME CLASS WHERE FRESH.) CLASS_ID = CLASS. CLASS_ID AND FEE_STRUCTURE_ID = DEST_FEE_STRUCTURE_ID) DEST_PROMOTION_CLASS;
    (SELECT DESCRIPTION OF BR BRANCH_NETWORK_REGION_LINK WHERE BRANCH = SOURCE_BRANCH_ID) SOURCE_PRO_BRANCH_ID,
    (SELECT DESCRIPTION OF BR BRANCH_NETWORK_REGION_LINK WHERE BRANCH = DEST_BRANCH_ID) DEST_PRO_BRANCH_ID,
    (SELECT SESSIONNAME BILL_SESSION WHERE SESSION_ID = S_SESSION_ID) SOURCE_PRO_SESSION_ID,
    (SELECT SESSIONNAME BILL_SESSION WHERE SESSION_ID = D_SESSION_ID) DESTINATION_PRO_SESSION_ID,
    D_SECTION PRO_SETION,
    CREATION_DATE PRO_DATE,
    '2' AS NO.

    Of

    STUDENT_PROMOTION_HIST PR
    WHERE

    STUDENT_ROLL_NUMBER =: STUDENT_ROLL_NUMBER

    with a click on the link tool palette
    Click the field on the master, and then drag the field to the slave
    If you want more fields in the link, then repeat for each field of the previous operation

  • Join between PAY_GRADE_RULES_F and BEN_CWB_PERSON_RATES

    Hi Experts,
    I'm working on the module of work remuneration and creating custom ETL based on some sources eBS bench.
    Can anyone let me know the joins between the tables: PAY_GRADE_RULES_F and BEN_CWB_PERSON_RATES?

    Thank you
    Anamika

    Hi med.

    I would start here; http://ETRM.Oracle.com

    Good luck

    Daan Bakboord
    http://obibb.WordPress.com

  • Several foreign key joins between two tables

    Hello

    I have a question about the creation of a repository.

    I have a date and a fact dimension. The fact table has about 10 columns in foreign key to the date Dimension.

    In this case I should create 10 aliases to create joins in the physical layer and MDB or y at - it another way to handle this situation.

    I ask this question because 10 aliases can get very confusing for me at the later stage of time when creating reports.

    With the help of OBIEE 10.1.3

    If you want to see in the industry as
    End date, start date, date etc. nearby
    you need to create 10 aliases for this purpose in the physical layer, make them drag in MDB and model, and then drag to the area of topic

    Score pls correct/good

  • Moving between records.

    I used to be able to 'copy and move' or just 'move' photos between folders by drag-and - drop. Now it says 'apply' to the new location and leaves behind a copy. If I delete then, it deletes everywhere.  How can I move just a photo?

    Hello Helena

    "Cut" (from old location) then 'Paste' (at the new location) should do the trick...

    You can move several files in this way by using the control and shift keys.

    Best R

  • Join between tables header & detail based on the age and group

    To find the amount of the age and the group in the table of detail based on age & group_id in header?

    Example: Take the seq_id = 1 mind, it has age = 60 & group_id = 23 (23 months).

    In the detail table xx_detail, the age column represents the age of the person (0-65 represents the age 0-65 and so on).

    If the age is null, while the rank indicates the Group (0-12 represents the group between 0-12 months). If the age is not null, then the Group 1, group 2, group 3 that data amounts.

    So now I must get the amount as 240 (like my seq_id header = 1, age = 60, group_id = 23, as it is covered by group age & 13-59 0-65). So I need a SQL to find the exact amount in detail based on the header record. We must go to settings & group_id age and get an amount of detail tables. Can anyone provide input how to achieve this in the most simple.

    1. SQL > select * from v$ version
    2. 2.
    3. BANNER
    4. --------------------------------------------------------------------------------
    5. Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    6. PL/SQL Release 11.2.0.3.0 - Production
    7. CORE Production 11.2.0.3.0
    8. AMT for Linux: Version 11.2.0.3.0 - Production
    9. NLSRTL Version 11.2.0.3.0 - Production
    10. SQL > xx_header desc ;
    11. Name Null?    Type                                     
    12. ----------------------------------------- -------- ----------------------------
    13. SEQ_ID VARCHAR2 (6)
    14. AGE                                                NUMBER
    15. START_DATE                                         DATE
    16. GROUP_ID NUMBER
    17. SQL > select * from xx_header;
    18. SEQ_ID AGE START_DATE GROUP_ID
    19. ---------------- ------ ------------------        ---------------
    20. 1 60 1 JANUARY 12 23
    21. 2 89 1 JANUARY 12 23
    22. 3 95 1 JANUARY 12 23
    23. SQL > xx_detail desc ;
    24. Name Null                                      
    ?    Type
  • ----------------------------------------- -------- ----------------------------
  • SEQ_ID VARCHAR2 (10)
  • AGE                                                   VARCHAR2(10)
  • GROUP1 VARCHAR2 (10)
  • GROUP2 VARCHAR2 (10)
  • GROUP 3 VARCHAR2 (10)
  • SQL > select * from xx_detail;
  • SEQ_ID AGE GROUP1 GROUP2 GROUP3
  • ---------- ----------           ----------            ----------     ----------
  • 1                                0-12              13-59       60-126
  • 1           0-65               120                 240         300
  • 1 66 - 135 100 80 400
  • Hello

    Is this the same question you asked 3 days ago

    https://forums.Oracle.com/thread/2606197

    ?

    Whether it is or not, validate the information requested in this message, which is also in the FAQS of the Forum:

    https://forums.Oracle.com/message/9362002

    If it's the same question, do not post a new thread.  Mark it as "Answered" immediately and continue in the original thread.

  • Time-remapping several keyframes between the markers

    Hi all!

    First of all, I want to apologize for my basic English. I'll try to explain as clearly as possible.

    I have a complex animation layer which is precompose in another comp that I want to run this animation with markers. If the animation is composed of two keyframes is no problem. You can control the animation in several ways, including using the ease() valueAtTime() or linear() function. But when more than two keyframes are spread between the two markers is not an easy problem to solve. I tried to change a little bit Dan Ebberts' (by the way, thanks to him for all!) expression, but still does not work.

    n = 0;
    m = thisComp.marker;
    if (m.numKeys > 0){
      n = m.nearestKey(time).index;
      if (m.key(n).time > time) n--;
    }
    
    if (n==1){
    mStart = m.key(n).time
    mDelta = ((m.key(n+1).time - mStart)/numKeys)
     for(i = 1; i <= numKeys-1; i++){
      kVal1 = valueAtTime(key(i).time)
      kVal2 = valueAtTime(key(i+1).time)
      linear(time, mStart+(mDelta*i), mStart+(mDelta*(i+1)), kVal1, kVal2);
       }
     }else{0
    }
    

    Illustration image

    expFaill.jpg

    If anyone can find a desire to understand problem guide me in the right direction. Thanks in advance.

    I think you just need to remap the time, so it must be close:

    m = thisComp.marker;

    If (m.numKeys > 1 & Numkeys > 1) {}

    T1M = .time m.key (1);

    T2M = .time m.key (2);

    T1K = key (1) .time;

    T2K = key (Numkeys) .time;

    t = linear(time,t1m,t2m,t1k,t2k);

    valueAtTime (t)

    } else {}

    value

    }

    Dan

  • Use the data from a DataSet as a source for another (the join between the sets of data)

    Hello. I come with a problem, very simple, but which I think is not implemented in the beer Pub.

    In the DataModel, I create a DataSet, providing some data (for example, a string from a web service), and after this, I create another set of data that uses this string as a parameter for a database query. Is this possible? The only link I found between the sets of data is only this concatenation of the main data set.

    Is there a way that I can do? Thank you!

    * [url http://www.java-forums.org/blogs/advanced-java/collection/] Java collection *.

    In Publisher 10 g and sooner you can use a data model to the join and the structure of data from different sources SQL.

    In Publisher, 11g, you can join data sets for which Publisher can 'know' on the data fields. For example. In addition to SQL data sets, you can reach Excel, LDAP, MDX and answers. Web Services, like XML file are data sets that editor does not know the data fields, so unfortunately, no way to join them... I know.

    Also, true that LOVs can either be SQL or data fixed (i.e. the entered values).

    Allowing the Web Service as a source of LOV or a way to define data fields, it's something for us to consider for a future version.

    Mike

  • Need help with the update with several joins statement

    I have the following select statement, which takes 29 records:
    SELECT
    PAA. PROJECT,
    PAA. SEGMENT1,
    PEIA.expenditure_item_id,
    PEIA.expenditure_type,
    PEC.expenditure_comment
    OF PA.PA_PROJECTS_ALL APP.
    PEIA PA.pa_expenditure_items_all,
    PEC PA.pa_expenditure_comments
    where PPA.segment1 < '2008' and
    PPA.project_id = 52 and - just run for project # 20077119 for the test
    PEIA.expenditure_type = 'PAY' and
    PEIA.project_id = ppa.project_id and
    PEC. EXPENDITURE_ITEM_ID = PEIA. EXPENDITURE_ITEM_ID;

    I need to update the pec.expenditure_comments to a static field for 29 records. I guess I should start with the following, but don't know how to fill in the where:
    Update
    PEC PA.pa_expenditure_comments
    Set pec.expenditure_comment = ' REFERENCE HD #728'.
    where
    ???

    First time we have ever needed to update, so any help appreciated.

    Try using are:

    update pa.pa_expenditure_comments pec
    set    pec.expenditure_comment = 'REFERENCE HD#728'
    where exists ( select null
                   from   pa.pa_projects_all ppa
                   ,      pa.pa_expenditure_items_all peia
                   ,      pa.pa_expenditure_comments pec2
                   where  ppa.segment1 < ''    -- not sure what you posted here, so for next time:
                                               -- please put your examples between the code tags.
                   and    ppa.project_id = 52  -- just run for project # 20077119 for testing
                   and    peia.expenditure_type = 'PAYROLL'
                   and    peia.project_id = ppa.project_id
                   and    pec2.expenditure_item_id = peia.expenditure_item_id
                   and    pec2.expenditure_item_id = pec.expenditure_item_id
                 );
    
  • Why can't I get the First Citizens Bank account without waiting several minutes between screens?

    I have an account with First Citizens Bank. Online banking is a nightmare. It takes minutes between screens! My iPhone works in seconds. When I call the Bank they say they have the latest security technology and my Apple is probably not being updated, but they don't tell me what to update on my IMAC.  I've updated to Yosemite and I checked for the latest Adobe Reader. No update is pending from anywhere. Can someone tell me what to check? I have NO problem with any other website, but really need to be able to use it. Thank you!!

    Thank you for posting a report EtreCheck of your computer and we can look for obvious problems. Click on the link, then download and run the report. Then copy and paste the results in response to this message.

  • PowerConnect 5448 several VLANS between upstream and downstream server firewall

    I am struggling with what I thought, would be a simple task: route several subnets, each on one VLAN different, a firewall to a server.  In fact, I can't even pass the VLAN by default one still looking correct in the address tables and STP.

    Port 1 = firewall, VLAN 1 unidentified, 2 VLAN Tag, 1 PVID, tried the two trunk and general patterns

    17 = server NIC, VLAN 1 unidentified port, VLAN Tag, PVID 1 and 2 2, tried, tried both safe and general patterns

    VLAN 1 (firewall untagged) 10.84.195.0/24, 10.84.195.2 Interface IP and default gateway 10.84.195.1

    VLAN 2 (tag of firewall) 10.101.0.0/16, IP Interface 10.101.0.2 for 2 VLAN, firewall est.1

    The first thing I got was that something has not been properly marked by (Hyper-V, using SC VMM 2012 SP1) server or the firewall (Watchguard XTM 520).  Simple test: VPN Firewall, ping the switch to 10.101.0.2 with the tag, and works, remove the label and it doesn't.  Dynamic address table shows the two-way firewall.  Line 18 below appears right after the ping as planned on VLAN 2 with the same MAC address in VLAN 1.  In addition, I ping the switch 10.101.0.2 from the server and it works fine.  The table shows that VLAN 2 from the host (and 1 other VM), so it seems to me that everything is properly labeled.


     
    15 VLAN 1 00907f8f571b G1    
      16 VLAN 2 00155d1f1b07 G17    
      17 VLAN 2 001dd8b71c01 G17    
      18 VLAN 2 00907f8f571b G1    
     

    What I can't do, is ping through the switch to VLAN 2.  I can't ping my VPN server (10.101.20.1), and I can not ping to the gateway (10.101.0.1) from the server.  Note, it is not because of rules to firewall on each end.

    What Miss me?  I don't think I need a routing of layer 3 here, I don't have to go through VLAN, just have them several VLANS passes from one port to the other.

    Other things to note in case it is useful:

    -I have no connectivity not tag with everything else through the 10.84.195.xxx/24 switch.

    -If I delete the Tags VLAN port 2 1 trunk, I suddenly can ping the bridge VLAN 2 (10.101.0.1) from the server, although I suspect that it is because the same port is the default gateway for the switch.

    -For brevity, only 2 lines of the STP are listed below, but all ports are therefore based on the question of whether they are connected or not.

    G1 activated 128.1 Frw Desg P2P (STP) No. 4
    G2 activated 128.2 Dsbl Dsbl No. 100.

    -Latest firmware installed.

    -In addition, for people concerned about their security, I want to remove use VLAN by default in the future.

    Would it be possible for run you to stick your show output here in the forum.  In this way, we can take closer look at what you have configured.

    If you connect a desktop/laptop computer (with and intellectual property in the 10.101.0.0/16 range) in a port with the mode of access switchport VLAN 2 are you able to ping IP Interface 10.101.0.2 for 2 VLANS?  You could try to disconnect the firewall and the configurations for the port and work on getting through the switch with 2 terminals on a single VLAN.  Then, once this is confirmed as work connect the firewall back up with a trunk/general mode adding the VLAN necessary.

    You connect to the firewall on a layer 3 interface?  You need Layer 3 routing to reach the firewall correctly.

  • Several VLANS between 2 SG300-10

    Hi all

    I have 2 switches SG300-10, and I need two VLANs, one for the internal network and the other for WiFi AP.

    I need ports 1-> 4 on both switches in order to be part of VLAN 1 and 5-2 8 > VLAN. and a 10 to the 2nd switch uplink port.

    How to configure the VLAN and the interface mode VLAN?

    1-> 4 vlan 10 port, port 5-> 8 vlan 20 and vlan port 10 10, 20 and 1? (assuming I have have VLAN 10 and 20 and 1 by default)

    Ports 1-> 8 General mode and trunk of 10 port mode?

    Thank you!

    Hi Adrien, the first question is, what is your router?

    To answer your question. Single host connection ports can be configured as any mode of port, but coelio is preferential. Links of connection between switches can be trunk or general with vlan 1 UNTAG, vlan 10 tag, tag vlan 20.

    Cli command would look like this

    config t

    database of VLAN

    VLAN 10.20

    item in gi1-4 serial interface

    switchport mode access

    switchport access vlan 10

    IG5-8 serial interface

    switchport mode access

    switchport access vlan 20

    gi10 interface

    switchport mode trunk

    switchport trunk allowed vlan add all

    -Tom
    Please evaluate the useful messages

Maybe you are looking for

  • The installation disc could not be found

    I get the same message continuously when I am bootcamp Windows 7 on my iMac mid 2010. I have read through the other threads here and searched online and nothing that I don't seem to make any difference. I have a iso, tried to burn on an external driv

  • Satellite A100 troubled Rail Simulator game loading EA

    I have a problem loading Rail Simulator of EA on my Satellite A100. In my first attempt, I got the message of free space, so set on removing unused programs and pictures on a CD burning.Soon released about 6.5 GB.Tried again, as much as to enter the

  • Since the upgrade of Skype

    and I click on "sign in", all I get is a circle of white dots encircling autour and autour and arouns with signin showing, but nothing happens. Please can help me as only way to see my newborn grandson in S Africa Thank you

  • El Capitan 10.11.1 &amp; Office 2016

    After I installed the latest update of El Capitan and Office 2016 was last updated, my MAC is now affecting all applications not responding do not state as soon as I open any office 2016 package. It seems that everything 2 patches do not work in my c

  • "Primary DNS server" does not and remote Firewall can block connection

    Original title: Internet connectivity: Internet connectivity: My Diagnostics Windows Vista network indicates that Windows has confirmed that the "primary DNS server" is online, but does not respond to connection attempts.  He says that a remoet firew