<?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: How to display Last 12 Month in Dimension in Bar Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866925#M303270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({1&amp;lt;DATE={'&amp;gt;=$(=MonthStart(Max(Date_field),-12))&amp;lt;=$(=MonthEnd(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date_field&lt;/SPAN&gt;),-1))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try above expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 07:29:32 GMT</pubDate>
    <dc:creator>mohammadkhatimi</dc:creator>
    <dc:date>2015-05-15T07:29:32Z</dc:date>
    <item>
      <title>How to display Last 12 Month in Dimension in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866922#M303267</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;In my requirement, I want to show last 12 months data in dimension in dar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;Dimension : Month Year ( Api-2015 )&lt;/P&gt;&lt;P&gt;Expression : Count (Items).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data is from 3 Years. i Want to show only 12 months dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any one help on 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;Chennaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 06:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866922#M303267</guid>
      <dc:creator />
      <dc:date>2015-05-15T06:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Last 12 Month in Dimension in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866923#M303268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would usually use a set filter on the expressions to limit data to the last 12 months, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Date = {"&amp;gt;=$(=AddMonths(Max(Date), -12))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also this article: &lt;A href="https://community.qlik.com/docs/DOC-4821"&gt;Simply create YTD, moving totals and comparisons versus Year Ago&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 07:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866923#M303268</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-05-15T07:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Last 12 Month in Dimension in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866924#M303269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have something similar, hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Dimension limits tab, select Restrict which values are displayed, then in show only, select Largest in the Dropdown, and then 12 in Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used it in a rolling 12 month stacked bar chart, works fine, then you have the calculation in the expression field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 07:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866924#M303269</guid>
      <dc:creator />
      <dc:date>2015-05-15T07:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Last 12 Month in Dimension in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866925#M303270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({1&amp;lt;DATE={'&amp;gt;=$(=MonthStart(Max(Date_field),-12))&amp;lt;=$(=MonthEnd(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date_field&lt;/SPAN&gt;),-1))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try above expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 07:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866925#M303270</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2015-05-15T07:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Last 12 Month in Dimension in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866926#M303271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Andret,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it showing between Api-2014 to Mar-2015, it not showing current month EX May 2015&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 08:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866926#M303271</guid>
      <dc:creator />
      <dc:date>2015-05-15T08:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Last 12 Month in Dimension in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866927#M303272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;=sum({1&amp;lt;DATE={'&amp;gt;=$(=MonthStart(Max(Date_field),-12))&amp;lt;=$(=MonthEnd(Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Date_field&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;)))'}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 09:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866927#M303272</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2015-05-15T09:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Last 12 Month in Dimension in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866928#M303273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange, are you sure everything is right, do yo have data for April and May 2015, this could give wrong values if you have missing months.&amp;nbsp; have not picked up this problem myself, mine is working 100%. Maybe check your load order. Check the Sort tab as well, maybe the sorting is wrong. Can you maybe&amp;nbsp; give a reduced data model with some records for each of the periods?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 10:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866928#M303273</guid>
      <dc:creator />
      <dc:date>2015-05-15T10:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Last 12 Month in Dimension in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866929#M303274</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;See the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 10:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-Last-12-Month-in-Dimension-in-Bar-Chart/m-p/866929#M303274</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-05-15T10:30:36Z</dc:date>
    </item>
  </channel>
</rss>

