<?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 loop with or condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415109#M427590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(&lt;STRONG&gt;match&lt;/STRONG&gt;(&lt;STRONG&gt;lower&lt;/STRONG&gt;(role_id) ,'adm' ,'mgr' ,'read' ,'user' ),'USER','ADMIN') as ACCESS,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2017 12:12:06 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-09-26T12:12:06Z</dc:date>
    <item>
      <title>if loop with or condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415104#M427585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is my if loop condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(role_id='Adm' or 'Mgr' or 'Read' or 'User' or 'USER','USER','ADMIN') as ACCESS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this conidtion is not working int he load script level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the value 'User' it showing ADMIN value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know the issue on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 11:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415104#M427585</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2017-09-26T11:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: if loop with or condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415105#M427586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to declare fieldname to each value&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(role_id='Adm' or &lt;SPAN style="font-size: 13.3333px;"&gt;role_id=&lt;/SPAN&gt;'Mgr' or &lt;SPAN style="font-size: 13.3333px;"&gt;role_id=&lt;/SPAN&gt;'Read' or &lt;SPAN style="font-size: 13.3333px;"&gt;role_id=&lt;/SPAN&gt;'User' or &lt;SPAN style="font-size: 13.3333px;"&gt;role_id=&lt;/SPAN&gt;'USER','USER','ADMIN') as ACCESS,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 11:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415105#M427586</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-26T11:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: if loop with or condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415106#M427587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;if(match(role_id, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 'Mgr', 'Read', 'User', 'USER', 'USER', 'ADMIN',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'if true',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'if false'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) as ACCESS,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 12:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415106#M427587</guid>
      <dc:creator>MarcoARaymundo</dc:creator>
      <dc:date>2017-09-26T12:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: if loop with or condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415107#M427588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Opps!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(match(role_id, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'Mgr', 'Read', 'User', 'USER', 'USER', 'ADMIN'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'if true',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'if false'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;) as ACCESS&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 12:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415107#M427588</guid>
      <dc:creator>MarcoARaymundo</dc:creator>
      <dc:date>2017-09-26T12:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: if loop with or condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415108#M427589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Please use this &lt;/P&gt;&lt;P&gt;You have to use &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;role_id &lt;/STRONG&gt;each time&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(role_id='Adm' or &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;role_id=&lt;/SPAN&gt;'Mgr' or &lt;SPAN style="font-size: 13.3333px;"&gt;role_id=&lt;/SPAN&gt;'Read' or &lt;SPAN style="font-size: 13.3333px;"&gt;role_id=&lt;/SPAN&gt;'User' or &lt;SPAN style="font-size: 13.3333px;"&gt;role_id=&lt;/SPAN&gt;'USER',&lt;/P&gt;&lt;P&gt;'USER','ADMIN') as ACCESS,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 12:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415108#M427589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T12:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: if loop with or condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415109#M427590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(&lt;STRONG&gt;match&lt;/STRONG&gt;(&lt;STRONG&gt;lower&lt;/STRONG&gt;(role_id) ,'adm' ,'mgr' ,'read' ,'user' ),'USER','ADMIN') as ACCESS,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 12:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415109#M427590</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-26T12:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: if loop with or condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415110#M427591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;STRONG&gt;MixMatch()&lt;/STRONG&gt; for a case insensitive test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(MixMatch(role_id, 'Adm' , 'Mgr' , 'Read' , 'User'), 'USER', 'ADMIN') as ACCESS,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;There are several match functions available&amp;nbsp; match(). mixmatch() and wildmatch() depending on whether you want a case sensitive test, as case insensitive test or wildcard test.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 12:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-loop-with-or-condition/m-p/1415110#M427591</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2017-09-26T12:20:43Z</dc:date>
    </item>
  </channel>
</rss>

