<?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: Excluding filters in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28734#M4772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, this is a known issue.. because the delimiter for paramterized variable is comma, the comma you are using in your set analysis is seens as different arguments for the variable. I have seen &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌ provide a solution for this, may be he can provide it yet again here as I don't really remember what he has suggested in the past&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2018 13:22:28 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-31T13:22:28Z</dc:date>
    <item>
      <title>Excluding filters in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28730#M4768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to exclude multiple filters while calculating the below value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;This doesnt work&lt;/SPAN&gt; -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vExp_BARWERT=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;((sum($(vField_Barwert_Angebote))*Avg(Quote/100))*(Sum($(vField_Bedarf))/Sum(total &lt;STRONG&gt;{&amp;lt;[Werk Bezeichnung]=,Commodity =,Werk=,[Anfragende Marke]=&amp;gt;}&lt;/STRONG&gt;$(vField_Bedarf))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;This Works-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vExp_BARWERT=&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;((sum($(vField_Barwert_Angebote))*Avg(Quote/100))*(Sum($(vField_Bedarf))/Sum(total &lt;STRONG&gt;{&amp;lt;[Werk Bezeichnung]=&amp;gt;}&lt;/STRONG&gt;$(vField_Bedarf))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i exclude multiple filters in the set analysis? i am using $(&lt;STRONG&gt;vExp_BARWERT) &lt;/STRONG&gt;in the chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 12:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28730#M4768</guid>
      <dc:creator>supriyabiware</dc:creator>
      <dc:date>2018-01-31T12:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding filters in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28731#M4769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If second one works, I believe first one may work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 12:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28731#M4769</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-31T12:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding filters in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28732#M4770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say it doesn't work, what exactly do you mean? You get error? Unexpected result? or what is wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 13:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28732#M4770</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-31T13:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding filters in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28733#M4771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am trying to calculate yearly Barwert from normal one and Scale it- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vExp_Barwert_Yearly=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(sum($(vField_Barwert_Angebote))*Avg(Quote/100))*(Sum($(vField_Bedarf))/Sum(total {&amp;lt;[Werk Bezeichnung]=,Commodity =,Werk=,[Anfragende Marke]=&amp;gt;}$(vField_Bedarf)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result -&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" height="107" src="https://community.qlik.com/legacyfs/online/192018_pastedImage_0.png" style="width: 116.481px; height: 107px;" width="116" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vExpBarwert_Yearly_Total=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(sum(total &amp;lt;Werk,[Werk Bezeichnung],[Anfragende Marke],Commodity&amp;gt; $(vField_Barwert_Angebote))*Avg(Quote/100))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" height="117" src="https://community.qlik.com/legacyfs/online/192019_pastedImage_7.png" style="width: 121px; height: 117.355px;" width="121" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scalenumber =&lt;/P&gt;&lt;P&gt;if(alt($2,$1)&amp;gt;=1000000000, num($1/1000000000, '#.##0,00'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(alt($2,$1)&amp;gt;=1000000, num($1/1000000, '#.##0,00'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(alt($2,$1)&amp;gt;=1000, num($1/1000, '#.##0,00'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num($1, '#.##0,00'))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Final&lt;/STRONG&gt; =$(vScaleNumber($(vExp_Barwert_Yearly), $(vExp_Barwert_Yearly_Total)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" height="97" src="https://community.qlik.com/legacyfs/online/192023_pastedImage_9.png" style="width: 120.741px; height: 97px;" width="121" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i remove the multiple filter exclusion and make below equation as -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vExp_Barwert_Yearly=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(sum($(vField_Barwert_Angebote))*Avg(Quote/100))*(Sum($(vField_Bedarf))/Sum(total {&amp;lt;&lt;STRONG&gt;[Werk Bezeichnung]=&amp;gt;}&lt;/STRONG&gt;$(vField_Bedarf)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-4" height="112" src="https://community.qlik.com/legacyfs/online/192024_pastedImage_10.png" style="width: 122px; height: 111.898px;" width="122" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something is going wrong with vExp_Barwert_Yearly calculation - is there any other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 13:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28733#M4771</guid>
      <dc:creator>supriyabiware</dc:creator>
      <dc:date>2018-01-31T13:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding filters in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28734#M4772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, this is a known issue.. because the delimiter for paramterized variable is comma, the comma you are using in your set analysis is seens as different arguments for the variable. I have seen &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌ provide a solution for this, may be he can provide it yet again here as I don't really remember what he has suggested in the past&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 13:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28734#M4772</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-31T13:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding filters in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28735#M4773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny is right and the commas within the total-variable will be treated as parameter-delimiter. I think if you replaced the commas there maybe with '|' and then reversing it again by calling the $2 within the variable Scalenumber it could be bypassed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereby the approach of such bypassing is quite ugly and error-prone and I wouldn't really suggest them else I would try to avoid these comma-issue completely. One way could be just not using such complex constructs in variables because the aim of the variables is to simplify the developer-life and not the opposite and therefore it could be the easier way just to use normal expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereby if I think again a doubled $-sign expansion might be also working in this case. This meant the following call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(vScaleNumber($(vExp_Barwert_Yearly), &lt;STRONG&gt;$(=&lt;/STRONG&gt;$(vExp_Barwert_Yearly_Total)&lt;STRONG&gt;)&lt;/STRONG&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 14:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-filters-in-Set-Analysis/m-p/28735#M4773</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-31T14:45:34Z</dc:date>
    </item>
  </channel>
</rss>

