<?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: Double quotes within double quotes in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Double-quotes-within-double-quotes-in-set-analysis/m-p/934279#M648580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try single qotes on the inner part ' instead of "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2015 06:51:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-21T06:51:11Z</dc:date>
    <item>
      <title>Double quotes within double quotes in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Double-quotes-within-double-quotes-in-set-analysis/m-p/934278#M648579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt; I have a problem with double quotes in double quotes within set analysis. I&lt;BR /&gt;read two posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/" title="double quote wrapper in double code issue in set analysis"&gt;double quote&lt;BR /&gt;wrapper in double code issue in set analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt; and&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/" title="QlikView Quoteology"&gt;QlikView Quoteology&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; but none of them answer my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;({$&amp;lt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;SALES_ID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;"=SUM({&amp;lt;MY_DATE =&lt;BR /&gt;{"&amp;gt;=$(=Date(MakeDate(year(min(MY_DATE))-1,Month(min(MY_DATE)),Day(min(MY_DATE)))))&amp;lt;=$(=Date(MakeDate(year(max(MY_DATE))-1,Month(max(MY_DATE)),Day(max(MY_DATE)))))"&amp;gt;}SALES_AMOUNT)&amp;gt;0"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;},&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;MY_DATE&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;"&amp;gt;=$(=Date(MakeDate(year(min(MY_DATE))-1,Month(min(MY_DATE)),Day(min(MY_DATE)))))&amp;lt;=$(=Date(MakeDate(year(max(MY_DATE))-1,Month(max(MY_DATE)),Day(max(MY_DATE)))))"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;} &lt;BR /&gt;&lt;BR /&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt; SALES_&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user select a date interval MY_DATE. Then I take this interval and I&lt;BR /&gt;define the same interval but FOR THE PREVIOUS YEAR (minus 1 year). For&lt;BR /&gt;instance: the user select 1.1.2015 - 31.9.2015 --&amp;gt; MY_DATE = 1.1.2014 -&lt;BR /&gt;31.9.2014. I want to count different products SALES_ID in this period of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Additionally, I want also count only that SALES_ID which have some sales&lt;BR /&gt;amount &amp;gt; 0 (it can happen that I have SALES_ID with SALES_AMOUNT=0 in the&lt;BR /&gt;period 1.1.2014 - 31.9.2014 and i don't want to count them). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I have double quotes within other double quotes (in the first part of my code). I tried&lt;BR /&gt;to change in brackets or other accent like ``. I also tried escape sequences, but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SOME IDEAS??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 06:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-quotes-within-double-quotes-in-set-analysis/m-p/934278#M648579</guid>
      <dc:creator />
      <dc:date>2015-10-21T06:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Double quotes within double quotes in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Double-quotes-within-double-quotes-in-set-analysis/m-p/934279#M648580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try single qotes on the inner part ' instead of "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 06:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-quotes-within-double-quotes-in-set-analysis/m-p/934279#M648580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-21T06:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Double quotes within double quotes in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Double-quotes-within-double-quotes-in-set-analysis/m-p/934280#M648581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried but it doesn't work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 10:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-quotes-within-double-quotes-in-set-analysis/m-p/934280#M648581</guid>
      <dc:creator />
      <dc:date>2015-10-21T10:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Double quotes within double quotes in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Double-quotes-within-double-quotes-in-set-analysis/m-p/934281#M648582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wrong. It works perfectly. Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 12:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-quotes-within-double-quotes-in-set-analysis/m-p/934281#M648582</guid>
      <dc:creator />
      <dc:date>2015-12-01T12:29:57Z</dc:date>
    </item>
  </channel>
</rss>

