<?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: how to use wildmatch() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-use-wildmatch/m-p/1404735#M796595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you already looked at QlikView/Qlik Sense help? &lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/wildmatch.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/wildmatch.htm"&gt;wildmatch - script and chart function ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2017 13:21:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-12-14T13:21:19Z</dc:date>
    <item>
      <title>how to use wildmatch()</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-wildmatch/m-p/1404734#M796594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for at what type of scenarios will use the Wild match().&lt;/P&gt;&lt;P&gt;Please provide some complex&amp;nbsp; scenarios with wild match to under stand this function completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&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/how-to-use-wildmatch/m-p/1404734#M796594</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to use wildmatch()</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-wildmatch/m-p/1404735#M796595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you already looked at QlikView/Qlik Sense help? &lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/wildmatch.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/wildmatch.htm"&gt;wildmatch - script and chart function ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 13:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-wildmatch/m-p/1404735#M796595</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-14T13:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to use wildmatch()</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-wildmatch/m-p/1404736#M796597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Complex scenarios usually don't make it easier to understand the workings of the &lt;SPAN style="font-family: 'courier new', courier;"&gt;WildMatch()&lt;/SPAN&gt; function. Let's start with a simple example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine that you want to create a straight table that shows expression columns based on selections in a list box. E.g. the listbox shows text like '&lt;SPAN style="font-family: 'courier new', courier;"&gt;Actuals&lt;/SPAN&gt;', '&lt;SPAN style="font-family: 'courier new', courier;"&gt;Plan&lt;/SPAN&gt;', '&lt;SPAN style="font-family: 'courier new', courier;"&gt;Diff&lt;/SPAN&gt;', '&lt;SPAN style="font-family: 'courier new', courier;"&gt;Diff %&lt;/SPAN&gt;' etc which are all stored in a field called &lt;SPAN style="font-family: 'courier new', courier;"&gt;ExpressionSelector&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you create a table with all required expressions, but the requirement specifies that a user should be able to turn them on and off. We can get the list of active values in field &lt;SPAN style="font-family: 'courier new', courier;"&gt;ExpressionSelector&lt;/SPAN&gt; by using the &lt;SPAN style="font-family: 'courier new', courier;"&gt;Concat(&lt;EM&gt;fieldname&lt;/EM&gt;, &lt;EM&gt;separator&lt;/EM&gt;)&lt;/SPAN&gt; function. However since multiple &lt;SPAN style="font-family: 'courier new', courier;"&gt;ExpressionSelector&lt;/SPAN&gt; values can be selected at the same time, we can never be sure what the string returned by the Concat function will look like... That's where WildMatch comes in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=WildMatch(Concat(ExpressionSelector, ';'), '*Plan*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will return a non-zero (true) value if and only if the word '&lt;SPAN style="font-family: 'courier new', courier;"&gt;Plan&lt;/SPAN&gt;' appears anywhere in the list of active &lt;SPAN style="font-family: 'courier new', courier;"&gt;ExpressionSelector&lt;/SPAN&gt; values. Note the asterisks, that tell the &lt;SPAN style="font-family: 'courier new', courier;"&gt;WildMatch()&lt;/SPAN&gt; function that any text can appear both before and after the word '&lt;SPAN style="font-family: 'courier new', courier;"&gt;Plan&lt;/SPAN&gt;'.&lt;/P&gt;&lt;P&gt;Now in your Straight Table, this expression can be used in the Conditional Show of the expression that shows Plan values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine that I leave all values of the &lt;SPAN style="font-family: 'courier new', courier;"&gt;ExpressionSelector&lt;/SPAN&gt; listbox &lt;EM&gt;white&lt;/EM&gt; (nothing is explicitly selected = everthing is selected), then the &lt;SPAN style="font-family: 'courier new', courier;"&gt;Concat(ExpressionSelector, ';')&lt;/SPAN&gt; call will return a string like '&lt;SPAN style="font-family: 'courier new', courier;"&gt;Actuals;Plan;Diff;Diff %&lt;/SPAN&gt;'. If we use the above expression, it will return a non-zero value because it will find the word '&lt;SPAN style="font-family: 'courier new', courier;"&gt;Plan&lt;/SPAN&gt;' in the middle of the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's how WildMatch works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&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, 14 Dec 2017 17:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-wildmatch/m-p/1404736#M796597</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-12-14T17:03:13Z</dc:date>
    </item>
  </channel>
</rss>

