<?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 condition when two values selected in a select field box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-condition-when-two-values-selected-in-a-select-field-box/m-p/502060#M187538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While there is more than one selection in a field you cannot use simply the field to get values. Because it returns you null only. You have to use getFieldSelections or Concat depends upon your need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(WildMatch(getfieldselections(GRUPO_MERCADO, ';'), 'Internacional', 'Local', 'Gratuidades'), 0&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial; font-size: 10pt;"&gt;, &lt;/SPAN&gt;-sum({&amp;lt;Facturacion={'Vta.España'}&amp;gt;}SDO_EU_PER))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2013 20:30:31 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2013-07-19T20:30:31Z</dc:date>
    <item>
      <title>If condition when two values selected in a select field box</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition-when-two-values-selected-in-a-select-field-box/m-p/502059#M187537</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 this if condition depending on the field GRUPO_MERCADO which is on the sheet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if (GRUPO_MERCADO='Internacional' OR GRUPO_MERCADO='Local' OR GRUPO_MERCADO='Gratuidades',0,&lt;/P&gt;&lt;P&gt;-sum({&amp;lt;Facturacion={'Vta.España'}&amp;gt;}SDO_EU_PER))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like it makes a '0' even when there is two values selected in the select field box in the sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OR condition works well&amp;nbsp; but not when there is two values selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 19:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition-when-two-values-selected-in-a-select-field-box/m-p/502059#M187537</guid>
      <dc:creator />
      <dc:date>2013-07-19T19:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: If condition when two values selected in a select field box</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition-when-two-values-selected-in-a-select-field-box/m-p/502060#M187538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While there is more than one selection in a field you cannot use simply the field to get values. Because it returns you null only. You have to use getFieldSelections or Concat depends upon your need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(WildMatch(getfieldselections(GRUPO_MERCADO, ';'), 'Internacional', 'Local', 'Gratuidades'), 0&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial; font-size: 10pt;"&gt;, &lt;/SPAN&gt;-sum({&amp;lt;Facturacion={'Vta.España'}&amp;gt;}SDO_EU_PER))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 20:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition-when-two-values-selected-in-a-select-field-box/m-p/502060#M187538</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-07-19T20:30:31Z</dc:date>
    </item>
  </channel>
</rss>

