<?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: Load treating Variable in Wildmatch with double '' in Data Movement &amp; Streaming</title>
    <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527686#M3350</link>
    <description>&lt;P&gt;Ps in variable statement i have tried to use both chr(39) and just ' and as soon as i add them i do not get any in load statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 11:16:40 GMT</pubDate>
    <dc:creator>Zen_Not_On</dc:creator>
    <dc:date>2025-08-19T11:16:40Z</dc:date>
    <item>
      <title>Load treating Variable in Wildmatch with double ''</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527685#M3349</link>
      <description>&lt;P&gt;Hello, i recently have started using Qilk and am trying to the a hang of it.&lt;/P&gt;
&lt;P&gt;I am facing an issue with Wildmatch when I run the load commmand.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an list of company names .csv which I am trying to match against names in qvd.&lt;/P&gt;
&lt;P&gt;I create a variable which wraps all of entries in .csv resulting in: '*name*',&lt;/P&gt;
&lt;P&gt;after which i use it when i load the db data in if statement , IF(WILDMATCH(UPPER( Db_name), $(list)),Db_name, 'n/a')&lt;/P&gt;
&lt;P&gt;when i run the debug it&amp;nbsp; works fine, when i try to load it automatically wraps everything in double quotes like ''*name*'', thus failing the query, any better ideas how to tackle this. PS yes i only have names to work of so am unable to create any joins&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 11:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527685#M3349</guid>
      <dc:creator>Zen_Not_On</dc:creator>
      <dc:date>2025-08-19T11:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Load treating Variable in Wildmatch with double ''</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527686#M3350</link>
      <description>&lt;P&gt;Ps in variable statement i have tried to use both chr(39) and just ' and as soon as i add them i do not get any in load statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 11:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527686#M3350</guid>
      <dc:creator>Zen_Not_On</dc:creator>
      <dc:date>2025-08-19T11:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load treating Variable in Wildmatch with double ''</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527694#M3351</link>
      <description>&lt;P&gt;How is the variable created? I think that something like this:&lt;/P&gt;&lt;P&gt;t: load concat(Field, , '*'',''*') as Field from csv; // single quote masked by single quote&lt;BR /&gt;let v = peek('Field', 0, 't');&lt;/P&gt;&lt;P&gt;load *, if(wildmatch(Field, '*$(v)*'), 'x', 'y') as Match from XYZ;&lt;/P&gt;&lt;P&gt;should be working.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 12:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527694#M3351</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-08-19T12:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Load treating Variable in Wildmatch with double ''</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527696#M3352</link>
      <description>&lt;P&gt;temp_wild:&lt;BR /&gt;load Concat('*''' &amp;amp; pattern &amp;amp; '*''' ,',' ) as wildlist RESIDENT Names;&lt;BR /&gt;let vwildlist = Peek('wildlist', 0, 'temp_wild');&lt;/P&gt;
&lt;P&gt;also tried&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;let vwildlist = '';&lt;/DIV&gt;
&lt;DIV&gt;for i = 0 to NoOfRows('Names') - 1&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; let vwildlist = '$(vwildlist)' &amp;amp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ( i&amp;gt; 0, ',','')&amp;amp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '''*'&amp;amp; peek('pattern', i, 'Names')&amp;amp; '*''';&lt;/DIV&gt;
&lt;DIV&gt;next&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;when i leave just the&amp;nbsp;'*' &amp;amp; pattern &amp;amp; '*' load function creates list in if without any quotes&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Aug 2025 12:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527696#M3352</guid>
      <dc:creator>Zen_Not_On</dc:creator>
      <dc:date>2025-08-19T12:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Load treating Variable in Wildmatch with double ''</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527706#M3353</link>
      <description>&lt;P&gt;There are different ways to create the list + assigning the result to a variable + calling the variable again - and all parts must be suitable to each other because the content-type and the specific context will have an impact if the final result is valide or not - and the above of isn't:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Concat('*''' &amp;amp; pattern &amp;amp; '*''' ,',' )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sounds more complex as it is - ideally the above isn't developed within the origin logic else as a dummy (maybe within a separate app) within an inline-load and then showing the field(s) in a table-box. Quickly are n attempts done to move/add commas, wildcards, quotes and so on - until it looked as if it has been manually written.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Like hinted in the above suggestion I tend to create an incomplete list and adding the missing start/end of a valid list within the call of the variable - which minimized the extra efforts to add them to the field-content or around the aggregation and/or counting-methods within any loop-approaches.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 13:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527706#M3353</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-08-19T13:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load treating Variable in Wildmatch with double ''</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527708#M3354</link>
      <description>&lt;P&gt;fair enough, but still does not solve the issue that as soon as i try to load the data it wraps the whole thing in an extra set of quotes '&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS the wildmatch search is as complex as i need it because the data i work with is garbage...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 13:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527708#M3354</guid>
      <dc:creator>Zen_Not_On</dc:creator>
      <dc:date>2025-08-19T13:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Load treating Variable in Wildmatch with double ''</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527713#M3355</link>
      <description>&lt;P&gt;The only aspect in which I experienced an auto-quoting to existing quotes is when the data are loaded as txt from a csv or from_field and within the file-format statement is any msq activated. If this is your scenario you may try to replace it with 'no quotes'.&lt;/P&gt;&lt;P&gt;You may also consider a different way which may be a mapping like:&lt;/P&gt;&lt;P&gt;m: mapping load Field, '&amp;lt; Match &amp;gt;' from X;&lt;/P&gt;&lt;P&gt;t:&lt;BR /&gt;load *, if(wildmatch(Check, '&amp;lt; Match &amp;gt;'), Field, 'n/a') as Field_N;&lt;BR /&gt;load *, mapsubstring('m', Field) as Check from Y;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 13:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527713#M3355</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-08-19T13:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Load treating Variable in Wildmatch with double ''</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527801#M3357</link>
      <description>&lt;P&gt;Hey, you are correct when I upload the .csv file it converts it to txt, if I understand it correctly&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FROM [lib://AttachedFiles/names.csv]&lt;BR /&gt;(txt, utf8, embedded labels, delimiter is ';', msq)&lt;/P&gt;
&lt;P&gt;the issue is that as soon as i remove the quotes from the variable, then qlik also does not add any automatically resulting in *names*,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 06:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527801#M3357</guid>
      <dc:creator>Zen_Not_On</dc:creator>
      <dc:date>2025-08-20T06:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Load treating Variable in Wildmatch with double ''</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527802#M3358</link>
      <description>&lt;P&gt;IMO the quoting-interpretation creates more challenges as it solved. If an unique field-delimiter exists it should be disabled - and if not the load of the data needs a more or less expensive special treatment (it's not specifically related to Qlik else nearly all tools struggle with it by using (old) standard-libraries from Windows).&lt;/P&gt;&lt;P&gt;Like hinted try to replace it with 'no quotes' -&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptSpecifiers/quotes.htm" target="_blank"&gt;Quotes | Qlik Cloud Help&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 06:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-treating-Variable-in-Wildmatch-with-double/m-p/2527802#M3358</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-08-20T06:20:46Z</dc:date>
    </item>
  </channel>
</rss>

