<?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 Set analysis or another method to get accurate data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-or-another-method-to-get-accurate-data/m-p/174270#M43168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;After a lot of help from this forum, I now have a table with few synthetic keys. Through one of the combined keys, I now have a PRODUCTLEDGER table linked to the SALESTRANSACTIONDETAIL table, as shown in this data structure. But this seems to be wrong, because I have gaps in my data, that must be fixed through either a different key, or through set analysis.I am not sure that a ledger table should link to a detail table like this, but this is how I removed the loop.&lt;/P&gt;&lt;P&gt;When selecting an item in QV from my list of products, I correctly get the transactions for that product (this comes from SALESTRANSACTIONDETAIL). But, in that same selection,I only get the stock on-hand for the sizes where I had sales. I want to see all stock on-hand for the item, whether we had sales on it or not. I tried this with inaccurate results:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;TD_QTY = &amp;gt;} PL_QTYONHAND)&lt;/P&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1726_sourceID:1726" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jun 2010 19:13:29 GMT</pubDate>
    <dc:creator>burgersurfer</dc:creator>
    <dc:date>2010-06-02T19:13:29Z</dc:date>
    <item>
      <title>Set analysis or another method to get accurate data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-or-another-method-to-get-accurate-data/m-p/174270#M43168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;After a lot of help from this forum, I now have a table with few synthetic keys. Through one of the combined keys, I now have a PRODUCTLEDGER table linked to the SALESTRANSACTIONDETAIL table, as shown in this data structure. But this seems to be wrong, because I have gaps in my data, that must be fixed through either a different key, or through set analysis.I am not sure that a ledger table should link to a detail table like this, but this is how I removed the loop.&lt;/P&gt;&lt;P&gt;When selecting an item in QV from my list of products, I correctly get the transactions for that product (this comes from SALESTRANSACTIONDETAIL). But, in that same selection,I only get the stock on-hand for the sizes where I had sales. I want to see all stock on-hand for the item, whether we had sales on it or not. I tried this with inaccurate results:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;TD_QTY = &amp;gt;} PL_QTYONHAND)&lt;/P&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1726_sourceID:1726" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 19:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-or-another-method-to-get-accurate-data/m-p/174270#M43168</guid>
      <dc:creator>burgersurfer</dc:creator>
      <dc:date>2010-06-02T19:13:29Z</dc:date>
    </item>
    <item>
      <title>Set analysis or another method to get accurate data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-or-another-method-to-get-accurate-data/m-p/174271#M43169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;P&gt;Maybe the real question in this is what must the data structure look like, for a Sales&amp;gt;Sales Detail + order&amp;gt;OrderDetail + Purchase&amp;gt;Purchase Detail + Product + Ledger + Store set of tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 06:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-or-another-method-to-get-accurate-data/m-p/174271#M43169</guid>
      <dc:creator>burgersurfer</dc:creator>
      <dc:date>2010-06-03T06:28:56Z</dc:date>
    </item>
  </channel>
</rss>

