<?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 to show only 12 months rolling in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495174#M102498</link>
    <description>&lt;P&gt;Are you using the Bar chart or the Combo chart?&lt;BR /&gt;&lt;BR /&gt;In my QSEW i have the option for bar chart but not for combo chart.&lt;BR /&gt;&lt;BR /&gt;Are you on an old version of Qlik Sense?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2024 18:45:06 GMT</pubDate>
    <dc:creator>olofmalmstrom</dc:creator>
    <dc:date>2024-11-28T18:45:06Z</dc:date>
    <item>
      <title>Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495151#M102491</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;attached&amp;nbsp; is my sample data which have&amp;nbsp; fact and master calendar&amp;nbsp; and below&amp;nbsp; is my script and chart expression&lt;/P&gt;
&lt;P&gt;Fact:&lt;BR /&gt;LOAD&lt;BR /&gt;Measurefield,&lt;BR /&gt;date(floor(num(Date))) as Date,&lt;BR /&gt;Fact_flag&lt;BR /&gt;FROM folder;&lt;/P&gt;
&lt;P&gt;Dim_MC:&lt;BR /&gt;LOAD&lt;BR /&gt;date(floor(num(Date))) as Date,&lt;BR /&gt;WEEK(Date) AS Week,&lt;BR /&gt;YEAR(Date) AS Year,&lt;BR /&gt;MONTH(Date) AS Month,&lt;BR /&gt;DAY(Date) AS Day,&lt;BR /&gt;WEEKDAY(Date) AS Weekday,&lt;BR /&gt;'Q'&amp;amp; CEIL (MONTH( Date ) / 3 ) AS Quarter,&lt;BR /&gt;DATE(monthstart( Date ), 'MMM-YYYY') AS MonthYear,&lt;BR /&gt;WEEK(Date ) &amp;amp; '-'&amp;amp; YEAR (Date ) AS WeekYear&lt;/P&gt;
&lt;P&gt;from folder;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;bar chart dim and exp&lt;/P&gt;
&lt;P&gt;dim as month year&lt;/P&gt;
&lt;P&gt;exp as below&lt;/P&gt;
&lt;P&gt;if(GetSelectedCount(Year)&amp;gt;=1 or GetSelectedCount(Quarter)&amp;gt;=1 or GetSelectedCount(MonthYear)&amp;gt;=1 or GetSelectedCount(Week)&amp;gt;=1 or GetSelectedCount(Date)&amp;gt;=1,&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;Fact_flag={'fact_1'}&amp;gt;}Measurefield),&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;Fact_flag={'fact_1'},&lt;BR /&gt;MonthYear = {"&amp;gt;=$(=date(MonthStart(AddMonths(Today(), -12)),'MMM-YYYY'))&amp;lt;=$(=date(MonthEnd(AddMonths(Today(), -1)),'MMM-YYYY'))"}&amp;gt;}Measurefield)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;i want to show the default 12 months rolling in my chart and i don't want to disable the data enabling -&amp;gt;&amp;nbsp; include zero values, because if there is no data for that month it have show 0 for the month since i am using master calender&lt;/P&gt;
&lt;P&gt;now wht is happening in bar chart it shows entire all months here, it have to show only 12 months data as per the if loop section&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;note i dont want to disable the data handling&amp;nbsp; --&amp;gt;include zero values please help and support on this and also no calculated dim also&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manoranjan_321988_0-1732808755438.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174969i393C23528CDCF35C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manoranjan_321988_0-1732808755438.png" alt="manoranjan_321988_0-1732808755438.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 15:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495151#M102491</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-28T15:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495156#M102492</link>
      <description>&lt;P&gt;You can split it into two separate measure, and add the if statement to the show condition.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 17:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495156#M102492</guid>
      <dc:creator>olofmalmstrom</dc:creator>
      <dc:date>2024-11-28T17:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495161#M102493</link>
      <description>&lt;P&gt;Hi &lt;STRONG&gt;olofmalmstrom,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I can't use vizlib due to restriction while publishing, and also in the native qlik bar chart there is no show hide option pls let me know any other option&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some times&amp;nbsp; rolling 12 months have partial month data If some other dim&amp;nbsp; product table filter are selected ,&amp;nbsp; at that time also it have to show the bars with values and no value bar has to show&amp;nbsp; x axis label (month year)with 0 value&amp;nbsp; &amp;nbsp;y axis , this is&amp;nbsp; also not achieved in the vizlib bar chart&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pls suggest some other way&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 17:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495161#M102493</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-28T17:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495166#M102494</link>
      <description>&lt;P&gt;You can do it in Qlik Native using the "Show measure if" condition&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="olofmalmstrom_3-1732816764406.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174973i16BDBD184E824CC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="olofmalmstrom_3-1732816764406.png" alt="olofmalmstrom_3-1732816764406.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 17:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495166#M102494</guid>
      <dc:creator>olofmalmstrom</dc:creator>
      <dc:date>2024-11-28T17:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495167#M102495</link>
      <description>&lt;P&gt;Thanks and Trying pls give me some amount of time&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 18:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495167#M102495</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-28T18:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495168#M102496</link>
      <description>&lt;P&gt;I've attached a sample where you can see it working&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 18:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495168#M102496</guid>
      <dc:creator>olofmalmstrom</dc:creator>
      <dc:date>2024-11-28T18:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495170#M102497</link>
      <description>&lt;P&gt;my bad time, i don't have the option to show / hide measure&amp;nbsp; in my bar chart , even i searched for edit sheet enable advanced option also not there in my QSEW&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manoranjan_321988_0-1732819009746.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174974i1A6761F724916EDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manoranjan_321988_0-1732819009746.png" alt="manoranjan_321988_0-1732819009746.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 18:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495170#M102497</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-28T18:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495174#M102498</link>
      <description>&lt;P&gt;Are you using the Bar chart or the Combo chart?&lt;BR /&gt;&lt;BR /&gt;In my QSEW i have the option for bar chart but not for combo chart.&lt;BR /&gt;&lt;BR /&gt;Are you on an old version of Qlik Sense?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 18:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495174#M102498</guid>
      <dc:creator>olofmalmstrom</dc:creator>
      <dc:date>2024-11-28T18:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495175#M102499</link>
      <description>&lt;P&gt;wht will be the alternative way solution for this&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 18:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495175#M102499</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-28T18:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495176#M102500</link>
      <description>&lt;P&gt;The alternative is to limit the dimension values using a calculated dimension like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=If( GetSelectedCount(MonthYear)&amp;gt;=1 or GetSelectedCount(Date)&amp;gt;=1,
MonthYear,
IF(MonthYear&amp;gt;=date(MonthStart(AddMonths(Today(), -12)),'YYYY-MM') and MonthYear &amp;lt;=date(MonthEnd(AddMonths(Today(), -1)),'YYYY-MM'), MonthYear)
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Also uncheck the &lt;STRONG&gt;Include null values&lt;/STRONG&gt; on the dimension&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 19:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495176#M102500</guid>
      <dc:creator>olofmalmstrom</dc:creator>
      <dc:date>2024-11-28T19:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495178#M102502</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56259"&gt;@manoranjan_321988&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You never answered my question above, are you using a &lt;STRONG&gt;Bar chart&lt;/STRONG&gt; of a &lt;STRONG&gt;Combo chart&lt;/STRONG&gt;?&lt;BR /&gt;&lt;BR /&gt;I have the &lt;STRONG&gt;Show measure if&lt;/STRONG&gt; option in the &lt;STRONG&gt;Bar chart&lt;/STRONG&gt; but not in the &lt;STRONG&gt;Combo chart&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 19:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495178#M102502</guid>
      <dc:creator>olofmalmstrom</dc:creator>
      <dc:date>2024-11-28T19:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495206#M102505</link>
      <description>&lt;P&gt;Hi olofmalmstrom, good morning,&lt;/P&gt;
&lt;P&gt;Back to my&amp;nbsp; work , will update you soon&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 04:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495206#M102505</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-29T04:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495218#M102506</link>
      <description>&lt;P&gt;I think the issue here could be your expression not doing what you expect.&lt;/P&gt;
&lt;P&gt;Please verify that your set analysis work as you expect by testing it without the outer IF statement. You might want to change it to something like this.&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;Fact_flag={'fact_1'},&lt;/P&gt;
&lt;P&gt;Date = {"&amp;gt;='$(=MonthStart(AddMonths(Today(), -12)))'&amp;lt;='$(=MonthEnd(AddMonths(Today(), -1)))'"}&amp;gt;}Measurefield)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 05:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495218#M102506</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-11-29T05:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495266#M102511</link>
      <description>&lt;P&gt;I am using bar chart only , my&amp;nbsp; qlik hib version is 14.129.23&lt;/P&gt;
