<?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: IF statement two or more selections in same field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-statement-two-or-more-selections-in-same-field/m-p/943918#M966243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetFieldSelections(App_Status) = 'Failed, Waiting', 'Waiting and Failed Applications)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just make sure to put the same thing within the single quotes (&lt;STRONG&gt;Failed, Waiting&lt;/STRONG&gt;) which you see when you put GetFieldSelections(App_Status) in a text box (exact same spaces and upper/lower cases) when you select Failed and Waiting in App_Status list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2015 20:42:15 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-10-09T20:42:15Z</dc:date>
    <item>
      <title>IF statement two or more selections in same field</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-two-or-more-selections-in-same-field/m-p/943917#M966242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hello Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView. How do you add a condition for two selections in an if statement. For example, I have a list box called App_Status that includes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Passed&lt;/P&gt;&lt;P&gt;Waiting&lt;/P&gt;&lt;P&gt;Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have a condition in a text box that displays a message if Waiting and Failed are both selected. I tried this but had no luck: &lt;/P&gt;&lt;P&gt;if(App_Status= 'Waiting' AND App_Status = 'Failed', 'Waiting and Failed Applications')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 19:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-two-or-more-selections-in-same-field/m-p/943917#M966242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-09T19:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement two or more selections in same field</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-two-or-more-selections-in-same-field/m-p/943918#M966243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetFieldSelections(App_Status) = 'Failed, Waiting', 'Waiting and Failed Applications)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just make sure to put the same thing within the single quotes (&lt;STRONG&gt;Failed, Waiting&lt;/STRONG&gt;) which you see when you put GetFieldSelections(App_Status) in a text box (exact same spaces and upper/lower cases) when you select Failed and Waiting in App_Status list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 20:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-two-or-more-selections-in-same-field/m-p/943918#M966243</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-09T20:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement two or more selections in same field</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-two-or-more-selections-in-same-field/m-p/943919#M966244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Tried it and it worked. Just to note, the order matters. I originally did 'Waiting, Failed' and it did not work, so i tried 'Failed, Waiting' and it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 13:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-two-or-more-selections-in-same-field/m-p/943919#M966244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-12T13:34:23Z</dc:date>
    </item>
  </channel>
</rss>

