<?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 / wildmatch not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011459#M83642</link>
    <description>&lt;P&gt;As a minor aside, you can just use e.g. Where WildMatch(Field,'String') without checking &amp;gt;0. It's cleaner to read that way, IMO.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 13:00:42 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-12-01T13:00:42Z</dc:date>
    <item>
      <title>match / wildmatch not working</title>
      <link>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011415#M83637</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;having issues getting match or wildmatch to work, but just in one place &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have tried all the combinations below but only the final one returns any results:&lt;/P&gt;
&lt;P&gt;stage_joint_1:&lt;BR /&gt;LOAD bussfld4_latest as bussfld4_stage,&lt;BR /&gt;1 as call_stage,&lt;BR /&gt;0 as ds_stage,&lt;BR /&gt;0 as acc_opened_stage&lt;BR /&gt;Resident joint1 where Wildmatch(call_outcm_cd_latest,'*First*')&amp;gt;0;&lt;/P&gt;
&lt;P&gt;LOAD bussfld4_latest as bussfld4_stage,&lt;BR /&gt;1 as call_stage,&lt;BR /&gt;0 as ds_stage,&lt;BR /&gt;0 as acc_opened_stage&lt;BR /&gt;Resident joint1 where Wildmatch(call_outcm_cd_latest,'First*')&amp;gt;0;&lt;/P&gt;
&lt;P&gt;LOAD bussfld4_latest as bussfld4_stage,&lt;BR /&gt;1 as call_stage,&lt;BR /&gt;0 as ds_stage,&lt;BR /&gt;0 as acc_opened_stage&lt;BR /&gt;Resident joint1 where Match(call_outcm_cd_latest,'First Call Attempt')&amp;gt;0;&lt;/P&gt;
&lt;P&gt;LOAD bussfld4_latest as bussfld4_stage,&lt;BR /&gt;1 as call_stage,&lt;BR /&gt;0 as ds_stage,&lt;BR /&gt;0 as acc_opened_stage&lt;BR /&gt;Resident joint1 where Wildmatch(trim(call_outcm_cd_latest),'First*')&amp;gt;0;&lt;/P&gt;
&lt;P&gt;LOAD bussfld4_latest as bussfld4_stage,&lt;BR /&gt;1 as call_stage,&lt;BR /&gt;0 as ds_stage,&lt;BR /&gt;0 as acc_opened_stage&lt;BR /&gt;Resident joint1;&lt;/P&gt;
&lt;P&gt;Document log extract attached. Also attached list box of valid searchable items (including 'First Call Attempt')&lt;/P&gt;
&lt;P&gt;In the same script the following code _does_ work so I'm totally at a loss.&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;bussfld4 as bussfld4_latest,&lt;BR /&gt;Timestamp(APPLYMAP('map_acc_opened',ACC_NO,null())+time('23:59:59', 'hh:mm:ss'),'M/D/YYYY h:mm:ss.fff TT') as event_ts,&lt;BR /&gt;null() as time_taken,&lt;BR /&gt;Date(APPLYMAP('map_acc_opened',ACC_NO,null()),'M/D/YYYY') as event_date,&lt;BR /&gt;'Account Opened' as call_outcm_cd_latest,&lt;BR /&gt;ACC_NO as bus_outcm_latest,&lt;BR /&gt;APPLYMAP('map_acc_opener',ACC_NO,null()) AS staff_latest&lt;BR /&gt;Resident docusign WHERE WildMatch(ACC_NO,'009*')&amp;gt;=1;&lt;/P&gt;
&lt;P&gt;Any insight from a fresh set of eyes much appreciated.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Stephen &lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 12:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011415#M83637</guid>
      <dc:creator>swearengen</dc:creator>
      <dc:date>2022-12-01T12:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: match / wildmatch not working</title>
      <link>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011433#M83638</link>
      <description>&lt;P&gt;This would appear to be something with your underlying data, because in isolation all of these work correctly:&lt;/P&gt;
&lt;P&gt;Table:&lt;BR /&gt;Load 'First Call Attempt' as call_outcm_cd_latest Autogenerate(1);&lt;/P&gt;
&lt;P&gt;Load Wildmatch(call_outcm_cd_latest,'*First*'),&lt;BR /&gt;Wildmatch(call_outcm_cd_latest,'First*'),&lt;BR /&gt;Match(call_outcm_cd_latest,'First Call Attempt'),&lt;BR /&gt;Wildmatch(trim(call_outcm_cd_latest),'First*')&lt;BR /&gt;Resident Table;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture333.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95087iF8C609E92128826B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture333.PNG" alt="Capture333.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 12:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011433#M83638</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-12-01T12:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: match / wildmatch not working</title>
      <link>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011447#M83641</link>
      <description>&lt;P&gt;Hey Or,&lt;/P&gt;
&lt;P&gt;thanks for taking the time to look at it. It turns out I had a stray NoConcatenate when I was building the table.&lt;/P&gt;
&lt;P&gt;joint1:&lt;BR /&gt;LOAD &lt;BR /&gt;bussfld4 as bussfld4_latest,&lt;BR /&gt;Timestamp(createdtime,'M/D/YYYY h:mm:ss.fff TT') as event_ts,&lt;BR /&gt;null() as time_taken,&lt;BR /&gt;Date(createdtime,'M/D/YYYY') as event_date,&lt;BR /&gt;'Enquiry Created' as call_outcm_cd_latest,&lt;BR /&gt;'Enquiry Created' as bus_outcm_latest,&lt;BR /&gt;'LCM' AS staff_latest&lt;BR /&gt;Resident test_header;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt; LOAD &lt;BR /&gt;bussfld4 as bussfld4_latest,&lt;BR /&gt;Timestamp(CALL_DATE_1,'M/D/YYYY h:mm:ss.fff TT') as event_ts,&lt;BR /&gt;Interval(APPLYMAP('fc_delay',bussfld4,null()), 'DD hh mm ss') as time_taken,&lt;BR /&gt;Date(CALL_DATE_1,'M/D/YYYY') as event_date,&lt;BR /&gt;'First Call Attempt' as call_outcm_cd_latest,&lt;BR /&gt;BUS_OUTCM_1 as bus_outcm_latest,&lt;BR /&gt;STAFF_ID_1 AS staff_latest&lt;BR /&gt;Resident CAO_EDW_Query_rk4 where not(isnull(CALL_DATE_1));&lt;/P&gt;
&lt;P&gt;So even though those records seemed to be resolving to joint1 when I added the 'First Call Attempt's they somehow weren't &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;. I'm not sure where they came from when I did the LOAD with no &lt;EM&gt;where&lt;/EM&gt; clause but then I'm a bit iffy on the way the whole thing hangs together.  I miss SQL &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Anyways thanks very much for your help it got me looking in the right place.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 12:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011447#M83641</guid>
      <dc:creator>swearengen</dc:creator>
      <dc:date>2022-12-01T12:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: match / wildmatch not working</title>
      <link>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011459#M83642</link>
      <description>&lt;P&gt;As a minor aside, you can just use e.g. Where WildMatch(Field,'String') without checking &amp;gt;0. It's cleaner to read that way, IMO.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 13:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011459#M83642</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-12-01T13:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: match / wildmatch not working</title>
      <link>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011476#M83645</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 13:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/match-wildmatch-not-working/m-p/2011476#M83645</guid>
      <dc:creator>swearengen</dc:creator>
      <dc:date>2022-12-01T13:14:50Z</dc:date>
    </item>
  </channel>
</rss>

