<?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 chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124848#M18971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have QV12 or above... you can try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Only({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&amp;gt;} Aggr(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;RangeSum(Above(Sum({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;gt;} Consumption), 0, Month(Only({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&amp;gt;} Month))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;, cat, &lt;SPAN style="color: #ff0000;"&gt;(&lt;/SPAN&gt;MonthYear&lt;SPAN style="color: #ff0000;"&gt;, (NUMERIC))&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211861_Capture.PNG" style="height: 272px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2018 13:39:09 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-08-27T13:39:09Z</dc:date>
    <item>
      <title>Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124842#M18965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; a bar chart. And i have taken two dimensions i.e. MonthYear and Cat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i take one dimension i.e. MonthYear and write the below expression. It is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeSum(Above(SUM({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&lt;/P&gt;&lt;P&gt;&amp;gt;}(Consumption)),0, Month(Only({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&amp;gt;}Month)))). Below image for reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211858_T.PNG" style="height: 127px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i add one more dimension i.e. Cat the values are getting changed. Below image for reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/211859_T.PNG" style="height: 126px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me what can i do, even though if&amp;nbsp; i add the dimension the values should not change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 12:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124842#M18965</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-08-27T12:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124843#M18966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Only(({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&amp;gt;} Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(Sum({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;} Consumption), 0, Month(Only({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&amp;gt;} Month))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;, Cat, MonthYear))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 13:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124843#M18966</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-27T13:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124844#M18967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Sunny Bhai.. Not getting the right value. Below image for reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211860_T.PNG" style="height: 124px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 13:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124844#M18967</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-08-27T13:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124845#M18968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 13:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124845#M18968</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-27T13:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124846#M18969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the attach file Sunny Bhai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you filter for 2015 from July to 2015 Dec and cat as More than 7 year the correct value is 335 but with help of your expression it is 311.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check and let me know if you need anything more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 13:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124846#M18969</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-08-27T13:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124847#M18970</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;Are you trying to make an aggregate for each year? If so create a "Year month" column in your fact table and a new dimension table with a "Year month" and a "Year month YTD aggr" columns looking like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"Year month", "Year month YTD aggr"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-01, 2015-01&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-01, 2015-02&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-02, 2015-02&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-01, 2015-03&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-02, 2015-03&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-03, 2015-03&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-01, 2015-04&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-02, 2015-04&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-03, 2015-04&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-04, 2015-04&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;etc.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 13:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124847#M18970</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2018-08-27T13:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124848#M18971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have QV12 or above... you can try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Only({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&amp;gt;} Aggr(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;RangeSum(Above(Sum({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;gt;} Consumption), 0, Month(Only({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -36)))&amp;lt;=$(=Date(Max(MonthYear)))"}&amp;gt;} Month))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;, cat, &lt;SPAN style="color: #ff0000;"&gt;(&lt;/SPAN&gt;MonthYear&lt;SPAN style="color: #ff0000;"&gt;, (NUMERIC))&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211861_Capture.PNG" style="height: 272px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 13:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124848#M18971</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-27T13:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124849#M18972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Sunny Bhai...Thanks a lot..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One question why we have use numeric and what does it do? Is it because of version issue that we have to use numeric.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 13:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124849#M18972</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-08-27T13:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124850#M18973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Monthyear field isn't sorted correctly in the scrip, so I am sorting it within the Aggr() function using NUMERIC sort. Read more here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 13:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124850#M18973</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-27T13:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124851#M18974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny Bhai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 13:47:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/124851#M18974</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-08-27T13:47:17Z</dc:date>
    </item>
  </channel>
</rss>

