<?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: Need help with pivot table / set analysis in dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437301#M566335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes this solution have too cost to implement, but if you don´t have performance problems I think it´s an efficient solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2012 12:08:11 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-12-27T12:08:11Z</dc:date>
    <item>
      <title>Need help with pivot table / set analysis in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437297#M566331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having some problem with displaying data in 1 table. I think pivot table is the best option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have as a result a table with products, stock and orders not yet delivered. Selection will be made on warehouse and product(s).&lt;/P&gt;&lt;P&gt;Problem 1: I want to see also the products that do not have any stock or orders and I want to see 1 line for each order (with order ref, and so on).&lt;/P&gt;&lt;P&gt;Problem 2: Stock lies in warehouses (with names of only 2 characters) and orders are placed in same warehouses (but with full name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have solved problem 2 by adding a variable (vWarehouse) that states if warehouse (2 characters) "WH" is selected, variable gets value "WareHouse". Then this Variable is used in set analysis to display only values for this WareHouse.&lt;/P&gt;&lt;P&gt;Like for balance quantity to be deliverd on the order I use :&lt;/P&gt;&lt;P&gt;sum({$&amp;lt; WareHouse={'$(vWarehouse)'}, Status={NotDelivered}&amp;gt;} BALANCEQTY)&lt;/P&gt;&lt;P&gt;So far this works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem 1 however I can not get passed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display all products (regardless stock or order balance qty) and if there are orders with balance, all orders with balance. But only one "cell" (or row) for each article.&lt;/P&gt;&lt;P&gt;Please see added file for what I mean.&lt;/P&gt;&lt;P&gt;I can get to same layout but then products with stock 0 are not displayed. Or same but can only get 1 order to appear per product. Or 1 row for each order. So I am kind of stuck here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody got idea how to solve this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 09:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437297#M566331</guid>
      <dc:creator>davymichiels</dc:creator>
      <dc:date>2012-12-14T09:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with pivot table / set analysis in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437298#M566332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good explanation but please try to load a small sample ...since it is very easy...and second less time consuming....&lt;/P&gt;&lt;P&gt;You can use set analysis.for thiss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 09:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437298#M566332</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2012-12-14T09:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with pivot table / set analysis in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437299#M566333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to create a complete structure in your script with all your products, stock and orders and give values ( usually 0 ) to orders or stock that doesn´t exist so you will always have values for all your products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps, regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2012 18:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437299#M566333</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-12-26T18:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with pivot table / set analysis in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437300#M566334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info&lt;/P&gt;&lt;P&gt;I kind of did same thing last week, not in script but with "if" statement in dimension (to replace all empty values by a value) and with expression (something like "value+1") so empty values return "1" (afterwards hid this column). So there are no more empty values in dimension, and no more empty values in expression.&lt;/P&gt;&lt;P&gt;Only annoying thing is now 1 line with all minus-signs ("-") for every article (even those who do have orders) but result is acceptable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 09:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437300#M566334</guid>
      <dc:creator>davymichiels</dc:creator>
      <dc:date>2012-12-27T09:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with pivot table / set analysis in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437301#M566335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes this solution have too cost to implement, but if you don´t have performance problems I think it´s an efficient solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 12:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pivot-table-set-analysis-in-dimension/m-p/437301#M566335</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-12-27T12:08:11Z</dc:date>
    </item>
  </channel>
</rss>

