<?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 Re: QLIK DATA MODELING HELP in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QLIK-DATA-MODELING-HELP/m-p/1542058#M439514</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Why don't you link INDENT &amp;amp; PO using PO Number?&lt;/P&gt;&lt;P&gt;do you have sample data and what's KPIs that you want to show?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2019 03:28:45 GMT</pubDate>
    <dc:creator>marcohadiyanto</dc:creator>
    <dc:date>2019-02-11T03:28:45Z</dc:date>
    <item>
      <title>QLIK DATA MODELING HELP</title>
      <link>https://community.qlik.com/t5/QlikView/QLIK-DATA-MODELING-HELP/m-p/1541892#M439498</link>
      <description>&lt;P&gt;HI ALL,&lt;/P&gt;&lt;P&gt;I have 2 tables. INDENT AND PO. I have to show kpis on both Indent Date and PO date, So I created a link table based on the unique keys of both table. Indent table can have multile 0 as Po number as for these Indent , no PO has been issued.Indent table has unique INDENTID. PO table has those PO which has been issued. PO can be issued also without any indent. The load script is as follows&lt;/P&gt;&lt;P&gt;INDENT:&lt;BR /&gt;LOAD INDENTID,&lt;BR /&gt;PO,&lt;BR /&gt;PO&amp;amp;'|'&amp;amp;'CHECK' AS KEY,&lt;BR /&gt;INDENT_DATE&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\v-ujjwal.raja\Desktop\INDENT DM TESTING.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is INDENT);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PO:&lt;BR /&gt;LOAD PO,&lt;BR /&gt;PO&amp;amp;'|'&amp;amp;'CHECK' AS KEY,&lt;BR /&gt;PO_DATE,&lt;BR /&gt;PO_AMT&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\v-ujjwal.raja\Desktop\INDENT DM TESTING.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is PO);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LINK_TABLE:&lt;BR /&gt;lOAD&lt;BR /&gt;PO,&lt;BR /&gt;KEY,&lt;BR /&gt;PO_DATE AS DATE_LINK,&lt;BR /&gt;'PO' AS DATATYPE&lt;BR /&gt;Resident PO;&lt;/P&gt;&lt;P&gt;Concatenate(LINK_TABLE)&lt;BR /&gt;LOAD&lt;BR /&gt;INDENTID,&lt;BR /&gt;PO,&lt;BR /&gt;KEY,&lt;BR /&gt;INDENT_DATE AS DATE_LINK,&lt;BR /&gt;'INDENT' AS DATATYPE&lt;BR /&gt;Resident INDENT;&lt;/P&gt;&lt;P&gt;DROP Field PO FROM PO;&lt;BR /&gt;DROP Field PO,KEY FROM INDENT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I create a Straight table to calculate sum(PO_AMT) with Indent table, I get 2 rows as follows&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2 rows" style="width: 393px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5609iBB36A7F85D496594/image-size/large?v=v2&amp;amp;px=999" role="button" title="2 rows.PNG" alt="2 rows" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;2 rows&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I create a link Table with PO as key I get 1 row, I get single row. (I tested this but this won't fulfill my requirement.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I need to make a composite key to include line item details. Please help me with what should be the right approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;The data model is as follows&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DATA_MODEL_INDENT_PO.PNG" style="width: 648px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5610iB2EFBF0CCC1FF8F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="DATA_MODEL_INDENT_PO.PNG" alt="DATA_MODEL_INDENT_PO.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 08:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QLIK-DATA-MODELING-HELP/m-p/1541892#M439498</guid>
      <dc:creator>ujjwalraja</dc:creator>
      <dc:date>2019-02-09T08:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK DATA MODELING HELP</title>
      <link>https://community.qlik.com/t5/QlikView/QLIK-DATA-MODELING-HELP/m-p/1542058#M439514</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Why don't you link INDENT &amp;amp; PO using PO Number?&lt;/P&gt;&lt;P&gt;do you have sample data and what's KPIs that you want to show?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 03:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QLIK-DATA-MODELING-HELP/m-p/1542058#M439514</guid>
      <dc:creator>marcohadiyanto</dc:creator>
      <dc:date>2019-02-11T03:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK DATA MODELING HELP</title>
      <link>https://community.qlik.com/t5/QlikView/QLIK-DATA-MODELING-HELP/m-p/1542295#M439530</link>
      <description>&lt;P&gt;I think your link-table construct isn't correct because you used different keys - KEY and IDENTID - to associate the tables. Personally I try to avoid link-tables whenever possible and I assume I would rather not use it in this case else I would try to concatenate the tables.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 12:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QLIK-DATA-MODELING-HELP/m-p/1542295#M439530</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-02-11T12:32:13Z</dc:date>
    </item>
  </channel>
</rss>

