<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Joining Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/276594#M499267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 8 tables to get the data.. the sql written for that is given below...i need to implement it on qlikview so that data fetched from various table get joined and loaded in the single table....Please help me out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT pd.prd_group,dl_ot_code OPERATION_CODE,dl_st_Station, dl_unit_id UNIT_ID, dl_id DEFECT_LOG_ID, de_id DEFECT_ID,&lt;/P&gt;&lt;P&gt;di_id PRIMARY_ID, dt_origin ORIGIN, dt_description DESCRIPTION,&amp;nbsp; it_type IT_TYPE, di_info PRIMARY_INFO, de_upd_user UPD_USER,&lt;/P&gt;&lt;P&gt;to_char(db_date_location_2_local_date(de_upd_date,1),'MON-DD-YYYY HH24.MI.SS') UPD_DATE, OT_TYPE OPERATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM defect_logs dl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN OPERATION_TYPES ON DL_OT_CODE = OT_CODE&lt;/P&gt;&lt;P&gt;INNER JOIN defects de ON dl_id = de_dl_id and de.delete_ods_dt is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN defect_info di ON di_de_id = de_id&amp;nbsp; and di.delete_ods_dt is null&lt;/P&gt;&lt;P&gt;LEFT JOIN info_types it ON di_it_code = it_code&amp;nbsp; and it.delete_ods_dt is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//TYPES&lt;/P&gt;&lt;P&gt;left JOIN defect_types dt ON de_dt_code = dt_code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//LINK TO PD&lt;/P&gt;&lt;P&gt;LEFT JOIN units u ON dl_unit_id = u.unit_id&lt;/P&gt;&lt;P&gt;LEFT JOIN product_designs pd ON NVL(u.start_prd_id,dl_prd_id) = pd.prd_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//LINK DEFECT LOGS&lt;/P&gt;&lt;P&gt;LEFT JOIN assembly_logs ON AS_DL_ID = DL_ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE (as_op_vernum = 1 OR as_op_vernum IS NULL)&lt;/P&gt;&lt;P&gt;and dl.delete_ods_dt is null&lt;/P&gt;&lt;P&gt;AND dl_client_id IN&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT client_id&lt;/P&gt;&lt;P&gt;FROM station_client&lt;/P&gt;&lt;P&gt;WHERE location_code = 1&lt;/P&gt;&lt;P&gt;AND stage_code = 1&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND (it_order = 1 OR it_order IS NULL /*IF NO INFO TYPES*/)&lt;/P&gt;&lt;P&gt;AND DI_IT_CODE NOT IN (5,328,394,395)&lt;/P&gt;&lt;P&gt;AND de_upd_date BETWEEN local_date_location_2_db_date(to_date('MAY-01-2011 00:00:00','MON-DD-YYYY HH24.MI.SS'),1)&lt;/P&gt;&lt;P&gt;AND local_date_location_2_db_date(to_date('JUL-05-2011 23:59:59','MON-DD-YYYY HH24.MI.SS'),1)&lt;/P&gt;&lt;P&gt;AND prd_group IN ('R040 (768)','R040 Slider')&lt;/P&gt;&lt;P&gt;AND dt_origin IN ('PROCESS','COMPONENT')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2011 09:51:54 GMT</pubDate>
    <dc:creator>sushil353</dc:creator>
    <dc:date>2011-07-13T09:51:54Z</dc:date>
    <item>
      <title>Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/276594#M499267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 8 tables to get the data.. the sql written for that is given below...i need to implement it on qlikview so that data fetched from various table get joined and loaded in the single table....Please help me out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT pd.prd_group,dl_ot_code OPERATION_CODE,dl_st_Station, dl_unit_id UNIT_ID, dl_id DEFECT_LOG_ID, de_id DEFECT_ID,&lt;/P&gt;&lt;P&gt;di_id PRIMARY_ID, dt_origin ORIGIN, dt_description DESCRIPTION,&amp;nbsp; it_type IT_TYPE, di_info PRIMARY_INFO, de_upd_user UPD_USER,&lt;/P&gt;&lt;P&gt;to_char(db_date_location_2_local_date(de_upd_date,1),'MON-DD-YYYY HH24.MI.SS') UPD_DATE, OT_TYPE OPERATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM defect_logs dl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN OPERATION_TYPES ON DL_OT_CODE = OT_CODE&lt;/P&gt;&lt;P&gt;INNER JOIN defects de ON dl_id = de_dl_id and de.delete_ods_dt is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN defect_info di ON di_de_id = de_id&amp;nbsp; and di.delete_ods_dt is null&lt;/P&gt;&lt;P&gt;LEFT JOIN info_types it ON di_it_code = it_code&amp;nbsp; and it.delete_ods_dt is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//TYPES&lt;/P&gt;&lt;P&gt;left JOIN defect_types dt ON de_dt_code = dt_code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//LINK TO PD&lt;/P&gt;&lt;P&gt;LEFT JOIN units u ON dl_unit_id = u.unit_id&lt;/P&gt;&lt;P&gt;LEFT JOIN product_designs pd ON NVL(u.start_prd_id,dl_prd_id) = pd.prd_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//LINK DEFECT LOGS&lt;/P&gt;&lt;P&gt;LEFT JOIN assembly_logs ON AS_DL_ID = DL_ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE (as_op_vernum = 1 OR as_op_vernum IS NULL)&lt;/P&gt;&lt;P&gt;and dl.delete_ods_dt is null&lt;/P&gt;&lt;P&gt;AND dl_client_id IN&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT client_id&lt;/P&gt;&lt;P&gt;FROM station_client&lt;/P&gt;&lt;P&gt;WHERE location_code = 1&lt;/P&gt;&lt;P&gt;AND stage_code = 1&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND (it_order = 1 OR it_order IS NULL /*IF NO INFO TYPES*/)&lt;/P&gt;&lt;P&gt;AND DI_IT_CODE NOT IN (5,328,394,395)&lt;/P&gt;&lt;P&gt;AND de_upd_date BETWEEN local_date_location_2_db_date(to_date('MAY-01-2011 00:00:00','MON-DD-YYYY HH24.MI.SS'),1)&lt;/P&gt;&lt;P&gt;AND local_date_location_2_db_date(to_date('JUL-05-2011 23:59:59','MON-DD-YYYY HH24.MI.SS'),1)&lt;/P&gt;&lt;P&gt;AND prd_group IN ('R040 (768)','R040 Slider')&lt;/P&gt;&lt;P&gt;AND dt_origin IN ('PROCESS','COMPONENT')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 09:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/276594#M499267</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2011-07-13T09:51:54Z</dc:date>
    </item>
    <item>
      <title>Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/276595#M499268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually you are using various tables and fields. Can you share some sample data with your tables... OR paste some sample data of your table in excel sheets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shumail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 05:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/276595#M499268</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2011-07-14T05:50:00Z</dc:date>
    </item>
  </channel>
</rss>

