<?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 Linking tables question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034702#M348923</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 a question because now i'm blocked. I have a document that analyze the sales from my company. This analysis is made itemid by itemid and with a calendar...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have a Stock evolution with a daily&amp;nbsp; snapshot itemid by itemid. &lt;/P&gt;&lt;P&gt;I want to see the sales analysis and see wich was the stock situation by this date, and I don't know how to put the stock data in the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the structure attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank's guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Mar 2016 09:07:20 GMT</pubDate>
    <dc:creator>ecabanas</dc:creator>
    <dc:date>2016-03-21T09:07:20Z</dc:date>
    <item>
      <title>Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034702#M348923</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 a question because now i'm blocked. I have a document that analyze the sales from my company. This analysis is made itemid by itemid and with a calendar...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have a Stock evolution with a daily&amp;nbsp; snapshot itemid by itemid. &lt;/P&gt;&lt;P&gt;I want to see the sales analysis and see wich was the stock situation by this date, and I don't know how to put the stock data in the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the structure attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank's guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 09:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034702#M348923</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2016-03-21T09:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034703#M348924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could link the saleLine table with the Stock table &lt;STRONG&gt;using the itemId &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 09:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034703#M348924</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-21T09:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034704#M348925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, it is not possible, because imagine that one day there is stock for an Item but no sales, the stock value will not appears :-s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank's &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 09:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034704#M348925</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2016-03-21T09:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034705#M348926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you need to identify the most appropriate key according to your requirement , which your table I would prefer using the &lt;STRONG&gt;Data field i.e may be the created date field...so your complete model would be based on the date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check your requirement&amp;nbsp;&amp;nbsp;&amp;nbsp; choose the field &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 09:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034705#M348926</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-21T09:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034706#M348927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try some thing like this...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Temp_Data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load SalesBoid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; created_Field as Date_Item&lt;/P&gt;&lt;P&gt;resident SalesTable&lt;/P&gt;&lt;P&gt;inner join&lt;/P&gt;&lt;P&gt;Load SalesBoid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemID &lt;/P&gt;&lt;P&gt;resident SalesLine;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avoid the circular loops with the SalesLineTable.&lt;/P&gt;&lt;P&gt;Now the link would between Stock Table, Sales Table thru Temp_Data Table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 10:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034706#M348927</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-03-21T10:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034707#M348928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand why to do an inner join with salesline....how I link Stock with it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry about this may be stupid answer &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 10:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034707#M348928</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2016-03-21T10:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034708#M348929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached excel sheet for the expected/proposed data model..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some time the proposed solutions would not work or not clear to others. &lt;SPAN style="font-size: 13.3333px;"&gt;Here every one is help to others.. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So put it in mind before posting a comment...&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/angry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 10:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034708#M348929</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-03-21T10:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034709#M348930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if I did no explain correctly, I said stupid answer, but MY answer, never your, please sorry if you understand in the wrong way, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 10:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034709#M348930</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2016-03-21T10:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034710#M348931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;inner is to limit the data with intersection between the 2 tables i.e. if you use inner join it will consider only the common key between two tables and will ignore the rest ...&lt;/P&gt;&lt;P&gt;in your case i don't think inner join is required &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 10:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034710#M348931</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-21T10:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034711#M348932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know... but, suggested you to use proper words in posts...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 11:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034711#M348932</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-03-21T11:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034712#M348933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u post sample data/App, so that it would be easy to suggest a solution...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 11:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034712#M348933</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-03-21T11:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034713#M348934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you are right, the query did not work as you mentioned&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 12:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034713#M348934</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2016-03-21T12:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034714#M348935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can give one try by creating composite key of itemId and Date in both Salesline and Stock, give same name in both tables so they will be link, remove ItemId from stock or rename it to different name to avoid synthetic key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then left join(salesline) with stock table, so you will have all the records of stock which are present in Salesline.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 12:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034714#M348935</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-21T12:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034715#M348936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need have the date formats in the same format ...could you please share the script how your linking the tables ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can set the date format using the date() function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like Date(date_field,'DD-MM-YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 12:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034715#M348936</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-21T12:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034716#M348937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Digvijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are right, but I want to see all my stock available, the units and if it has been or not sales, your proposal is very nice but erase all the stock units not sold...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WOW it's a very complicated problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thank's for&amp;nbsp; your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 12:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034716#M348937</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2016-03-21T12:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034717#M348938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then don't join and just create the link as I suggested, see if it serves the purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 12:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034717#M348938</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-21T12:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables question</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034718#M348939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, have a look at this document: &lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;. Maybe you should try to generat all dates in month so you get the same value on each row in Your Stock table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 13:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-question/m-p/1034718#M348939</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-03-21T13:05:55Z</dc:date>
    </item>
  </channel>
</rss>

