<?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: AND and OR statement together. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168594#M916365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is there's missing parenthesis in your expression. The only way to adjust is understanding the business rules&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2016 13:36:27 GMT</pubDate>
    <dc:creator>Marcio_Campestrini</dc:creator>
    <dc:date>2016-05-18T13:36:27Z</dc:date>
    <item>
      <title>AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168588#M916356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I make the below if statement&amp;nbsp; work? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Performance] = 9 OR IF([Performance] = 10 AND IF([Total # ] = 4 OR IF([Total # ] = 5,'0%',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if([Performance] = 9 OR IF([Performance] = 10 AND IF([Total #] = 2 OR IF([Total # ] = 3,'0%',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if([Performance] = 9 OR IF([Performance] = 10 AND IF([Total # ] = 0 OR IF([Total # ] = 1,'-3%',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if([Performance] = 6 OR IF([Performance] = 7 OR [Performance] = 8 AND IF([Total # ] = 4 OR IF([Total # ] = 5,'0%',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Performance] = 6 OR IF([Performance] = 7 OR [Performance] = 8 AND IF([Total # ] = 2 OR IF([Total # ] = 3,'0%',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Performance] = 6 OR IF([Performance] = 7 OR [Performance] = 8 AND IF([Total # ] = 0 OR IF([Total # ] = 1,'-5%',&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/AND-and-OR-statement-together/m-p/1168588#M916356</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168589#M916357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try &amp;lt;&amp;gt; for in place of OR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 13:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168589#M916357</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2016-05-18T13:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168590#M916358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea what exactly are you trying to do. May be put this whole if statement in words and may be we can help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 13:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168590#M916358</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-18T13:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168591#M916360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess this is not a qlikview expression. Don't try to converting the formula. First understand the requirement and in put data and write the expression on Qlikview way. I guess you don't need to many if here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 13:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168591#M916360</guid>
      <dc:creator />
      <dc:date>2016-05-18T13:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168592#M916361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a literal correction of your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(([Performance] = 9 OR [Performance] = 10) AND ([Total # ] = 4 OR [Total # ] = 5), '0%',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; If(([Performance] = 9 OR [Performance] = 10) AND ([Total #] = 2 OR [Total # ] = 3), '0%',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; If(([Performance] = 9 OR [Performance] = 10) AND ([Total # ] = 0 OR [Total # ] = 1),'-3%',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; If(([Performance] = 6 OR [Performance] = 7 OR [Performance] = &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; AND ([Total # ] = 4 OR [Total # ] = 5), '0%',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(([Performance] = 6 OR [Performance] = 7 OR [Performance] = &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; AND ([Total # ] = 2 OR [Total # ] = 3), '0%',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(([Performance] = 6 OR [Performance] = 7 OR [Performance] = &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; AND ([Total # ] = 0 OR [Total # ] = 1), '-5%'))))))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 13:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168592#M916361</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-05-18T13:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168593#M916363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But that is very clumsy. The equivalent simplified expression would be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(Match([Performance], 9 , 10) AND Match([Total # ], 0, 1), '-3%',&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; If(Match([Performance], 6, 7, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; AND Match([Total # ], 0, 1), '-5%',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; '0%'))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 13:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168593#M916363</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-05-18T13:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168594#M916365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is there's missing parenthesis in your expression. The only way to adjust is understanding the business rules&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 13:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168594#M916365</guid>
      <dc:creator>Marcio_Campestrini</dc:creator>
      <dc:date>2016-05-18T13:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168595#M916366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124959_Capture.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above is the legend and based on that I have the if condition.I have this in the text box and also I have to have the rgb set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex : if Score is 9 or 10 and Total# is 4 or 5 then 0%,rgb(green())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if Score is 9 or 10 and Total# is 2 or 3 then 0%,rgb(green())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if Score is 9 or 10 and Total# is 0 or 1 then -3%,rbg(yellow()) &lt;/P&gt;&lt;P&gt;same thing for Score 6,7,8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 17:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168595#M916366</guid>
      <dc:creator />
      <dc:date>2016-05-18T17:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168596#M916368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;This is not working for me nor the other one.When I add the AND it doesnt work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 17:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168596#M916368</guid>
      <dc:creator />
      <dc:date>2016-05-18T17:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR statement together.</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168597#M916369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(Score, 9, 10),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Match([Total#], 0, 1), '-3%', '0%'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(Score, 6, 7, 8),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Match([Total#], 0, 1), '-5%', '0%')))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Match(Score, 9, 10),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Match([Total#], 0, 1), Yellow(), Green()),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Match(Score, 6, 7, 8),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Match([Total#], 0, 1), Red(), Green())))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 17:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-statement-together/m-p/1168597#M916369</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-18T17:27:30Z</dc:date>
    </item>
  </channel>
</rss>

