<?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 then condition in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521806#M7608</link>
    <description>Even without the ending parenthesis as suggested by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;</description>
    <pubDate>Mon, 17 Dec 2018 18:54:07 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-12-17T18:54:07Z</dc:date>
    <item>
      <title>If then condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521780#M7599</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;How can I write the statement below to produce one Flag instead of two like I did?&lt;/P&gt;&lt;P&gt;if(Match([Issue Priority],'Major')and Match([Issue Status],'On Track'),&lt;STRONG&gt;'MajFlagTrc&lt;/STRONG&gt;' ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Match([Issue Priority],'Major')and Match([Issue Status],'Pipeline') and DaysFlag='30 Days','&lt;STRONG&gt;MajFlagPipe&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;I am talking about the&amp;nbsp;&lt;STRONG&gt;'MajFlagTrc&lt;/STRONG&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&amp;nbsp; and&amp;nbsp;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;STRONG&gt;MajFlagPipe&lt;/STRONG&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 17:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521780#M7599</guid>
      <dc:creator>zwyne</dc:creator>
      <dc:date>2018-12-17T17:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: If then condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521785#M7601</link>
      <description>One flag? Which one of the two you want to produce?</description>
      <pubDate>Mon, 17 Dec 2018 18:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521785#M7601</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-17T18:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: If then condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521791#M7603</link>
      <description>&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;if(Match([Issue Priority],'Major'),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(Match([Issue Status],'On Track') or (Match([Issue Status],'Pipeline') and DaysFlag='30 Days'),&lt;STRONG&gt;'MajFlag'&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;I have tried it but it's not working as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 18:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521791#M7603</guid>
      <dc:creator>zwyne</dc:creator>
      <dc:date>2018-12-17T18:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: If then condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521792#M7604</link>
      <description>&lt;P&gt;&lt;SPAN&gt;if(Match([Issue Priority],'Major')and Match([Issue Status],'On Track'),&lt;/SPAN&gt;&lt;STRONG&gt;'MajFlagTrc&lt;/STRONG&gt;&lt;SPAN&gt;' ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Match([Issue Priority],'Major')and Match([Issue Status],'Pipeline') and DaysFlag='30 Days','&lt;/SPAN&gt;&lt;STRONG&gt;MajFlagPipe&lt;/STRONG&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)) as Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You just need to close out the if() statements and add an "as" to assign to&amp;nbsp; a field.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 18:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521792#M7604</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-12-17T18:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: If then condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521802#M7607</link>
      <description>&lt;P&gt;It turned out this expression is correct&lt;/P&gt;&lt;P&gt;if(Match([Issue Priority],'Major'),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(Match([Issue Status],'On Track') or (Match([Issue Status],'Pipeline') and DaysFlag='30 Days'),'MajFlag'&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 18:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521802#M7607</guid>
      <dc:creator>zwyne</dc:creator>
      <dc:date>2018-12-17T18:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: If then condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521806#M7608</link>
      <description>Even without the ending parenthesis as suggested by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;</description>
      <pubDate>Mon, 17 Dec 2018 18:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521806#M7608</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-17T18:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: If then condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521812#M7611</link>
      <description>&lt;P&gt;Actually my statement is incorrect, I am talking about&amp;nbsp; this one&lt;/P&gt;&lt;P&gt;if(Match([Issue Priority],'Major'),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;if(Match([Issue Status],'On Track') or (Match([Issue Status],'Pipeline') and DaysFlag='30 Days'),'MajorFlag'&lt;/P&gt;&lt;P&gt;The problem is &amp;nbsp; the &lt;STRONG&gt;or &lt;/STRONG&gt;operator.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 19:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/If-then-condition/m-p/1521812#M7611</guid>
      <dc:creator>zwyne</dc:creator>
      <dc:date>2018-12-17T19:12:09Z</dc:date>
    </item>
  </channel>
</rss>

