<?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: Help with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579699#M1118260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This does not need set analysis.&lt;/P&gt;&lt;P&gt;In your data load rather than setting the flag field to 1 or 0, set the flag to 1 or null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(value = x,1) as flag&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // the expression does not have an else value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can add your flag field as a dimension and set the "Suppress When Value Is Null" option on the Dimension sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 17:44:58 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2014-01-28T17:44:58Z</dc:date>
    <item>
      <title>Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579698#M1118259</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;In my initial load, I have evaluated a condition and set a flag for each record (0 or 1).&amp;nbsp; Now I want to create a straight table from these results only showing records where the flag above is "1".&amp;nbsp; Sounds easy but I can't get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 17:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579698#M1118259</guid>
      <dc:creator />
      <dc:date>2014-01-28T17:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579699#M1118260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This does not need set analysis.&lt;/P&gt;&lt;P&gt;In your data load rather than setting the flag field to 1 or 0, set the flag to 1 or null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(value = x,1) as flag&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // the expression does not have an else value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can add your flag field as a dimension and set the "Suppress When Value Is Null" option on the Dimension sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 17:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579699#M1118260</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-01-28T17:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579700#M1118261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Calculated Dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Flag = 1, YourDimensionName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 17:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579700#M1118261</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-01-28T17:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579701#M1118262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your set analysis should look like this:&lt;/P&gt;&lt;P&gt;{&amp;lt;YourFlagField={1}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your expression should look like this (using whatever calculation you're using):&lt;/P&gt;&lt;P&gt;sum({&amp;lt;YourFlagField={1}&amp;gt;} SomeFieldToSum)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 17:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579701#M1118262</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-28T17:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579702#M1118263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option (again not using set analysis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(value * flag)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 17:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/579702#M1118263</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-01-28T17:52:41Z</dc:date>
    </item>
  </channel>
</rss>

