<?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: Wildmatch function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295788#M460534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Vishwarath. Yes the condition should be = 0. So if I am reading it right for the last statement&lt;/P&gt;&lt;P&gt;If(WildMatch([Type], '*Chat*','*Call*','*TeleMarketing*','*M2L*','*Inbound*','*Outbound*') = 0,'Eloqua Sourced','Other') AS LM_AQLFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the {Type] matches any of the *Chat*','*Call*','*TeleMarketing*','*M2L*','*Inbound*','*Outbound* it will return 1 which is not equal to 0 and hence all these values will be in the "Other" category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I also wanted to confirm the wildmatch returns a integer value right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 May 2017 07:19:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-07T07:19:31Z</dc:date>
    <item>
      <title>Wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295786#M460532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to qliksense.Can anyone tell me what does the below codes do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; (1) If(WildMatch([Originating_Group__c], '*Sales*') = 0,'Marketing Campaign','Other') AS LM_CampaignFlag&lt;/P&gt;&lt;P&gt; (2)&amp;nbsp; If(WildMatch([Originating_Group__c], '*Sales*') = 0,1,0) AS LeadMarketingCampaignFlag,&lt;/P&gt;&lt;P&gt; (3)&amp;nbsp; If(WildMatch([Type], '*Call - Outbound*') = 0,0,1) AS LeadOutboundCallFlag,&lt;/P&gt;&lt;P&gt; (4) If(WildMatch([Type], '*Chat*','*Call*','*TeleMarketing*','*M2L*','*Inbound*','*Outbound*') = 0,'Eloqua Sourced','Other') AS LM_AQLFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 22:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295786#M460532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-05T22:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295787#M460533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They all will create a Numeric and String flag fields in your data model for their respective field values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Qlikview help:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor411"&gt;&lt;/A&gt;&lt;A name="wildmatch"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;STRONG&gt;&lt;EM&gt;wildmatch(&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="Italic"&gt; str, expr1 [ , expr2,...exprN ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;The &lt;SPAN class="Bold"&gt;wildmatch&lt;/SPAN&gt; function performs a case insensitive comparison and permits the use of wildcard characters (&lt;SPAN class="Bold"&gt; *&lt;/SPAN&gt; and &lt;SPAN class="Bold"&gt;?&lt;/SPAN&gt;) in the comparison strings. &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;EM&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="Code"&gt;wildmatch( M, 'ja*','fe?','mar')&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;returns &lt;SPAN class="Italic"&gt;1&lt;/SPAN&gt; if &lt;SPAN class="Italic"&gt;M&lt;/SPAN&gt; = &lt;SPAN class="Italic"&gt;January&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;returns &lt;SPAN class="Italic"&gt;2 &lt;/SPAN&gt;if &lt;SPAN class="Italic"&gt;M&lt;/SPAN&gt; = &lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN class="Italic"&gt;&lt;STRONG&gt;&lt;EM&gt;fex&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wildmatch does a case insensitive search so * -&amp;gt; here represents any characters before or after the word "sales". Wildmatch returns an Integer value. If there is a string value sales in your Origination_Group__C field, it returns 1 which is not = 0, so it should return 'Other', if there is not match in that field it would return 'Marketing Campaign'. Are you sure the condition should be =0 or it should be &amp;gt; 0. I believe it should be &amp;gt; 0. So if there is any word sales in your Originating field it should give you Marketing Campaign. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 23:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295787#M460533</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-05-05T23:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295788#M460534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Vishwarath. Yes the condition should be = 0. So if I am reading it right for the last statement&lt;/P&gt;&lt;P&gt;If(WildMatch([Type], '*Chat*','*Call*','*TeleMarketing*','*M2L*','*Inbound*','*Outbound*') = 0,'Eloqua Sourced','Other') AS LM_AQLFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the {Type] matches any of the *Chat*','*Call*','*TeleMarketing*','*M2L*','*Inbound*','*Outbound* it will return 1 which is not equal to 0 and hence all these values will be in the "Other" category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I also wanted to confirm the wildmatch returns a integer value right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 May 2017 07:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295788#M460534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-07T07:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295789#M460535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It creates 4 Field Names which match strings&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) If [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Originating_Group__c&lt;/SPAN&gt;] field has string called Sales then it will return Other because you are en-counting with only String is 0, If there is 0 Sales match it will return as 'Marketing Campaign'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2) It just work as first point only but this is very powerful, Due to it connect as 1 and 0. In future, if we need to show who else is not with Sales string then we need to show Sales&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LeadMarketingCampaignFlag&lt;/SPAN&gt; = {1}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3) Same as Second part&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4) Here, Also same with 1, ,2 &amp;amp; 3. But, Here they are calculating with 6 string names nothing new&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;P.S&lt;/STRONG&gt;: I would suggest you to do the same in your machine then you came to know more understandable. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 05:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295789#M460535</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-08T05:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295790#M460536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it returns and Int value. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 13:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-function/m-p/1295790#M460536</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-05-08T13:42:45Z</dc:date>
    </item>
  </channel>
</rss>

