<?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 fix X axis in a Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514240#M1121870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;use this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2014 09:44:04 GMT</pubDate>
    <dc:creator>vipin_mishra479</dc:creator>
    <dc:date>2014-01-15T09:44:04Z</dc:date>
    <item>
      <title>How to fix X axis in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514238#M1121868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a combo chart showing all quarters in the x axis. I want this to be fixed and showing the last 8 quarters whatever period I select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How i can do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;dani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 09:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514238#M1121868</guid>
      <dc:creator>danialier</dc:creator>
      <dc:date>2014-01-15T09:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix X axis in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514239#M1121869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: blue;"&gt;Hi Dani,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: blue;"&gt;You can use this command in your expression:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: maroon;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: maroon;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;= {&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;lt;= $(=Max(Quarter))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;And you add a limit to the dimension quarter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;Paul&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 09:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514239#M1121869</guid>
      <dc:creator>paulcalvet</dc:creator>
      <dc:date>2014-01-15T09:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix X axis in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514240#M1121870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;use this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 09:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514240#M1121870</guid>
      <dc:creator>vipin_mishra479</dc:creator>
      <dc:date>2014-01-15T09:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix X axis in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514241#M1121871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assume that your date field name is "Period".&lt;/P&gt;&lt;P&gt;Then you can use a script to create a QuarterNum field in the data load script.&lt;/P&gt;&lt;P&gt;It is always useful to create the numeric format of the time periods.&lt;/P&gt;&lt;P&gt;Ceil(month(Period)/3) + if(year(Period)=Year(Today()),4,0) as QuarterNum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you Quarter field is like : QtrYear (in format like Q2-2012, Q1-2013,Q2-2013 etc)&lt;/P&gt;&lt;P&gt;You can use that field as dimension and now in your chart expression you can use like below.&lt;/P&gt;&lt;P&gt;sum({&amp;lt;QuarterNum={"&amp;gt;=$(=max(QuarterNum)-1)&amp;lt;=$(=max(QuarterNum))"} &amp;gt;} Amount) which will result in showing the last two quarters.&lt;/P&gt;&lt;P&gt;But I think what you are looking for is not completely here. The above solution will show data based on the Quarter selected. Because I think when we use functions like max or min they are relative to the current selection. So the quarter you selected becomes the max quarter unless you keep a separate variable at load script level to store the max value of the Quarter in your data. Then that variable can be used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514241#M1121871</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-01-15T10:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix X axis in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514242#M1121872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Dani,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1st of all derive Quarter from Date field. Then add calculated Dimension in your chart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(ceil(Month(Today())/3)&amp;lt;='8',YourQuarterField)&lt;/P&gt;&lt;P&gt;and Bypassall Selections in expression with help of Set analysis&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Kiran Rode&lt;/P&gt;&lt;P&gt;+91 897 6977 897&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-X-axis-in-a-Chart/m-p/514242#M1121872</guid>
      <dc:creator>kiranmanoharrode</dc:creator>
      <dc:date>2014-01-15T10:58:29Z</dc:date>
    </item>
  </channel>
</rss>

