<?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: choosing from multiple values in formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955074#M328300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this an expression or dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 13:09:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-09-15T13:09:04Z</dc:date>
    <item>
      <title>choosing from multiple values in formula</title>
      <link>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955073#M328299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of our databases has multiple values for billing a customer:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="mv.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99006_mv.png" style="width: 620px; height: 67px;" /&gt;&lt;/P&gt;&lt;P&gt;I wanted to determine if a customer has a monthly fee or not. However, the formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Per_Bill.PMC_Code='MONTHLY',1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;always returns zero. I figure this is because QV sees the two possible values for the PMC_Code,&lt;/P&gt;&lt;P&gt;doesn't know which one to choose, and so evaluates the condition as NULL, and hence the result&lt;/P&gt;&lt;P&gt;is zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried multiple combinations of conditions within the IF, to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one know how I might handle this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 13:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955073#M328299</guid>
      <dc:creator />
      <dc:date>2015-09-15T13:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: choosing from multiple values in formula</title>
      <link>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955074#M328300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this an expression or dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 13:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955074#M328300</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-15T13:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: choosing from multiple values in formula</title>
      <link>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955075#M328301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's an expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 13:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955075#M328301</guid>
      <dc:creator />
      <dc:date>2015-09-15T13:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: choosing from multiple values in formula</title>
      <link>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955076#M328302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;See if this helps:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(WildMatch(Concat(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Per_Bill.PMC_Code, '|'), '*MONTHLY*'), 1, 0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 13:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955076#M328302</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-15T13:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: choosing from multiple values in formula</title>
      <link>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955077#M328303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Sunny, that worked great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 13:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955077#M328303</guid>
      <dc:creator />
      <dc:date>2015-09-15T13:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: choosing from multiple values in formula</title>
      <link>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955078#M328304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad it helped. If you got what you wanted, can you close the thread by marking the correct answer and/or any helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 14:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/choosing-from-multiple-values-in-formula/m-p/955078#M328304</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-15T14:00:12Z</dc:date>
    </item>
  </channel>
</rss>

