<?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 and selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68988#M511765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart in my QlikView application in which I am using set analysis in expressions to calculate the values based on set analysis conditions. One of the expressions is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freight-out= sum({$&amp;lt;F1={"Freight-out"}&amp;gt;}Data)/sum({$&amp;lt;F1={"Net sales without tooling"}&amp;gt;}Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly there are 8 other expressions in the stacked bar chart as shown in the below screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field F1 here contains values, "Freight-out", "Freight-in", "Direct Labor", "Energy", "Act Scrap % of Revenue", "Costs of pers. overhead", "Other Overhead Costs", "Maintenance", "Depreciation" and "Net sales without tooling". User wants a stacked bar graph which displays Freight-out as &lt;STRONG&gt;Freight out value divided by Net sales without tooling value&lt;/STRONG&gt;, Freight-in as &lt;STRONG&gt;Freight-in value divided by Net sales without tooling value &lt;/STRONG&gt;and so on... To arrive at these calculations I have written the expression as shown above for Freight-out above. Similar expression applies for other F1 values as well. Now the problem is user wants to see only Freight-out data for all plants when he selects "Freight-out" in field F1. Similarly he would like to see only Freight-in data for all plants when he selects "Freight-in" in field F1 and so on...Since I have applied condition on field, F1 using set analysis, any selection made in this field isn't affecting the graph. Is it possible to do so in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197094_Chart.PNG" style="height: 156px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this?&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>Thu, 22 Mar 2018 05:34:35 GMT</pubDate>
    <dc:creator>apoorvasd</dc:creator>
    <dc:date>2018-03-22T05:34:35Z</dc:date>
    <item>
      <title>Set analysis and selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68988#M511765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart in my QlikView application in which I am using set analysis in expressions to calculate the values based on set analysis conditions. One of the expressions is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freight-out= sum({$&amp;lt;F1={"Freight-out"}&amp;gt;}Data)/sum({$&amp;lt;F1={"Net sales without tooling"}&amp;gt;}Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly there are 8 other expressions in the stacked bar chart as shown in the below screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field F1 here contains values, "Freight-out", "Freight-in", "Direct Labor", "Energy", "Act Scrap % of Revenue", "Costs of pers. overhead", "Other Overhead Costs", "Maintenance", "Depreciation" and "Net sales without tooling". User wants a stacked bar graph which displays Freight-out as &lt;STRONG&gt;Freight out value divided by Net sales without tooling value&lt;/STRONG&gt;, Freight-in as &lt;STRONG&gt;Freight-in value divided by Net sales without tooling value &lt;/STRONG&gt;and so on... To arrive at these calculations I have written the expression as shown above for Freight-out above. Similar expression applies for other F1 values as well. Now the problem is user wants to see only Freight-out data for all plants when he selects "Freight-out" in field F1. Similarly he would like to see only Freight-in data for all plants when he selects "Freight-in" in field F1 and so on...Since I have applied condition on field, F1 using set analysis, any selection made in this field isn't affecting the graph. Is it possible to do so in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197094_Chart.PNG" style="height: 156px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this?&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>Thu, 22 Mar 2018 05:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68988#M511765</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-03-22T05:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis and selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68989#M511766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understood right. &lt;A href="https://community.qlik.com/qlik-blogpost/4663"&gt;Implicit Set Operators&lt;/A&gt; (perhaps '*') might be what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 05:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68989#M511766</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-03-22T05:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis and selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68990#M511767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. I will go through it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I want, in case the above explanation was not so clear!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select value, "Freight-out" in field F1, the graph should display only Freight-out data for all plants. Similarly, if I select, "Freight-in", graph should display only Freight-in data for all plants and so on. Something like below!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197102_Chart2.PNG" style="height: 151px; width: 620px;" /&gt;&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>Thu, 22 Mar 2018 06:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68990#M511767</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-03-22T06:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis and selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68991#M511768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you also attach your sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 06:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68991#M511768</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-03-22T06:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis and selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68992#M511769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA the application! This application contains data only for two plants.&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>Thu, 22 Mar 2018 07:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68992#M511769</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-03-22T07:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis and selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68993#M511770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess, you need to use conditional enablement of the expression, and use expression like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=MinString(F1='Freight-out')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have shown for first two expressions in sample app, rest you can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 07:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68993#M511770</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-03-22T07:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis and selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68994#M511771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great! That works as expected. Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 08:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-selection/m-p/68994#M511771</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-03-22T08:14:49Z</dc:date>
    </item>
  </channel>
</rss>

