<?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: Two years in same chart by day? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712301#M539215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, it is in a separate field just with month-date already&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2014 15:57:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-16T15:57:23Z</dc:date>
    <item>
      <title>Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712299#M539213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, hope you can help me, I have a line chart that has a date as dimension which is already in format MMM-dd in load script. I'm showing the current count based on selections and I want to add a second line with last year data at same dates but something is not working, the chart split the dates as if they had a year, see the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" height="242" src="https://community.qlik.com/legacyfs/online/66885_Capture.JPG.jpg" style="width: 795.632075471698px; height: 242px;" width="796" /&gt;&lt;/P&gt;&lt;P&gt;here are my expressions:&lt;/P&gt;&lt;P&gt;CY: =count(if(Source='Letters',[Sales Letter ID]))&lt;/P&gt;&lt;P&gt;LY: =count({&amp;lt;FY={$(=FY-1)}&amp;gt;}&amp;nbsp; if(Source='Letters',[Sales Letter ID]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: The lines looks the same because is dummy data for CY, which is ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 15:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712299#M539213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T15:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712300#M539214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the year is still in your date, it's just a format. &lt;/P&gt;&lt;P&gt;When you put the month-date combination in a separate field, it should work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 15:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712300#M539214</guid>
      <dc:creator>geert_gelade</dc:creator>
      <dc:date>2014-09-16T15:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712301#M539215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, it is in a separate field just with month-date already&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 15:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712301#M539215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T15:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712302#M539216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload a sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 15:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712302#M539216</guid>
      <dc:creator>geert_gelade</dc:creator>
      <dc:date>2014-09-16T15:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712303#M539217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 16:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712303#M539217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T16:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712304#M539218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Month (without the year) in dimension and use another dimension year &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 16:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712304#M539218</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-16T16:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712305#M539219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oscar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solution 1:&amp;nbsp; add month and day fields in the table, and then use these as dimensions&lt;/P&gt;&lt;P&gt;solution 2:&amp;nbsp; use this expression as calculated dimension:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Month([Report Date 2]) &amp;amp; '-' &amp;amp; Day([Report Date 2])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 16:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712305#M539219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T16:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712306#M539220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's an new field, but only de formatting is changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the dimension in the chart to the expression in the picture. To see different lines, I multiplied the last year count with 2 and the sorting is according to [Report Date].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="monthday.jpg" class="jive-image" height="270" src="https://community.qlik.com/legacyfs/online/66871_monthday.jpg" style="width: 475px; height: 270.443548387097px;" width="475" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="monthday2.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66899_monthday2.jpg" style="width: 620px; height: 244px;" /&gt;&lt;/P&gt;&lt;P&gt;If you don't want to use a calculated dimension, you can put it in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 16:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712306#M539220</guid>
      <dc:creator>geert_gelade</dc:creator>
      <dc:date>2014-09-16T16:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712307#M539221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, this is partially working, as Jan and Feb dates are mixed, same happened in your example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 16:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712307#M539221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T16:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Two years in same chart by day?</title>
      <link>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712308#M539222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, solved the sort issue... weird, just added an ORDER BY clause to SQL query in script, the rest is the same. Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 17:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-years-in-same-chart-by-day/m-p/712308#M539222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T17:34:41Z</dc:date>
    </item>
  </channel>
</rss>

