<?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 How to write this condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-this-condition/m-p/1349399#M414964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; I have created flag fields with the corresponding days. I am trying to create them into compliance flags. I'm not sure where to go from here to get it to work in Qlikview.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Flag = '0-14 days', 'Compliant'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Flag = '15-30 days', severity &amp;lt;&amp;gt; 'Critical', 'Compliant', else 'Non Compliant'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Flag = '31-90 days', severity &amp;lt;&amp;gt; 'Critical', 'High', 'Compliant' else 'Non Compliant'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Flag = '91+ days', severity &amp;lt;&amp;gt; 'Critical', 'High', Medium', 'Compliant', else, 'Non Compliant');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 02:05:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-04-06T02:05:00Z</dc:date>
    <item>
      <title>How to write this condition</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-condition/m-p/1349399#M414964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; I have created flag fields with the corresponding days. I am trying to create them into compliance flags. I'm not sure where to go from here to get it to work in Qlikview.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Flag = '0-14 days', 'Compliant'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Flag = '15-30 days', severity &amp;lt;&amp;gt; 'Critical', 'Compliant', else 'Non Compliant'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Flag = '31-90 days', severity &amp;lt;&amp;gt; 'Critical', 'High', 'Compliant' else 'Non Compliant'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Flag = '91+ days', severity &amp;lt;&amp;gt; 'Critical', 'High', Medium', 'Compliant', else, 'Non Compliant');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 02:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-condition/m-p/1349399#M414964</guid>
      <dc:creator />
      <dc:date>2017-04-06T02:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this condition</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-condition/m-p/1349400#M414965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is Flag created in the script or is this a field from the database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 15:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-condition/m-p/1349400#M414965</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-06T15:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this condition</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-condition/m-p/1349401#M414966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&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;&lt;STRONG&gt;if(Flag = '0-14 days', 'Compliant'),&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;STRONG&gt;if(Flag = '15-30 days', If(Not Match(severity, 'Critical'), 'Compliant', 'Non Compliant'),&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;STRONG&gt;if(Flag = '31-90 days', If(Not Match(severity, 'Critical', 'High'), 'Compliant', 'Non Compliant'),&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;STRONG&gt;if(Flag = '91+ days', If(Not Match(severity, 'Critical', 'High', Medium'), 'Compliant', 'Non Compliant')))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 15:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-condition/m-p/1349401#M414966</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-06T15:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this condition</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-condition/m-p/1349402#M414967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or in your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MapCompliancy:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MAPPNG LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FlagSeverity, Level&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;15-30 days|Critical, Non Compliant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;31-90 days|Critical, Non Compliant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;31-90 days|High, Non Compliant&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;90+ days|Critical, Non Compliant&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;90+ days|High, Non Compliant&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;90+ days|Medium, Non Compliant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapCompliancy', Flag&amp;amp;'|'&amp;amp;severity, 'Compliant') AS ComplianceLevel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 15:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-condition/m-p/1349402#M414967</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-04-06T15:24:36Z</dc:date>
    </item>
  </channel>
</rss>

