<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442050#M797134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something wrong&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match(country, 'france', 'italy', 'spain')&lt;STRONG&gt;, 'Europe'&lt;/STRONG&gt;) &lt;/P&gt;&lt;P&gt; or (&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match(country, 'france', 'italy', 'spain')&lt;STRONG&gt;, 'french'&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;, 'other')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you want to put additional if before match?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2017 10:14:46 GMT</pubDate>
    <dc:creator>t_chetirbok</dc:creator>
    <dc:date>2017-12-21T10:14:46Z</dc:date>
    <item>
      <title>if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442043#M797127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it possible to have if condition with 2 values for ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if country = france&amp;nbsp; then 'Europe' ,'french' else 'other'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;europe and french should be 2 diff values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442043#M797127</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442044#M797128</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;STRONG&gt;If((country = 'france', 'Europe') or (country = 'france', 'french'), 'other')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 09:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442044#M797128</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-21T09:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442045#M797129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you planning to use this and why do you want it as two values and not a single value like Europe,French.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Pratyush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 09:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442045#M797129</guid>
      <dc:creator>prat1507</dc:creator>
      <dc:date>2017-12-21T09:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442046#M797130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;because europe and french is refereeed as 2 different dimension in our database and the values diff little when you select europe and french seperately&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 09:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442046#M797130</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2017-12-21T09:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442047#M797131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anil &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you also suggest the same for multiple countries.. ex: if country like france ,italy, spain &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; then 'Europe' ,'french' else 'other'...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 09:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442047#M797131</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2017-12-21T09:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442048#M797132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here we go !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If((Match(country, 'france', 'italy', 'spain'), 'Europe') or (Match(country, 'france', 'italy', 'spain'), 'french'), 'other')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 09:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442048#M797132</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-21T09:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442049#M797133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you want to have two rows for one Country in the table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442049#M797133</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2017-12-21T10:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442050#M797134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something wrong&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match(country, 'france', 'italy', 'spain')&lt;STRONG&gt;, 'Europe'&lt;/STRONG&gt;) &lt;/P&gt;&lt;P&gt; or (&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match(country, 'france', 'italy', 'spain')&lt;STRONG&gt;, 'french'&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;, 'other')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you want to put additional if before match?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442050#M797134</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2017-12-21T10:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442051#M797135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is some problem with the syntax.. iam not able to figure out. syntax ..below all the scripts gets black &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442051#M797135</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2017-12-21T10:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442052#M797136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi tats, yes indeed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442052#M797136</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2017-12-21T10:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442053#M797137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try this:&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;if(match(Country, 'france', 'italy', 'spain') ,if(IterNo()=1,Country, 'europe') , 'other') as New_Column&lt;/P&gt;&lt;P&gt;, Country&lt;/P&gt;&lt;P&gt;, Value&lt;/P&gt;&lt;P&gt;while iterno()&amp;lt;=if(match(Country, 'france', 'italy', 'spain'),2,1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Country, Value&lt;/P&gt;&lt;P&gt;france, 100&lt;/P&gt;&lt;P&gt;italy, 200&lt;/P&gt;&lt;P&gt;spain, 300&lt;/P&gt;&lt;P&gt;USA, 150&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187847_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if it's that you are looking for&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/1442053#M797137</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2017-12-21T10:37:28Z</dc:date>
    </item>
  </channel>
</rss>

