<?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: Help with IF please in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579342#M1116219</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;Try like 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;"&gt;IF(WildMatch(BranchName, 'Spec*'), 'SPECIALIST', 'BRANCH') as BRANCHTYPE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;WildMatch() helps to achieve this.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Feb 2014 07:03:28 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2014-02-13T07:03:28Z</dc:date>
    <item>
      <title>Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579338#M1116215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a table in which two of the columns are a number column and the other is a name column as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;BranchID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;BranchName&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Specialist - Tax&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Durban&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Northam&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Specialist - Personal Finance&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;PMB&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to say that wherever part of the word 'Spec' is found it must be aliased as a Specialist Department and if it does not have 'Spec' then it is a branch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this but when I do a list box on BRANCHTYPE it give me only BRANCH. How do I get this to work?&lt;/P&gt;&lt;P&gt;IF(BranchName = 'Spec*', 'SPECIALIST' , 'BRANCH') AS BRANCHTYPE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 06:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579338#M1116215</guid>
      <dc:creator>jcharles</dc:creator>
      <dc:date>2014-02-13T06:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579339#M1116216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IF(WildMatch(BranchName) = 'Spec*', 'SPECIALIST' , 'BRANCH') AS BRANCHTYPE&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 06:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579339#M1116216</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-13T06:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579340#M1116217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;IF(WildMatch(BranchName, 'Spec*'), 'SPECIALIST', 'BRANCH') as BRANCHTYPE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 06:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579340#M1116217</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-13T06:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579341#M1116218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WildMatch () is the best optimised way to write it .&lt;/P&gt;&lt;P&gt;Well you can also write it as &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;IF(BranchName = 'Spec*' OR &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BranchName =&lt;/SPAN&gt; 'SPECIALIST' &lt;/STRONG&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;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BranchName =&lt;/SPAN&gt; 'BRANCH') AS BRANCHTYPE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 06:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579341#M1116218</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-02-13T06:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579342#M1116219</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;Try like 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;"&gt;IF(WildMatch(BranchName, 'Spec*'), 'SPECIALIST', 'BRANCH') as BRANCHTYPE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;WildMatch() helps to achieve this.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 07:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579342#M1116219</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-02-13T07:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579343#M1116220</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;Try like this in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(Findoneof('Specialist - Personal Finance', 'Spec'), '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SPECIALIST&lt;/SPAN&gt;', '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BRANCH&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;') as BRANCHTYPE&lt;/SPAN&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;"&gt;FROM DataSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 07:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579343#M1116220</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-02-13T07:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579344#M1116221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagan, I don't really understand what your code does except defining a BRANCHTYPE column that is filled with 'SPECIALIST' for every record loaded... Is there some magical trick in this function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 07:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579344#M1116221</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-02-13T07:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579345#M1116222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FindOneOf() - will return the count given substring in a string, if it is &amp;gt;0, then &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SPECIALIST&lt;/SPAN&gt; otherwise &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BRANCH value is loaded into the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BRANCHTYPE&lt;/SPAN&gt; column.&amp;nbsp; Now you can use this column directly in Listbox/Dimension in chart.&amp;nbsp; Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 07:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579345#M1116222</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-02-13T07:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579346#M1116223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Manish Kachhia wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;IF(WildMatch(BranchName, 'Spec*'), 'SPECIALIST', 'BRANCH') as BRANCHTYPE&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the correct answer. The field will contain SPECIALIST if the branch name starts with Spec and BRANCH otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 08:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579346#M1116223</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-02-13T08:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579347#M1116224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're describing the&lt;EM&gt; index&lt;/EM&gt;() function, aren't you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 08:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579347#M1116224</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-02-13T08:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579348#M1116225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is similar to Index().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 08:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579348#M1116225</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-02-13T08:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579349#M1116226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thank you - This worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 09:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579349#M1116226</guid>
      <dc:creator>jcharles</dc:creator>
      <dc:date>2014-02-13T09:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IF please</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579350#M1116227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad that my answer help you.&lt;/P&gt;&lt;P&gt;Can you close this thread by selecting correct answer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 09:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-please/m-p/579350#M1116227</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-13T09:52:09Z</dc:date>
    </item>
  </channel>
</rss>

