<?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: Filtering a field in Set Analysis with '' in the string value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-a-field-in-Set-Analysis-with-in-the-string-value/m-p/1673658#M449572</link>
    <description>&lt;P&gt;If you still want to do a string literal match and not a string search then you can do it by escaping the character by having it twice like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum( {&amp;lt; [NAME]={'Owen ''The Flash'''} &amp;gt;}[Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Notice that there are only single quotes in there - not double quotes although it might look like it...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum( {&amp;lt; [NAME]={"Owen 'The Flash'"} &amp;gt;}[Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Will also work although this is a search and not a match - and it is case-insensitive whereas using single quotes will be case-sensitive...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Feb 2020 18:23:34 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2020-02-09T18:23:34Z</dc:date>
    <item>
      <title>Filtering a field in Set Analysis with '' in the string value</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-field-in-Set-Analysis-with-in-the-string-value/m-p/1673632#M449567</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently having an issue filtering a value that has '' in the string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, consider the following example:&lt;/P&gt;&lt;P&gt;ID | NAME&lt;/P&gt;&lt;P&gt;1 | Mike&lt;/P&gt;&lt;P&gt;2 | Paul&lt;/P&gt;&lt;P&gt;3 | Robinson&lt;/P&gt;&lt;P&gt;4 | Owen 'The Flash'&lt;/P&gt;&lt;P&gt;5 | John 'The Cool'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i try to: Sum( {&amp;lt; [NAME]={'Mike', 'Paul'} &amp;gt;}[Sales]), all works as it should.&lt;/P&gt;&lt;P&gt;Now, if i try to do&amp;nbsp;Sum( {&amp;lt; [NAME]={'Owen 'The Flash''} &amp;gt;}[Sales]), i encounter an error because of the ' that are inside of the string value that i want to filter.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also, here are some examples that i tried in order to overcome this issue:&lt;/P&gt;&lt;P&gt;'Owen '&amp;amp;chr(39)&amp;amp;'The Flash'&amp;amp;chr(39)&lt;/P&gt;&lt;P&gt;$(=chr(39)&amp;amp;'Owen '&amp;amp;chr(39)&amp;amp;'The Flash'&amp;amp;chr(39)&amp;amp;chr(39))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help for this issue is highly apreciated, as long as i'm having some troubles with this issue!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;50ShadesOfSalty&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-field-in-Set-Analysis-with-in-the-string-value/m-p/1673632#M449567</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2024-11-16T19:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a field in Set Analysis with '' in the string value</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-field-in-Set-Analysis-with-in-the-string-value/m-p/1673637#M449568</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum( {&amp;lt; [NAME]={&lt;/SPAN&gt;"Owen 'The Flash'"&lt;SPAN&gt;} &amp;gt;}[Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This should work.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Burkhard&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2020 16:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-field-in-Set-Analysis-with-in-the-string-value/m-p/1673637#M449568</guid>
      <dc:creator>veidlburkhard</dc:creator>
      <dc:date>2020-02-09T16:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a field in Set Analysis with '' in the string value</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-field-in-Set-Analysis-with-in-the-string-value/m-p/1673658#M449572</link>
      <description>&lt;P&gt;If you still want to do a string literal match and not a string search then you can do it by escaping the character by having it twice like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum( {&amp;lt; [NAME]={'Owen ''The Flash'''} &amp;gt;}[Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Notice that there are only single quotes in there - not double quotes although it might look like it...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum( {&amp;lt; [NAME]={"Owen 'The Flash'"} &amp;gt;}[Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Will also work although this is a search and not a match - and it is case-insensitive whereas using single quotes will be case-sensitive...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2020 18:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-field-in-Set-Analysis-with-in-the-string-value/m-p/1673658#M449572</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2020-02-09T18:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a field in Set Analysis with '' in the string value</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-field-in-Set-Analysis-with-in-the-string-value/m-p/1673811#M449579</link>
      <description>&lt;P&gt;This actually worked!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 10:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-field-in-Set-Analysis-with-in-the-string-value/m-p/1673811#M449579</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2020-02-10T10:15:00Z</dc:date>
    </item>
  </channel>
</rss>

