<?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: How to use OR operator in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105025#M758149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine values are matching....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2018 11:15:39 GMT</pubDate>
    <dc:creator>divianjani</dc:creator>
    <dc:date>2018-09-07T11:15:39Z</dc:date>
    <item>
      <title>How to use OR operator in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105021#M758143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need urgent help...&lt;/P&gt;&lt;P&gt;i have an expression by using IF condition along with And OR operators..&lt;/P&gt;&lt;P&gt;Now i want to write same expression by using set analysis without using IF condition...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #ff9900;"&gt;Original Exp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum(if((match(Coulmn1,01,02,03,04,05,06) and &lt;STRONG&gt;&lt;EM&gt;Column2 = 'Dis' or Column2&lt;/EM&gt;&lt;/STRONG&gt; = 'Com')&lt;/P&gt;&lt;P&gt;and match(Column3,7,8) and OG &amp;lt;&amp;gt; ' ' and TSIT = 'Sales',Units))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So i have tried by using &lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 10pt;"&gt;set analysis&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; like below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Coulmn1&lt;/SPAN&gt;={'01','02','03','04','05','06'}, &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;Column2&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt; = {'Dis','Com'}&lt;/EM&gt;&lt;/STRONG&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;Column3&lt;/SPAN&gt;&lt;/SPAN&gt;={7,8},OG-={' '},TSTI ={'Sales'}&amp;gt;} Units ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when i have applied this in the report values are&amp;nbsp; not matching with earlier one, Can any one help me out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105021#M758143</guid>
      <dc:creator>divianjani</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use OR operator in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105022#M758144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure this is the correct original expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(if((match(Coulmn1,01,02,03,04,05,06) and Column2 = 'Dis' or Column2 = 'Com')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and match(Column3,7,8) and OG &amp;lt;&amp;gt; ' ' and TSIT = 'Sales',Units))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you want this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(if((match(Coulmn1,01,02,03,04,05,06) and &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;(&lt;/SPAN&gt;Column2 = 'Dis' or Column2 = 'Com'&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;)&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and match(Column3,7,8) and OG &amp;lt;&amp;gt; ' ' and TSIT = 'Sales',Units))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Because if your original expression was correct, then the set analysis will probably need to change because it is saying &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Condition 1 is true&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;match(Coulmn1,01,02,03,04,05,06) and Column2 = 'Dis'&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Condition 2 is true&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Column2 = 'Com'&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Is that what it really is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 10:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105022#M758144</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-09-07T10:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use OR operator in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105023#M758146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this, if your original expression is right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Coulmn1 = {'01','02','03','04','05','06'}, Column2 = {'Dis'}, Column3 = {7,8}, OG -= {' '}, TSTI = {'Sales'}&amp;gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;Column2 = {'Com'}, Column3 = {7,8}, OG -= {' '}, TSTI = {'Sales'}&amp;gt;} Units)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 10:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105023#M758146</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-09-07T10:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use OR operator in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105024#M758147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response sunny..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes that is original expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will try with above one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 11:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105024#M758147</guid>
      <dc:creator>divianjani</dc:creator>
      <dc:date>2018-09-07T11:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use OR operator in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105025#M758149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine values are matching....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 11:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-OR-operator-in-Set-Analysis/m-p/105025#M758149</guid>
      <dc:creator>divianjani</dc:creator>
      <dc:date>2018-09-07T11:15:39Z</dc:date>
    </item>
  </channel>
</rss>

