<?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 to manipulate a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181698#M47618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oleg. I tried removing the store selection as shown, but then I am left with stock info summed across all stores. My expression now exludes nearly everything in the model:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;CalendarDate = , FinYear = , CalendarWeekDay = , CalendarDay = , CalendarMonth = , CalendarQuarter = , CalendarWeek = , FinMonth = , FinQtr = , FinTxtMonth = , TD_QTY = , TD_SUB_TYPE2 = , SIZE = ,&lt;BR /&gt; SZ = , SKU_TRANSACTIONS = &amp;gt;} PL_QTYONHAND)&lt;/P&gt;&lt;P&gt;The data model looks like this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/8306.export-store-size-issue.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/8306.export-store-size-issue.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample of the detail that I get when selecting a product only, but not any store (and what I want to get per store)&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7624.All-sizes.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/7624.All-sizes.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT as soon as I select a store, the result is reduced to this.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7711.Sizes-with-sales-only.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/7711.Sizes-with-sales-only.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is stock holding on the other sizes for this location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jun 2010 23:37:43 GMT</pubDate>
    <dc:creator>burgersurfer</dc:creator>
    <dc:date>2010-06-08T23:37:43Z</dc:date>
    <item>
      <title>Set analysis to manipulate a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181695#M47615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a set of products, and for each of them, a set of sizes. These products are held and sold across various stores, and I want to see what the sales, and current stock holding is for a subset of the products&lt;/P&gt;&lt;P&gt;So I have as dimensions, the product code and product size. When selecting a specific date or product, I correctly get all the stock and sales info summed over all the stores. But when I select a store to get their detail, I am left with only Stock holding and sales lines for items that was actually SOLD.&lt;/P&gt;&lt;P&gt;I want to see what the current stock holding is, irrespective of whether there were sales of the product or not. The stock holding expression already employs set analysis to calculate all units irrespective of date etc selection, but still, when drill into the detail of a store, I only get lines for the products that have sales against them.&lt;/P&gt;&lt;P&gt;Do I use a calculated dimension to fix this, and what is the syntax then?&lt;/P&gt;&lt;P&gt;oh, tried the 'Show all values' tick box, but this then gives me ALL sizes, even if the size is not associate with the product....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 20:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181695#M47615</guid>
      <dc:creator>burgersurfer</dc:creator>
      <dc:date>2010-06-08T20:58:27Z</dc:date>
    </item>
    <item>
      <title>Set analysis to manipulate a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181696#M47616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone with some ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 22:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181696#M47616</guid>
      <dc:creator>burgersurfer</dc:creator>
      <dc:date>2010-06-08T22:57:04Z</dc:date>
    </item>
    <item>
      <title>Set analysis to manipulate a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181697#M47617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A few ideas:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I think you can try a Set Analysis within your Inventory expression, to ignore the Store selection - something like {&amp;lt;Store=&amp;gt;}.&lt;/LI&gt;&lt;LI&gt;People might have more ideas if you posted a reduced sample of your problem&lt;/LI&gt;&lt;LI&gt;Generally speaking, problems of this kind need to be solved in the Data Model, but the actual solution might be a bit too complex to describe here...&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 23:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181697#M47617</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-06-08T23:16:38Z</dc:date>
    </item>
    <item>
      <title>Set analysis to manipulate a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181698#M47618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oleg. I tried removing the store selection as shown, but then I am left with stock info summed across all stores. My expression now exludes nearly everything in the model:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;CalendarDate = , FinYear = , CalendarWeekDay = , CalendarDay = , CalendarMonth = , CalendarQuarter = , CalendarWeek = , FinMonth = , FinQtr = , FinTxtMonth = , TD_QTY = , TD_SUB_TYPE2 = , SIZE = ,&lt;BR /&gt; SZ = , SKU_TRANSACTIONS = &amp;gt;} PL_QTYONHAND)&lt;/P&gt;&lt;P&gt;The data model looks like this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/8306.export-store-size-issue.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/8306.export-store-size-issue.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample of the detail that I get when selecting a product only, but not any store (and what I want to get per store)&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7624.All-sizes.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/7624.All-sizes.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT as soon as I select a store, the result is reduced to this.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7711.Sizes-with-sales-only.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/7711.Sizes-with-sales-only.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is stock holding on the other sizes for this location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 23:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181698#M47618</guid>
      <dc:creator>burgersurfer</dc:creator>
      <dc:date>2010-06-08T23:37:43Z</dc:date>
    </item>
    <item>
      <title>Set analysis to manipulate a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181699#M47619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I see... You data model needs a lot of help, - much more than can be offered in the format of this forum. I'd say that you need some help from an experienced QlikView consultant.&lt;/P&gt;&lt;P&gt;The specific problem is caused by the fact that you have a number of instances for the field "Store".The Store associated with On Hand Balances is different from the main "Store" which is associated with Transactions.&lt;/P&gt;&lt;P&gt;The link between the table called "Stores" and the table holding On Hand values, is going through the "Transactions" (I suppose Sales...). So, what's happening is - when you select Store (from the Store Table), the association line, running through the Transaction table, is forcing the association with only those Items that had transactions. To avoid that, you need to connect On Hand Values with Stores and all corresponding Dimensions directly, avoiding the link through Transactions.&lt;/P&gt;&lt;P&gt;In your database, you need to get as close as possible to the Star Schema. You can do it if you concatenate Transactions and Inventory Balances and link the rest of the data accordingly.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 00:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181699#M47619</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-06-09T00:12:35Z</dc:date>
    </item>
    <item>
      <title>Set analysis to manipulate a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181700#M47620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oleg, I will work on the concatenation option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 05:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-manipulate-a-dimension/m-p/181700#M47620</guid>
      <dc:creator>burgersurfer</dc:creator>
      <dc:date>2010-06-09T05:42:18Z</dc:date>
    </item>
  </channel>
</rss>

