<?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 : sum total with criteria in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368441#M616438</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;Not sure but you can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(total&amp;lt;[SITE NAME],WORKSHOP&amp;gt;{&amp;lt;[TYPE OF PRODUCT]={'FINAL PRODUCT'}&amp;gt;}&amp;nbsp; [VOLUME])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2017 07:26:44 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2017-06-15T07:26:44Z</dc:date>
    <item>
      <title>set analysis : sum total with criteria</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368438#M616435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with the following informations : &lt;/P&gt;&lt;P&gt;- SITE NAME&lt;/P&gt;&lt;P&gt;- WORKSHOP&lt;/P&gt;&lt;P&gt;- TYPE OF PRODUCT&lt;/P&gt;&lt;P&gt;- VOLUME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The target shoud be to have on dimension : site name, workshop and type of product and to calculate : &lt;/P&gt;&lt;P&gt;- the volume =&amp;gt; ok it's easy : SUM(Volume)&lt;/P&gt;&lt;P&gt;- the ratio : volume of final product of the site (i.e : TYPE OF PRODUCT=FINAL PRODUCT, in my example : 56 130) / volume&lt;/P&gt;&lt;P&gt;=&amp;gt; I have used this formula to calculate the total volume of final product by site : &lt;/P&gt;&lt;P&gt;sum(total&amp;lt;[SITE NAME]&amp;gt;{&amp;lt;[TYPE OF PRODUCT]={'FINAL PRODUCT'},WORKSHOP=&amp;gt;}&amp;nbsp; [VOLUME])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and... it works !&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen 1.PNG" class="jive-image image-1" src="/legacyfs/online/166835_Screen 1.PNG" style="height: 166px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;but... if I do a filter on the WORKSHOP dimension, workshops with final product are always displayed&lt;/P&gt;&lt;P&gt;for example : with a filter on the workshop called 'MINE' only :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen 2.PNG" class="jive-image image-2" src="/legacyfs/online/166836_Screen 2.PNG" style="height: 138px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I change this formula to display only workshop that I've selected ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 10:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368438#M616435</guid>
      <dc:creator />
      <dc:date>2017-06-14T10:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis : sum total with criteria</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368439#M616436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 07:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368439#M616436</guid>
      <dc:creator />
      <dc:date>2017-06-15T07:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis : sum total with criteria</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368440#M616437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think so whether you require any changes over expressions. It filters default to selected one only. Would you able to provide sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 07:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368440#M616437</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-15T07:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis : sum total with criteria</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368441#M616438</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;Not sure but you can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(total&amp;lt;[SITE NAME],WORKSHOP&amp;gt;{&amp;lt;[TYPE OF PRODUCT]={'FINAL PRODUCT'}&amp;gt;}&amp;nbsp; [VOLUME])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 07:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368441#M616438</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-06-15T07:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis : sum total with criteria</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368442#M616439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Julien!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The First exp is sum(val)&lt;/P&gt;&lt;P&gt;The Second exp is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(total {&amp;lt;[TYPE OF PRODUCT]={'FINAL PRODUCT'}&amp;gt;}&amp;nbsp; [VOLUME])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The Third exp is column(2)/column(1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worked on my example. If it won't - please, share a sample of your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 08:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368442#M616439</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-06-15T08:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis : sum total with criteria</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368443#M616440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hehe tricky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(WORKSHOP=WORKSHOP,sum(total&amp;lt;[SITE NAME]&amp;gt;{&amp;lt;[TYPE OF PRODUCT]={'FINAL PRODUCT'},WORKSHOP&amp;gt;}&amp;nbsp; [VOLUME]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 12:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-sum-total-with-criteria/m-p/1368443#M616440</guid>
      <dc:creator>thomaslg_wq</dc:creator>
      <dc:date>2017-06-15T12:30:55Z</dc:date>
    </item>
  </channel>
</rss>

