<?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 Yr/Yr Bar Graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Yr-Yr-Bar-Graph/m-p/212580#M66525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if the only thing you want to change is the year, if I understand correctly, you would only change the year within you set analysis expression.Your expression probably would look like this:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;RollingYear={"$(=max(Year) - 1)"} &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 15:36:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-13T15:36:28Z</dc:date>
    <item>
      <title>Yr/Yr Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Yr-Yr-Bar-Graph/m-p/212579#M66524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I built a bar graph that shows monthly sales against that same month last year. This works perfectly when I only have one rolling month selected in my list box. However, when I select two rolling months it displays the those two months and only last years data for one ( the greater) of the two selected months.&lt;/P&gt;&lt;P&gt;I am using this expression to get the previsous years data:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;RollingMonth={"$(=Date(AddMonths(Max(RollingMonth),-12),'MM/YY'))"} &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use Min instead of max, it simply displays the last years data for the lesser of the two month selected. Is there a way I can set this up where it will work correctly if one month is selected ( show sales totals for selected month and selected month-yr) and will also work correctly if two months are selected (shows sales totals for both months selected and corresponding months last year) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Much!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 15:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yr-Yr-Bar-Graph/m-p/212579#M66524</guid>
      <dc:creator />
      <dc:date>2010-04-13T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Yr/Yr Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Yr-Yr-Bar-Graph/m-p/212580#M66525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if the only thing you want to change is the year, if I understand correctly, you would only change the year within you set analysis expression.Your expression probably would look like this:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;RollingYear={"$(=max(Year) - 1)"} &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 15:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yr-Yr-Bar-Graph/m-p/212580#M66525</guid>
      <dc:creator />
      <dc:date>2010-04-13T15:36:28Z</dc:date>
    </item>
  </channel>
</rss>

