<?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 Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257362#M499061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You can use an expression to write this sequence of fields for you.&lt;/P&gt;&lt;P&gt;You can create a variable vText with the following expression:&lt;/P&gt;&lt;P&gt;=Concat( {&amp;lt;$Field-={'Field1','Field2'}&amp;gt;} '['&amp;amp; $Field &amp;amp; ']= ',',' ) //dont forget the =&lt;/P&gt;&lt;P&gt;This expression will not include Field1 and Field2 in the string. &lt;/P&gt;&lt;P&gt;Then, on set analysis, it will be:&lt;/P&gt;&lt;P&gt;sum {&amp;lt;$(vText)&amp;gt;} value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2011 18:58:44 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2011-07-06T18:58:44Z</dc:date>
    <item>
      <title>Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257358#M499057</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;i have an issue that i dont really know how to solve with set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to calculate an expression like sum(value) not affected by any selection, (so i would normally use a {1} in the expression)&amp;nbsp;&amp;nbsp; except for Field1 and Field2,which selections should affect the expression. how could i do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 15:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257358#M499057</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2011-07-05T15:34:17Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257359#M499058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You will need to include all your fields (expect the ones you want to consider) in set analysis, like this: &lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Field3 = , Field4 = , Field5 = &amp;gt;}value) // This will ignore selections in fields Field3, Field4 and Field5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257359#M499058</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-07-06T13:08:32Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257360#M499059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Erich, this is how i would normally fix the problem, but since i would have to add hundres of fields like this, i was wondering if there was a faster way to get the same result, something like {1-&amp;lt;Field1, Field2&amp;gt;} even if this expression doesnt work well...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257360#M499059</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2011-07-06T13:28:16Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257361#M499060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case, I would recommend that you develop a script to create the expression.&amp;nbsp; Then, paste the expression into QlikView.&amp;nbsp; Something quick in Python, AutoHotkey, Ruby, or your favorite programming language should do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257361#M499060</guid>
      <dc:creator />
      <dc:date>2011-07-06T13:41:33Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257362#M499061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You can use an expression to write this sequence of fields for you.&lt;/P&gt;&lt;P&gt;You can create a variable vText with the following expression:&lt;/P&gt;&lt;P&gt;=Concat( {&amp;lt;$Field-={'Field1','Field2'}&amp;gt;} '['&amp;amp; $Field &amp;amp; ']= ',',' ) //dont forget the =&lt;/P&gt;&lt;P&gt;This expression will not include Field1 and Field2 in the string. &lt;/P&gt;&lt;P&gt;Then, on set analysis, it will be:&lt;/P&gt;&lt;P&gt;sum {&amp;lt;$(vText)&amp;gt;} value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 18:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257362#M499061</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-07-06T18:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257363#M499062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Hi Mate,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Erich solution works and I had just improved it to make it generic.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: trebuchet ms, geneva;"&gt;=COUNT({$&amp;lt;[$(=Concat({1&amp;lt;$Field-=&lt;SPAN style="color: #ff0000;"&gt;{'Gender'}&lt;/SPAN&gt;&amp;gt;}distinct $Field,'],[')&amp;amp;']=')&amp;gt;} Resp_ID)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: trebuchet ms, geneva;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: trebuchet ms, geneva;"&gt;In the above example except &lt;SPAN style="color: #ff0000;"&gt;{'Gender'} &lt;SPAN style="color: #000000;"&gt;all the other fields won't allow selections. You can seperate with comma to include more field names.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style=": ; color: #000000; font-family: trebuchet ms, geneva;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style=": ; color: #000000; font-family: trebuchet ms, geneva;"&gt;I hope this helps!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style=": ; color: #000000; font-family: trebuchet ms, geneva;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style=": ; color: #000000; font-family: trebuchet ms, geneva;"&gt;Cheers - DV&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: trebuchet ms, geneva;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: trebuchet ms, geneva;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;﻿&lt;/EM&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 20:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/257363#M499062</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-07-06T20:35:19Z</dc:date>
    </item>
  </channel>
</rss>

