<?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 custom timeframe on a bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/custom-timeframe-on-a-bar-chart/m-p/201066#M59335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;....or are you after a dynamic selection of months in that 7 month span shown in your example ?.&lt;/P&gt;&lt;P&gt;e.g. if you created a Slider / Calendar object based on 'Year and Month' and ticked the Multi Value mode, the user could click and drag to create a 7 month (or whatever) span of months and them slide that across however many years you display in the slider timeline ?&lt;/P&gt;&lt;P&gt;Is that the effect you're after ? (there's a good 'Year and Quarter' slider example in the Online Sales.qvw)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;HD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Nov 2010 15:40:05 GMT</pubDate>
    <dc:creator>hdonald</dc:creator>
    <dc:date>2010-11-25T15:40:05Z</dc:date>
    <item>
      <title>custom timeframe on a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/custom-timeframe-on-a-bar-chart/m-p/201064#M59333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've now tried a couple of variants on how to show a barchart with a timeline X +/- 3months but cant get it right.&lt;/P&gt;&lt;P&gt;I found something here that I use in a textbox for test purpose;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;$(=Month(max(TestDate))-3)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and that works, but how do I apply this as a calculated dimension in my bar chart??&lt;/P&gt;&lt;P&gt;a example;&lt;/P&gt;&lt;P&gt;By selecting "June" my bar chart should show march, april, may, JUNE, july, aug, sep.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 07:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-timeframe-on-a-bar-chart/m-p/201064#M59333</guid>
      <dc:creator>t_hylander</dc:creator>
      <dc:date>2010-11-25T07:26:33Z</dc:date>
    </item>
    <item>
      <title>custom timeframe on a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/custom-timeframe-on-a-bar-chart/m-p/201065#M59334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How about picking the latest 7 months by Rank in your calculated dimension ? - assuming you have an unbroken sequence of months you might use a Year Month field in the format YYYYMM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF( Aggr( rank("Year and Month") ,"Year and Month" )&amp;lt;=7,'Year and Month" )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 12:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-timeframe-on-a-bar-chart/m-p/201065#M59334</guid>
      <dc:creator>hdonald</dc:creator>
      <dc:date>2010-11-25T12:23:52Z</dc:date>
    </item>
    <item>
      <title>custom timeframe on a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/custom-timeframe-on-a-bar-chart/m-p/201066#M59335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;....or are you after a dynamic selection of months in that 7 month span shown in your example ?.&lt;/P&gt;&lt;P&gt;e.g. if you created a Slider / Calendar object based on 'Year and Month' and ticked the Multi Value mode, the user could click and drag to create a 7 month (or whatever) span of months and them slide that across however many years you display in the slider timeline ?&lt;/P&gt;&lt;P&gt;Is that the effect you're after ? (there's a good 'Year and Quarter' slider example in the Online Sales.qvw)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;HD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 15:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-timeframe-on-a-bar-chart/m-p/201066#M59335</guid>
      <dc:creator>hdonald</dc:creator>
      <dc:date>2010-11-25T15:40:05Z</dc:date>
    </item>
    <item>
      <title>custom timeframe on a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/custom-timeframe-on-a-bar-chart/m-p/201067#M59336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of using bar chart why don't you use a straight table then use this in your expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthNum={$(=MonthNum-3)}&amp;gt;} SC_SALES)&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthNum={$(=MonthNum-2)}&amp;gt;} SC_SALES)&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthNum={$(=MonthNum-1)}&amp;gt;} SC_SALES)&lt;/P&gt;&lt;P&gt;_______________________________________________&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthNum={$(=MonthNum)}&amp;gt;} SC_SALES) -&amp;gt; selected month&lt;/P&gt;&lt;P&gt;_______________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthNum={$(=MonthNum+1)}&amp;gt;} SC_SALES)&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthNum={$(=MonthNum+2)}&amp;gt;} SC_SALES)&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthNum={$(=MonthNum+3)}&amp;gt;} SC_SALES)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;hide the dimension so that the selected month is not shown twice..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2010 07:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-timeframe-on-a-bar-chart/m-p/201067#M59336</guid>
      <dc:creator />
      <dc:date>2010-11-26T07:24:23Z</dc:date>
    </item>
  </channel>
</rss>

