<?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 Wanted to get previous year data by clicking one button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601773#M222536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can ayone please tell me how to achive below one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to create a button with the name "Previous Year", when you click on that button the entire dashboard should shows only previous year data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help, Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2014 10:30:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-06T10:30:06Z</dc:date>
    <item>
      <title>Wanted to get previous year data by clicking one button</title>
      <link>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601773#M222536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can ayone please tell me how to achive below one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to create a button with the name "Previous Year", when you click on that button the entire dashboard should shows only previous year data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help, Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 10:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601773#M222536</guid>
      <dc:creator />
      <dc:date>2014-05-06T10:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted to get previous year data by clicking one button</title>
      <link>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601774#M222537</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;May be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 10:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601774#M222537</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-05-06T10:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted to get previous year data by clicking one button</title>
      <link>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601775#M222538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ashfaq for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please send me the process in reply only if possible, since i am using desktap version of QV, i can not open this file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 10:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601775#M222538</guid>
      <dc:creator />
      <dc:date>2014-05-06T10:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Wanted to get previous year data by clicking one button</title>
      <link>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601776#M222539</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;Create a button.&lt;/P&gt;&lt;P&gt;and add trigger Select in field&lt;/P&gt;&lt;P&gt;and Select field Year assuming you have year and write the below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=year(today())-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the snapshot attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 10:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601776#M222539</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-05-06T10:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted to get previous year data by clicking one button</title>
      <link>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601777#M222540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It did not help, sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actualy i created two chart having three years of the data, my requirement is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are showing 2014 data in one chart, by clicking previous year button the second chart should show previous year data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much Ashfaq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 04:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601777#M222540</guid>
      <dc:creator />
      <dc:date>2014-05-07T04:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted to get previous year data by clicking one button</title>
      <link>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601778#M222541</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;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Try to use set analysis &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In the first diagrams display the current year. expression should be something like: &lt;/P&gt;&lt;P&gt;sum ({DimensionYear = {$ (=Year(Today()))}} Value) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second diagram shows the previous year. Expression: &lt;/P&gt;&lt;P&gt;sum ({DimensionYear = {$ (=Year (Today()) -1)}} Value) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;DimensionYear - the name of the field that contains year in the data model&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;It will work without buttons. Use Previous year button you can show/hide the second diagram.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 05:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wanted-to-get-previous-year-data-by-clicking-one-button/m-p/601778#M222541</guid>
      <dc:creator />
      <dc:date>2014-05-07T05:14:37Z</dc:date>
    </item>
  </channel>
</rss>

