<?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: Set Analysis Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568559#M211971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;srchilukoori,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; Maybe I'm not explaining the problem correctly.&amp;nbsp; If you open the sample application and select ProductID MFLIDPNL17X1012GAHRF&amp;amp;F you will see that there are 3 components to that Product.&amp;nbsp; What I need is the Usage for that Product as well as the Usage for the 3 components.&amp;nbsp; In the Pivot table in the sample app, the Usage displayed is only for the Parent Product ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample size I provided was very small, so it would be easy to figure out, but when you have well over a million products it becomes more challenging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2014 18:52:32 GMT</pubDate>
    <dc:creator>mphekin12</dc:creator>
    <dc:date>2014-03-12T18:52:32Z</dc:date>
    <item>
      <title>Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568553#M211965</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 have a question regarding set analysis.&amp;nbsp; I have a Products, a Work Order and a Component table.&amp;nbsp; The Products table contains information for all of our products.&amp;nbsp; The Work Order table contains sales stats.&amp;nbsp; Sometimes we build products by combining several products together.&amp;nbsp; The information of which products make up our built products are contained in the Components table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ProductID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ProductDescription&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Work Order&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderQty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Component&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ComponentID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a chart that will show me the Order Qty for a given Product as well as the components of the Product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a screenshot of what the chart should look like.&amp;nbsp; I'm thinking that the Set Analysis logic would be something like&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;ProductID={ComponentID}&amp;gt;} OrderQty) for all of the components, but I can't get the formual to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 17:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568553#M211965</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2014-03-12T17:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568554#M211966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide some sample data!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 18:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568554#M211966</guid>
      <dc:creator />
      <dc:date>2014-03-12T18:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568555#M211967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Not sure why you need set analysis here. Just sum(Order Qty) should work. Is there any reason why you want to use Set analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 18:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568555#M211967</guid>
      <dc:creator />
      <dc:date>2014-03-12T18:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568556#M211968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I use sum(Order Qty) it only gives me the sum of the Order Qty for the Parent Product ID.&amp;nbsp; I need this sum, as well as the sum for all of the components.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 18:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568556#M211968</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2014-03-12T18:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568557#M211969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a small sample.&amp;nbsp; I hope this explains my situation a little better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 18:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568557#M211969</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2014-03-12T18:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568558#M211970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The order Qty data is associated with the Product ID in the Test.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use Sum(OrderQty) you are in fact aggregating the data at the Product ID level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 18:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568558#M211970</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2014-03-12T18:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568559#M211971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;srchilukoori,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; Maybe I'm not explaining the problem correctly.&amp;nbsp; If you open the sample application and select ProductID MFLIDPNL17X1012GAHRF&amp;amp;F you will see that there are 3 components to that Product.&amp;nbsp; What I need is the Usage for that Product as well as the Usage for the 3 components.&amp;nbsp; In the Pivot table in the sample app, the Usage displayed is only for the Parent Product ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample size I provided was very small, so it would be easy to figure out, but when you have well over a million products it becomes more challenging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 18:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568559#M211971</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2014-03-12T18:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568560#M211972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Total &amp;lt;ProductID&amp;gt; OrderQty)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 19:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568560#M211972</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2014-03-12T19:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568561#M211973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;srchilukoori,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That formula doesn't work.&amp;nbsp; I opened up the Test.qvw and it looks like you changed the data model, which isn't going to work in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all of your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 19:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568561#M211973</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2014-03-12T19:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568562#M211974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your sample data, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Products:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD ProductID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Product Description]&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; Book1.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is Product);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WorkOrder:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD ProductID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderQty,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ========&amp;gt; It doesn't link Component ID with Order Qty (Results in cartesian product)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; Book1.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is WO);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Components:&lt;/P&gt;&lt;P&gt;LOAD ProductID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ComponentID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Book1.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Component);&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;The model I used links&amp;nbsp; Order Qty with Product ID and Component ID, which is necessary to show the data at the product ID and Component ID levels.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 19:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568562#M211974</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2014-03-12T19:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568563#M211975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However, the expression should still work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 19:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568563#M211975</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2014-03-12T19:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568564#M211976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you rephrase : &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Usage for that Product as well as the Usage for the 3 components&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Test.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54863_Test.png" /&gt;&lt;/P&gt;&lt;P&gt;When i added Product ID to that table i got the above result.&lt;/P&gt;&lt;P&gt;Which means per your data model this product has three different components but just one OrderQty. &lt;/P&gt;&lt;P&gt;Can you post an example of how you want the data to look like(in the resultant table)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 19:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568564#M211976</guid>
      <dc:creator />
      <dc:date>2014-03-12T19:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568565#M211977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you try with aggr(Sum(Qty), Dim1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JFlorian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 19:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568565#M211977</guid>
      <dc:creator>javier_florian</dc:creator>
      <dc:date>2014-03-12T19:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568566#M211978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached another sample application.&amp;nbsp; If you look on the left hand side, it will show you what results I would like to see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table you posted shows the Usage for just the Product ID.&amp;nbsp; That product has three components.&amp;nbsp; Each of these components are in the Products and have records in the Work Orders table.&amp;nbsp; I need to see the Usage for these components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, look at the attached application and see if it makes sense now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 19:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568566#M211978</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2014-03-12T19:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568567#M211979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I fully understand. Attached with answer. Check the back-end, made a small change.&lt;/P&gt;&lt;P&gt;Let me know if you run into any issues.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 20:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568567#M211979</guid>
      <dc:creator />
      <dc:date>2014-03-12T20:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568568#M211980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help!&amp;nbsp; Unfortunately I cannot change the data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 20:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568568#M211980</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2014-03-12T20:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568569#M211981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to thank everyone for their help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some digging around the message board and the QlikView for Developers Cookbook I was able to come up with a solution using Set Analysis.&amp;nbsp; I am posting the final application for anyone interested in learning how I solved this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 20:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/568569#M211981</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2014-03-12T20:26:20Z</dc:date>
    </item>
  </channel>
</rss>

