<?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 Using spaces in the Search String mask for multiple selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224562#M76952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a trigger that will select certain values in one field based on the selections made by the user in another field.&lt;/P&gt;&lt;P&gt;I've got it working except for one thing - I can't get the search mask to work on the second field when the values contain spaces.&lt;/P&gt;&lt;P&gt;The general format for a search string mask is (ValueA|ValueB|ValueC). That works fine.&lt;/P&gt;&lt;P&gt;However, if any of the values have spaces (Value A|Value B|Value C) , the search mask doesn't seem to work.&lt;/P&gt;&lt;P&gt;See attached QVW for a working example.&lt;/P&gt;&lt;P&gt;Does anyone know how to make a search string mask work when the values contain spaces?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Sep 2010 18:56:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-30T18:56:11Z</dc:date>
    <item>
      <title>Using spaces in the Search String mask for multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224562#M76952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a trigger that will select certain values in one field based on the selections made by the user in another field.&lt;/P&gt;&lt;P&gt;I've got it working except for one thing - I can't get the search mask to work on the second field when the values contain spaces.&lt;/P&gt;&lt;P&gt;The general format for a search string mask is (ValueA|ValueB|ValueC). That works fine.&lt;/P&gt;&lt;P&gt;However, if any of the values have spaces (Value A|Value B|Value C) , the search mask doesn't seem to work.&lt;/P&gt;&lt;P&gt;See attached QVW for a working example.&lt;/P&gt;&lt;P&gt;Does anyone know how to make a search string mask work when the values contain spaces?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 18:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224562#M76952</guid>
      <dc:creator />
      <dc:date>2010-09-30T18:56:11Z</dc:date>
    </item>
    <item>
      <title>Using spaces in the Search String mask for multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224563#M76953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wierd. I'm surprised quotes doesn't work, but I tried them all. I found a workaround. Change your search string variable to:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;'(ALL|' &amp;amp; Replace(only(Field1), ' ', '?') &amp;amp; ')'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;All spaces will be replaced by questions marks, which mean any character. That might not work in all situations, but I couldn't find anything better.&lt;/P&gt;&lt;P&gt;Also, you could probably do this as Select in Field: ALL then ToggleSelect: only(field1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 19:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224563#M76953</guid>
      <dc:creator />
      <dc:date>2010-09-30T19:35:35Z</dc:date>
    </item>
    <item>
      <title>Using spaces in the Search String mask for multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224564#M76954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome. Thanks! The question mark replacement worked great.&lt;/P&gt;&lt;P&gt;I couldn't get the ToggleSelect to work, though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 19:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224564#M76954</guid>
      <dc:creator />
      <dc:date>2010-09-30T19:47:58Z</dc:date>
    </item>
    <item>
      <title>Using spaces in the Search String mask for multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224565#M76955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the ToggleSelect, you would need: =only(Field1)&lt;/P&gt;&lt;P&gt;I think I forgot the equals sign and used a lower case f in my example. Here is the application using ToggleSelect instead of the Search String.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 19:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224565#M76955</guid>
      <dc:creator />
      <dc:date>2010-09-30T19:58:36Z</dc:date>
    </item>
    <item>
      <title>Using spaces in the Search String mask for multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224566#M76956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 20:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-spaces-in-the-Search-String-mask-for-multiple-selections/m-p/224566#M76956</guid>
      <dc:creator />
      <dc:date>2010-09-30T20:07:16Z</dc:date>
    </item>
  </channel>
</rss>

