<?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: multiple if condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754781#M1030303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a ton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2015 18:02:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-20T18:02:25Z</dc:date>
    <item>
      <title>multiple if condition</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754775#M1030296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 2 listboxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- Region&lt;/P&gt;&lt;P&gt;2- Domain ('Mops','WEB','Reports')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a possibility that user selects 2 fields from domain. each selection has a different output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have written the below if condition. however this fails since wildmatch acts as or and not if...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #800000;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI'; font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI'; font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #800000;"&gt;Domain&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;'MOPS'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;8.00&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #800000;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; color: #000000; font-family: 'Segoe UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #800000;"&gt;Domain&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;'*MOPS*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;'*Reports*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; color: #000000; font-family: 'Segoe UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;10.00&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Segoe UI';"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #800000;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; color: #000000; font-family: 'Segoe UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #800000;"&gt;Domain&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;'*WEB*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;'*Reports*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; color: #000000; font-family: 'Segoe UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;13.00&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Segoe UI';"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #800000;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; color: #000000; font-family: 'Segoe UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #0000ff;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #800000;"&gt;Domain&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;'*WEB*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;'*Mops*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; color: #000000; font-family: 'Segoe UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;13.00&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Segoe UI'; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 21:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754775#M1030296</guid>
      <dc:creator />
      <dc:date>2015-02-19T21:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: multiple if condition</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754776#M1030297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this approach:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;wildmatch(GetFieldSelections(Domain),'&lt;STRONG&gt;*Mops,Reports*&lt;/STRONG&gt;')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 22:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754776#M1030297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-19T22:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: multiple if condition</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754777#M1030298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(GetSelectedCount(Region)=0 AND GetFieldSelections(Domain)='MOPS',8.00,&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Region)=0 AND WildMatch(GetFieldSelections(Domain),'*Mops*,*Reports*') ,10.00,&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Region)=0 AND WildMatch(GetFieldSelections(Domain),'*Reports*,*WEB*') ,13.00,&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Region)=0 AND WildMatch(GetFieldSelections(Domain),'*Mops*,*WEB*') ,13.00,0))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 06:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754777#M1030298</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-02-20T06:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: multiple if condition</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754778#M1030299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michel, has given the best and the optimised way to achieve these nested if logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 06:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754778#M1030299</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-02-20T06:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: multiple if condition</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754779#M1030300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didnt work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the attched file i selected mops and reports. so theo output should be 10.but its showing 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 17:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754779#M1030300</guid>
      <dc:creator />
      <dc:date>2015-02-20T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: multiple if condition</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754780#M1030301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yousuf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to watch spacing with QV, it can be tricky. You were missing a space and capitalization matters!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 17:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754780#M1030301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-20T17:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: multiple if condition</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754781#M1030303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a ton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 18:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-if-condition/m-p/754781#M1030303</guid>
      <dc:creator />
      <dc:date>2015-02-20T18:02:25Z</dc:date>
    </item>
  </channel>
</rss>

