<?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: Year / minus year qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104825#M18749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you team &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2016 13:54:22 GMT</pubDate>
    <dc:creator>joeybird</dc:creator>
    <dc:date>2016-05-10T13:54:22Z</dc:date>
    <item>
      <title>Year / minus year qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104817#M18741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have the expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as one line on a chart &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct{&amp;lt; CalendarYear = {"$(=max(CalendarYear))"}&amp;gt;} [Custid])&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Current Year'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this on a second line on a chart &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct{&amp;lt; CalendarYear = {"$(=max(CalendarYear)-1)"}&amp;gt;} Custid) 'Previous year'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i pick from a filter pane &lt;SPAN style="font-size: 13.3333px;"&gt;CalendarYear&amp;nbsp; e.g 2015 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current year line appears, but previous year turns to 0, when there is 10 years worth of data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i please amend the set analysis to avoid this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 13:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104817#M18741</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-05-09T13:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Year / minus year qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104818#M18742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you making the selection just the the CalendarYear field or are there other calendar related fields where you are making selections?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 13:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104818#M18742</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-09T13:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Year / minus year qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104819#M18743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just the CalendarYear field as a filter pane&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 13:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104819#M18743</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-05-09T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Year / minus year qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104820#M18744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share screenshots of with and without selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 13:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104820#M18744</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-09T13:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Year / minus year qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104821#M18745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no really but &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date is main field of order data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this links to a calendar table, where it links to date, and then to a column called CalendarYear, and column&amp;nbsp; CalendarMonth ect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the same happens on a pivot chart too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 14:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104821#M18745</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-05-09T14:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Year / minus year qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104822#M18746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see anything wrong with the expression you have posted. Unless you can share a sample or screenshot, not sure if I can provide any advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 14:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104822#M18746</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-09T14:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Year / minus year qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104823#M18747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i basically have a pivot table (Same for line chart ) that as Months on left hand side... and three columns on the right &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current year, Year -1, and Year-2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want if someone picks from the filter pane a calendar year 2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current year becomes 2015, Year -1 shows 2014, and year -2 shows 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 09:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104823#M18747</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-05-10T09:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Year / minus year qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104824#M18748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am going to guess that the "Calendar Year" you use in the filter, is the same one you use in the Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means when you select 2015 in the filter, it limits your data set to only be CalendarYear = 2015. Your Set Analysis will therefore not return anything for 2014, 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could create a standalone filter list, in the load script, from CalendarYear, calling it something that ensures it will not automatically link to a field e.g. "MyFilterYear"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use that dimension as your filter, changing your Set Analysis to use MAX(MyFilterYear)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 11:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104824#M18748</guid>
      <dc:creator />
      <dc:date>2016-05-10T11:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Year / minus year qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104825#M18749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you team &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 13:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Year-minus-year-qlik-sense/m-p/1104825#M18749</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-05-10T13:54:22Z</dc:date>
    </item>
  </channel>
</rss>

