<?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: Problem using the sting containing single qoute in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655824#M239458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But that will of course not work in the Set Analysis.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 13:57:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-03T13:57:49Z</dc:date>
    <item>
      <title>Problem using the sting containing single qoute</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655819#M239453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;I am trouble with a record name which having&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;'&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;This is name of the field&lt;/STRONG&gt; --------&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;Care Transitions (reporting Oct '14)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I wrote an expression like this :&lt;/H5&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;=if(DChart='Care Transitions (reporting Oct '&amp;amp;chr(39)&amp;amp;'14)',count({&amp;lt; [CAHPS Count Flag]={1}, [CAHPS Chart Domain]={'Care Transitions (reporting Oct '&amp;amp;chr(39)&amp;amp;'14)'}, [CAHPS Questions Flag]={1}, [$(vDateType) $(vDateUnit)],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;&amp;nbsp; [Numeric $(vDateType) $(vDateUnit)]={"&amp;gt;=$(=num(Max([Numeric Previous-x $(vDateType) $(vDateUnit)])))&amp;lt;=$(=Max([Numeric $(vDateType) $(vDateUnit)]))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;&amp;nbsp; &amp;gt;} Distinct [Survey ID]),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;This expression is working with other filed names but not for the 'Care Transitions (reporting Oct '14)' . I tried to replace single qoute in the filed name with chr(39) but no luck.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Is there&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; any mistake in that expression?? Please help&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Thanks in advance!!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 13:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655819#M239453</guid>
      <dc:creator />
      <dc:date>2014-10-03T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the sting containing single qoute</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655820#M239454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to replace the outer single quotes with double quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;...&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;Chart="Care Transitions (reporting Oct '14)",cou&lt;/SPAN&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 13:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655820#M239454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-03T13:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the sting containing single qoute</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655821#M239455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately its a name of the particular record but not a field name. But I tried with double qoutations too and it didn't help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 13:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655821#M239455</guid>
      <dc:creator />
      <dc:date>2014-10-03T13:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the sting containing single qoute</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655822#M239456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure but in the set analysis try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;...[CAHPS Chart Domain]=&lt;/SPAN&gt;{"Care Transitions (reporting Oct '14"}...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or store the field name in a variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vFieldName = 'Care Transitions (reporting Oct ' &amp;amp; chr(39) &amp;amp; '14)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;...[CAHPS Chart Domain]=&lt;/SPAN&gt;{vFieldName}...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Azam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 13:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655822#M239456</guid>
      <dc:creator>a_mullick</dc:creator>
      <dc:date>2014-10-03T13:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the sting containing single qoute</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655823#M239457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find an actual error in the expression, but this workaround _should_ work (if the rest of the expression is OK:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;if(Replace(DChart, chr(39), '') ='Care Transitions (reporting Oct 14)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 13:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655823#M239457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-03T13:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the sting containing single qoute</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655824#M239458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But that will of course not work in the Set Analysis.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 13:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-sting-containing-single-qoute/m-p/655824#M239458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-03T13:57:49Z</dc:date>
    </item>
  </channel>
</rss>

