<?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 Offset X-axis to 1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219092#M72138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a chart with values on Y-axis from 0 to 10 but I need to have the X-axis starting at 1. This means that some of the values will show as 0.25 or 0.9, etc below the X-axis. Does Qlikview has a way to offset the X-axis? Attaching a sample chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Apr 2011 00:02:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-16T00:02:07Z</dc:date>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219092#M72138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a chart with values on Y-axis from 0 to 10 but I need to have the X-axis starting at 1. This means that some of the values will show as 0.25 or 0.9, etc below the X-axis. Does Qlikview has a way to offset the X-axis? Attaching a sample chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2011 00:02:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219092#M72138</guid>
      <dc:creator />
      <dc:date>2011-04-16T00:02:07Z</dc:date>
    </item>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219093#M72139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting... To the best of my knowledge, - no, not out of the box. I haven't seen any settings that could help you move the Axis up by a certain amount...&lt;/P&gt;&lt;P&gt;I'd say - it would take a lot of tricky work-around solutions to get this chart, or - if you are using ver. 10.0, perhaps you can find a JScript solution and integrate it as an Extension Object...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2011 00:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219093#M72139</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-04-16T00:17:06Z</dc:date>
    </item>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219094#M72140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction: you mean offset the Y-axis to be aligned at X=1. The X-axis itself is not offset. As far as I know, you can't change the positions of the axes themselves. But if your X goes into negatives, then the chart will certainly display that if you don't restrict it with a static min. It's just that the Y-axis will remain on the left side of the screen. By the way, you might get a smoother effect if you set the X-Axis to Continuous in the Axes tab, since it sounds like your X-axis is actually a number.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2011 00:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219094#M72140</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2011-04-16T00:17:57Z</dc:date>
    </item>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219095#M72141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Subtract 1 from the ratio, THEN on the expressions tab, click on the little + next to the expression, click on Bar Offset, and enter 1. For the axis, go to the presentation tab, click "Add" in the Reference Lines section, and enter 1 for the expression. See attached.&lt;/P&gt;&lt;P&gt;Edit: Added dual() to the expression so that it would display the right number when you mouse over, instead of the number - 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2011 01:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219095#M72141</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-16T01:08:18Z</dc:date>
    </item>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219096#M72142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grrr... the forum is INSISTING on keeping my old attachment in the above post, no matter how many times I replace it. See attached for the fixed version&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2011 01:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219096#M72142</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-16T01:18:13Z</dc:date>
    </item>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219097#M72143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very nice work-around, John! Quite ingenious!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2011 19:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219097#M72143</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-04-16T19:16:05Z</dc:date>
    </item>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219098#M72144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much John. This is absolutely brilliant.&lt;/P&gt;&lt;P&gt;I managed to offset the X-axis to 1 by using the solution you have provided. I am having trouble with the dual function though. Not sure what I am doing that is not correct. The results I am getting for the values below the X-axis are not correct. For example, where I should have a 0.38. Instead I am getting a -0.62 OR where I should have 0.9, it is showing up as -0.1&lt;/P&gt;&lt;P&gt;This is the expression I am using. Can you help me figure out what might be the problem:&lt;/P&gt;&lt;P&gt;dual(sum(if(DateFlagCurrQTD=1 or DateFlagPrevQTDMinusZero=1 or DateFlagPrevQTDMinusOne=1 or DateFlagPrevQTDMinusTwo=1 or DateFlagPrevQTDMinusThree=1,BOOKING_AMT/1000))/&lt;BR /&gt;sum(if(DateFlagCurrQTD=1 or DateFlagPrevQTDMinusZero=1 or DateFlagPrevQTDMinusOne=1 or DateFlagPrevQTDMinusTwo=1 or DateFlagPrevQTDMinusThree=1,REVENUE_AMT/1000)),&lt;BR /&gt;sum(if(DateFlagCurrQTD=1 or DateFlagPrevQTDMinusZero=1 or DateFlagPrevQTDMinusOne=1 or DateFlagPrevQTDMinusTwo=1 or DateFlagPrevQTDMinusThree=1,BOOKING_AMT/1000))/&lt;BR /&gt;sum(if(DateFlagCurrQTD=1 or DateFlagPrevQTDMinusZero=1 or DateFlagPrevQTDMinusOne=1 or DateFlagPrevQTDMinusTwo=1 or DateFlagPrevQTDMinusThree=1,REVENUE_AMT/1000))-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 23:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219098#M72144</guid>
      <dc:creator />
      <dc:date>2011-04-18T23:04:02Z</dc:date>
    </item>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219099#M72145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see the problem with your dual() expression, I'm afraid. It seems like it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 23:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219099#M72145</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-18T23:44:18Z</dc:date>
    </item>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219100#M72146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;J&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 20:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219100#M72146</guid>
      <dc:creator />
      <dc:date>2011-04-25T20:16:40Z</dc:date>
    </item>
    <item>
      <title>Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219101#M72147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;I was having this problem because in the Chart properties (Number tab), I had formatted the numbers to "Fixed to" and 2 decimal places. I removed the formatting from the Number format settings and set it back to default. Instead, I added the Num function to my dual expression to limit it to two decimal places and now it is working perfectly!&lt;/P&gt;&lt;P&gt;Thanks a ton for all your help.&lt;/P&gt;&lt;P&gt;Roopali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 20:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219101#M72147</guid>
      <dc:creator />
      <dc:date>2011-04-25T20:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Offset X-axis to 1</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219102#M72148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clever! /Christian &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 16:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-X-axis-to-1/m-p/219102#M72148</guid>
      <dc:creator>Christian_Lauritzen</dc:creator>
      <dc:date>2014-02-20T16:22:23Z</dc:date>
    </item>
  </channel>
</rss>

