<?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 Adding more variables to set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-more-variables-to-set-analysis/m-p/192383#M54056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the below formula that says to include only sales with a value greater than 1 so to exclude any credits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;sum({$&amp;lt;Sales&amp;gt;1&amp;gt;} Sales)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I want to know how to add more than one variable to the set analysis and include TL_Cust = 'M001' or TL_Cust = 'D001'.&lt;/P&gt;&lt;P&gt;e.g. I used to do:&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;sum(if(Sales &amp;gt;1 and TL_Cust = 'M001' or TLCust = 'D001',Sales))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;How do I add this in set analysis&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Sep 2009 08:47:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-21T08:47:23Z</dc:date>
    <item>
      <title>Adding more variables to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-more-variables-to-set-analysis/m-p/192383#M54056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the below formula that says to include only sales with a value greater than 1 so to exclude any credits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;sum({$&amp;lt;Sales&amp;gt;1&amp;gt;} Sales)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I want to know how to add more than one variable to the set analysis and include TL_Cust = 'M001' or TL_Cust = 'D001'.&lt;/P&gt;&lt;P&gt;e.g. I used to do:&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;sum(if(Sales &amp;gt;1 and TL_Cust = 'M001' or TLCust = 'D001',Sales))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;How do I add this in set analysis&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2009 08:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-more-variables-to-set-analysis/m-p/192383#M54056</guid>
      <dc:creator />
      <dc:date>2009-09-21T08:47:23Z</dc:date>
    </item>
    <item>
      <title>Adding more variables to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-more-variables-to-set-analysis/m-p/192384#M54057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you get correct results using your set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&amp;lt;pre&amp;gt;sum({$&amp;lt;Sales&amp;gt;1&amp;gt;} Sales)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, it should be something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum( {$&amp;lt;Sales={"=Sales&amp;gt;1"},TL_Cust ={ 'M001','D001'}&amp;gt;} Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2009 12:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-more-variables-to-set-analysis/m-p/192384#M54057</guid>
      <dc:creator />
      <dc:date>2009-09-21T12:46:19Z</dc:date>
    </item>
    <item>
      <title>Adding more variables to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-more-variables-to-set-analysis/m-p/192385#M54058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it posible use greater in set analysis ?&lt;/P&gt;&lt;P&gt;I think use only equal ( = )&lt;/P&gt;&lt;P&gt;example)&lt;/P&gt;&lt;P&gt;=Sum ({$&amp;lt;Sales={1},TL_Cust={'M001','D001'}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2009 12:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-more-variables-to-set-analysis/m-p/192385#M54058</guid>
      <dc:creator />
      <dc:date>2009-09-21T12:52:14Z</dc:date>
    </item>
    <item>
      <title>Adding more variables to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-more-variables-to-set-analysis/m-p/192386#M54059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Richy wrote:Do you get correct results using your set&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes this set does work great, no problems with the &amp;gt; sign so far&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Richy wrote:sum( {tiny_mce_markerlt;Sales={"=Sales&amp;gt;1"},TL_Cust ={ 'M001','D001'}&amp;gt;} Sales)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;This also worked perfectly, Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2009 13:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-more-variables-to-set-analysis/m-p/192386#M54059</guid>
      <dc:creator />
      <dc:date>2009-09-21T13:17:46Z</dc:date>
    </item>
  </channel>
</rss>