&lt;P&gt;could you pls&amp;nbsp; tell me your qlik version by clicking on Qlik hub about&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manoranjan_321988_0-1732875741601.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174996i25550E2AA6ADC8CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manoranjan_321988_0-1732875741601.png" alt="manoranjan_321988_0-1732875741601.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 10:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495266#M102511</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-29T10:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495272#M102512</link>
      <description>&lt;P&gt;this calculated dimension giving the result&amp;nbsp; but in one scenario its getting failed&lt;/P&gt;
&lt;P&gt;example from product table&amp;nbsp; which act as&amp;nbsp; dim table in Data model, i am selecting a&amp;nbsp; pdt "A" as filter in the front end from the dim table , for that pdt it have only&amp;nbsp; two months data in the fact table, now the chart shows only 2 months data of apr and march 2024, where others months in the axis label not showing, pls suggest on this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manoranjan_321988_2-1732877262110.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175000iC1B7871C8DAFF18B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manoranjan_321988_2-1732877262110.png" alt="manoranjan_321988_2-1732877262110.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 10:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495272#M102512</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-29T10:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495287#M102514</link>
      <description>&lt;P&gt;tried not showing any data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manoranjan_321988_0-1732883829786.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175002i12C6111C18F99FF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manoranjan_321988_0-1732883829786.png" alt="manoranjan_321988_0-1732883829786.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 12:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495287#M102514</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-29T12:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495312#M102516</link>
      <description>&lt;P&gt;Due to my low version I don't have and using bar chart only&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 14:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495312#M102516</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-29T14:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495336#M102518</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35740"&gt;@olofmalmstrom&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;waiting for your reply for this scenario&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 15:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495336#M102518</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-29T15:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495379#M102522</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35740"&gt;@olofmalmstrom&lt;/a&gt;&amp;nbsp;any updates for this issue&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2024 13:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495379#M102522</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-30T13:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart to show only 12 months rolling</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495382#M102523</link>
      <description>&lt;P&gt;Sorry for late reply.&lt;BR /&gt;&lt;BR /&gt;It will only show the bars where you have data related.&lt;BR /&gt;&lt;BR /&gt;If you add a line to you calendar like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dim_MC:&lt;BR /&gt;LOAD&lt;BR /&gt;date(floor(num(Date))) as Date,&lt;BR /&gt;WEEK(Date) AS Week,&lt;BR /&gt;YEAR(Date) AS Year,&lt;BR /&gt;MONTH(Date) AS Month,&lt;BR /&gt;DAY(Date) AS Day,&lt;BR /&gt;WEEKDAY(Date) AS Weekday,&lt;BR /&gt;'Q'&amp;amp; CEIL (MONTH( Date ) / 3 ) AS Quarter,&lt;BR /&gt;DATE(monthstart( Date ), 'MMM-YYYY') AS MonthYear,&lt;BR /&gt;WEEK(Date ) &amp;amp; '-'&amp;amp; YEAR (Date ) AS WeekYear,&lt;BR /&gt;&lt;STRONG&gt;0 as dummy;&lt;/STRONG&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;"Date",&lt;BR /&gt;Date(MonthYear,'YYYY-MM') as MonthYear&lt;BR /&gt;FROM [lib://DataFiles/MasterCalenderdata-table.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [MyWorkSheet-1]);&lt;BR /&gt;&lt;BR /&gt;Then in your forumla for the bar, add&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;+ sum({1} dummy)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Your dimension will then be:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=If( GetSelectedCount(MonthYear)&amp;gt;=1 or GetSelectedCount(Date)&amp;gt;=1,
MonthYear,
IF(MonthYear&amp;gt;=date(MonthStart(AddMonths(Today(), -12)),'YYYY-MM') and MonthYear &amp;lt;=date(MonthEnd(AddMonths(Today(), -1)),'YYYY-MM'), MonthYear)
)

&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Your Measure:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;Fact_flag={'fact_1'}&amp;gt;}Measurefield) + sum({1}dummy)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Good luck &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Olof&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2024 21:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-to-show-only-12-months-rolling/m-p/2495382#M102523</guid>
      <dc:creator>olofmalmstrom</dc:creator>
      <dc:date>2024-11-30T21:07:10Z</dc:date>
    </item>
  </channel>
</rss>

