<?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 Another Set Analysis issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Another-Set-Analysis-issue/m-p/161550#M35385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, guys,&lt;/P&gt;&lt;P&gt;I need to sum sales for supply scheme A1 in all branches and A1,A2 schemes in Office. Using IF(..) statement, it would be&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(if(supp_scheme='A1' or bra_id='OFI', sales))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;However it is part of set analysis, so I need to write it in that style. It could be something like&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;supp_scheme={'A1'} - {"bra_id='OFI'"}&amp;gt;} sales)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Any ideas would be appreciated,&lt;/P&gt;&lt;P&gt;Justinas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2010 16:19:18 GMT</pubDate>
    <dc:creator>justinasp</dc:creator>
    <dc:date>2010-02-26T16:19:18Z</dc:date>
    <item>
      <title>Another Set Analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Set-Analysis-issue/m-p/161550#M35385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, guys,&lt;/P&gt;&lt;P&gt;I need to sum sales for supply scheme A1 in all branches and A1,A2 schemes in Office. Using IF(..) statement, it would be&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(if(supp_scheme='A1' or bra_id='OFI', sales))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;However it is part of set analysis, so I need to write it in that style. It could be something like&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;supp_scheme={'A1'} - {"bra_id='OFI'"}&amp;gt;} sales)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Any ideas would be appreciated,&lt;/P&gt;&lt;P&gt;Justinas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 16:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Set-Analysis-issue/m-p/161550#M35385</guid>
      <dc:creator>justinasp</dc:creator>
      <dc:date>2010-02-26T16:19:18Z</dc:date>
    </item>
    <item>
      <title>Another Set Analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Set-Analysis-issue/m-p/161551#M35386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope the following is you are looking for.&lt;/P&gt;&lt;P&gt;sum({&amp;lt;supp_scheme={$(=if(bra_id='OFI', 'A1,A2', 'A1'))}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 17:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Set-Analysis-issue/m-p/161551#M35386</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2010-02-26T17:36:44Z</dc:date>
    </item>
  </channel>
</rss>

