<?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: Match problems in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295796#M404471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, you are looking for this then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Index(AppAbbrevs, 'Field3')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 May 2017 15:11:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-18T15:11:48Z</dc:date>
    <item>
      <title>Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295791#M404466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a one-record table with the following column:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppAbbrevs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is a string that contains the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Field1,Field2,Field3'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try MATCH('Field3', ',', AppAbbrevs), it returns 0. It also returns 0 if I surround each value with single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 14:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295791#M404466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T14:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295792#M404467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be 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; font-size: 13px;"&gt; MATCH(AppAbbrevs, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Field3' &lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 14:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295792#M404467</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-05-18T14:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295793#M404468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying that your column has one record, and that record is a string 'Field1,Field2,Field3'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so I don't believe the Match() function would work. You should use WildMatch() as that will search through a string.&lt;/P&gt;&lt;P&gt;Match is used to look for a specific string within multiple records, so for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer is the column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; record 1: 'A'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; record 2: 'B'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; record 3: 'C'&lt;/P&gt;&lt;P&gt;You would use Match to find customer B for example.&lt;/P&gt;&lt;P&gt;Where as you are wanting to grab part of a big string from one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more on the Match() function, look here: &lt;A href="https://community.qlik.com/thread/141932"&gt;match function in qlikview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for more on the WildMatch() function, look here: &lt;A href="http://help.qlik.com/en-US/sense/3.1/Subsystems/Hub/Content/Scripting/ConditionalFunctions/wildmatch.htm" title="http://help.qlik.com/en-US/sense/3.1/Subsystems/Hub/Content/Scripting/ConditionalFunctions/wildmatch.htm"&gt;wildmatch - script and chart function ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The function you would require is: WildMatch(AppAbbrevs, '*Field3*')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, and if you are satisfied with the answer please mark it as correct. If you need further assistance I can help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 14:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295793#M404468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T14:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295794#M404469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the index of the substring within the larger string. Am I using the wrong function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295794#M404469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T15:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295795#M404470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Index()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295795#M404470</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-05-18T15:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295796#M404471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, you are looking for this then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Index(AppAbbrevs, 'Field3')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295796#M404471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T15:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295797#M404472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that, and it gave me the character index, I want the item index in the delimited string. In the example I provided, I want "3".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295797#M404472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T15:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295798#M404473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide sample data and expected result?&lt;/P&gt;&lt;P&gt;Are you talking about this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right(FieldName,1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295798#M404473</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-18T15:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295799#M404474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the INDEX of the substring within the larger delimited string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example I provided, I'm looking for 'Field3', and expecting an index of 3 because 'Field3' is the third delimited item in the string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295799#M404474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T15:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295800#M404475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still confusing, May be this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SunStringCount(FieldName, 'Field3'), '3')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295800#M404475</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-18T15:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295801#M404476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok John I have the solution!&lt;/P&gt;&lt;P&gt;Stick this in your data load editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strings:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;RowNo() as row,&lt;/P&gt;&lt;P&gt;Subfield(AppAbbrevs,',') as SingleStrings&lt;/P&gt;&lt;P&gt;Resident YOUR_TABLE_NAME_HERE_JOHN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your visualizations do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(SingleStrings = 'Field3', row)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will do it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295801#M404476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T15:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295802#M404477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A front-end solution could be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=SubStringCount( Left( &lt;SPAN style="color: #ff6600;"&gt;'Field1,Field2,Field3'&lt;/SPAN&gt;, Index(&lt;SPAN style="color: #ff6600;"&gt;'Field1,Field2,Field3'&lt;/SPAN&gt; , &lt;SPAN style="color: #0000ff;"&gt;'Field3'&lt;/SPAN&gt;)),&lt;STRONG style="color: #0000ff;"&gt; &lt;SPAN style="color: #ff00ff;"&gt;','&lt;/SPAN&gt;&lt;/STRONG&gt;)+1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;EM&gt;Orange&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt; - Your field value string&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #0000ff;"&gt;Blue&lt;/SPAN&gt; - Search string&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #ff00ff;"&gt;Pink&lt;/SPAN&gt; - Delimiter&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295802#M404477</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-05-18T15:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Match problems</title>
      <link>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295803#M404478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow. That gives me the result I want, but it's more complicated than it should be...&lt;/P&gt;&lt;P&gt;It's this kind of thing that completely negates what makes qlikview a decent tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case, many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-problems/m-p/1295803#M404478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T15:55:56Z</dc:date>
    </item>
  </channel>
</rss>

