<?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 Help with a bar/lines graphic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-a-bar-lines-graphic/m-p/228063#M80124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This link should provide you with some ideas: &lt;A href="http://community.qlik.com/forums/t/29231.aspx"&gt;http://community.qlik.com/forums/t/29231.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, as Oleg says in the above link, there are many other examples in this forum discussing 12 month rolling values, just do a search for 12 month rolling and take a look.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jul 2010 13:22:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-20T13:22:39Z</dc:date>
    <item>
      <title>Help with a bar/lines graphic</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-a-bar-lines-graphic/m-p/228062#M80123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;Please, we need some help, we are trying to estimate the cumulative sum of sales in the last 12-month build-up but we do not work well. We have 2 fields Date and Ingresos (Sales). Our code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if("Year([Date])"=2008,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if("Month([Date])"='jan' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='feb' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"mar","apr","may","jun","jul","aug","sep","oct","nov","dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='mar' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"apr","may","jun","jul","aug","sep","oct","nov","dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='apr' , sum ({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"may","jun","jul","aug","sep","oct","nov","dec"} &amp;gt;} total [Ingresos]) + sum({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar","apr"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='may' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"jun","jul","aug","sep","oct","nov","dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar","apr","may"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='jun' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"jul","aug","sep","oct","nov","dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar","apr","may","jun"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='jul' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"aug","sep","oct","nov","dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar","apr","may","jun","jul"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='aug' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"sep","oct","nov","dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar","apr","may","jun","jul","aug"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='sep' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"oct","nov","dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar","apr","may","jun","jul","aug","sep"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='oct' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"nov","dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar","apr","may","jun","jul","aug","sep","oct"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='nov' , sum({$&amp;lt;"Year([Date])"={2007}, "Month([Date])"={"dec"} &amp;gt;} total [Ingresos]) + sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov"} &amp;gt;} total [Ingresos]),(&lt;/P&gt;&lt;P&gt;if("Month([Date])"='dec' ,sum ({$&amp;lt;"Year([Date])"={2008}, "Month([Date])"={"jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"} &amp;gt;} total [Ingresos])))))))))))))))))))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thank you!!!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 12:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-a-bar-lines-graphic/m-p/228062#M80123</guid>
      <dc:creator />
      <dc:date>2010-07-20T12:54:18Z</dc:date>
    </item>
    <item>
      <title>Help with a bar/lines graphic</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-a-bar-lines-graphic/m-p/228063#M80124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This link should provide you with some ideas: &lt;A href="http://community.qlik.com/forums/t/29231.aspx"&gt;http://community.qlik.com/forums/t/29231.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, as Oleg says in the above link, there are many other examples in this forum discussing 12 month rolling values, just do a search for 12 month rolling and take a look.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 13:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-a-bar-lines-graphic/m-p/228063#M80124</guid>
      <dc:creator />
      <dc:date>2010-07-20T13:22:39Z</dc:date>
    </item>
  </channel>
</rss>

