<?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: Bar graph with previous 12 months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-graph-with-previous-12-months/m-p/945768#M955346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hate to admit this Sunny but I spent several hours reading postings on this site and trying alternative answers. I try to solve the problem myself before posting.&amp;nbsp; But&amp;nbsp; at this point I am completely lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the best response is to describe what I am trying to do and ask for help with the correct variables and expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the prior twelve months I want to show the total sales by month.&amp;nbsp; This is not a rolling total but each month is individually reported.&amp;nbsp; This table reports only the months in the current year.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="254"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="18" width="169"&gt;Period&lt;/TD&gt;&lt;TD align="left" class="xl63" width="85"&gt;2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1,128,292.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;978,284.0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;998,071.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1,548,605.0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1,092,847.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;978,938.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1,047,483.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;970,740.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;9&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;636,116.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;558,025.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;11&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;497,362.4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get the months of Dec-14, Nov-14, Oct-14, etc?&amp;nbsp; (now the boss wants 18 month history).&amp;nbsp; How do I set it up so next month old history drops off and the latest month is picked up?&amp;nbsp; The date field I need to filter on is [Bill Date].&amp;nbsp; The [Bill Date] filed looks like '01/05/2015'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2015 14:42:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-20T14:42:50Z</dc:date>
    <item>
      <title>Bar graph with previous 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-graph-with-previous-12-months/m-p/945766#M955344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(_SysCalendarLastWorkingDayCurrYear)&amp;gt;=$(_SysCalendarYearStartCurrYear)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {*},&lt;BR /&gt; Period = {*},&lt;BR /&gt; Date = {*},&lt;BR /&gt; Month = {*},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Calendar Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {*},&lt;BR /&gt; QuarterName = {*},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Item Group Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {500, 501, 510, 530, 100},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LinkId]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"FIN"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;} &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(RevenueRate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I know this has been answered, but I can't find a posting simple enough for my level of expertise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The code above deliveries each of the last 11 months from November 2015 to January 2015 by month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I want to show the previous 12 months.&amp;nbsp; Ex:&amp;nbsp; November 2014 to October 2015 for a chart printed today (November 19, 2015).&amp;nbsp; Next month the data will show December 2014 to November 2015.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I apologize for asking a question that has been answered before, but I could not get those answers to work.&amp;nbsp; Thank you for all your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 23:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-graph-with-previous-12-months/m-p/945766#M955344</guid>
      <dc:creator />
      <dc:date>2015-11-19T23:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bar graph with previous 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-graph-with-previous-12-months/m-p/945767#M955345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;What is the expression you are using for this variable -&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;$(_SysCalendarYearStartCurrYear)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 23:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-graph-with-previous-12-months/m-p/945767#M955345</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-19T23:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bar graph with previous 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-graph-with-previous-12-months/m-p/945768#M955346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hate to admit this Sunny but I spent several hours reading postings on this site and trying alternative answers. I try to solve the problem myself before posting.&amp;nbsp; But&amp;nbsp; at this point I am completely lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the best response is to describe what I am trying to do and ask for help with the correct variables and expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the prior twelve months I want to show the total sales by month.&amp;nbsp; This is not a rolling total but each month is individually reported.&amp;nbsp; This table reports only the months in the current year.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="254"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="18" width="169"&gt;Period&lt;/TD&gt;&lt;TD align="left" class="xl63" width="85"&gt;2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1,128,292.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;978,284.0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;998,071.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1,548,605.0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1,092,847.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;978,938.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1,047,483.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;970,740.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;9&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;636,116.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;558,025.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl64" height="18"&gt;11&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;497,362.4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get the months of Dec-14, Nov-14, Oct-14, etc?&amp;nbsp; (now the boss wants 18 month history).&amp;nbsp; How do I set it up so next month old history drops off and the latest month is picked up?&amp;nbsp; The date field I need to filter on is [Bill Date].&amp;nbsp; The [Bill Date] filed looks like '01/05/2015'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 14:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-graph-with-previous-12-months/m-p/945768#M955346</guid>
      <dc:creator />
      <dc:date>2015-11-20T14:42:50Z</dc:date>
    </item>
  </channel>
</rss>

