<?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: Set Analysis with ' sign in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643507#M678579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'll find that this is not possible.&amp;nbsp; I had a similar issue and had to load the data in the script without the apostrophes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 13:54:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-22T13:54:37Z</dc:date>
    <item>
      <title>Set Analysis with ' sign</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643504#M678576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im trying to write a set analysis with a string value containing ' in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want it to look like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&amp;lt;[BSHeading]={'NCA - dep'n'},[QuarterFiscal]={'Q1'}&amp;gt;} Amount)/1000000)&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the ' sign is causing the problem for quotation marks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried the below instead :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({$&amp;lt;CFHeading={$(=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NCA - dep'n)},[QuarterFiscal]={'Q1'}&amp;gt;} Amount)/1000000&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it does not swon other than 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone has a solution here, I would be very happy! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. It could be very useful to know how to handle ' in if clauses as well! DS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643504#M678576</guid>
      <dc:creator />
      <dc:date>2014-05-22T13:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with ' sign</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643505#M678577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use "&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NCA - dep'n&lt;/STRONG&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643505#M678577</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-22T13:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with ' sign</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643506#M678578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a veriable like this&lt;/P&gt;&lt;P&gt;let V_Name = 'NCA-dep' &amp;amp; chr(39) &amp;amp; 'n';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then you invoque the variable in the set analisys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Marcelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643506#M678578</guid>
      <dc:creator />
      <dc:date>2014-05-22T13:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with ' sign</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643507#M678579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'll find that this is not possible.&amp;nbsp; I had a similar issue and had to load the data in the script without the apostrophes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643507#M678579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T13:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with ' sign</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643508#M678580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&amp;lt;[BSHeading]={'NCA - dep''n'},[QuarterFiscal]={'Q1'}&amp;gt;} Amount)/1000000)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You have to add an additional single quotes near the single quote in dep'n to make it work.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 14:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643508#M678580</guid>
      <dc:creator />
      <dc:date>2014-05-22T14:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with ' sign</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643509#M678581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That did the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 14:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643509#M678581</guid>
      <dc:creator />
      <dc:date>2014-05-22T14:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with ' sign</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643510#M678582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep in mind to always use double quotes for values in set expressions. This way QlikView will make an exact search for your specified value. I would strongly recommend that you make double quoting a habit for set expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=sum({&amp;lt;[BSHeading]={"NCA - dep'n"},[QuarterFiscal]={"Q1"}&amp;gt;} Amount)/1000000)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 20:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-sign/m-p/643510#M678582</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2014-05-22T20:18:20Z</dc:date>
    </item>
  </channel>
</rss>

