<?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: Combo chart with intervals on x axis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combo-chart-with-intervals-on-x-axis/m-p/764951#M271883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin, for 1) in the load script you can create buckets using dual to sort in buckets in correct order, in example:&lt;/P&gt;&lt;P&gt;Amounts:&lt;/P&gt;&lt;P&gt;LOAD Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(If(Amount&amp;lt;0, Num(Num('1'&amp;amp; Repeat('0', Long))*-1, '#.##0') &amp;amp; '...' &amp;amp; If(Long&amp;lt;=2, 0, Num(Num('1'&amp;amp; Repeat('0', Long-1))*-1, '#.##0')),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Long&amp;lt;=1, 0, Num(Num('1'&amp;amp; Repeat('0', Long-1)), '#.##0')) &amp;amp; '...' &amp;amp; Num(Num('1'&amp;amp; Repeat('0', Long)), '#.##0'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , Index) as Bucket;&lt;/P&gt;&lt;P&gt;LOAD Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Len(fabs(Amount)) as Long,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Len(Amount) * If(Amount&amp;lt;0, -1, 1) as Index;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -99000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 150000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2) and 3) you can use the bucket index in background color of the bars like:&lt;/P&gt;&lt;P&gt;If(Bucket&amp;lt;0, &lt;EM&gt;[BlueColorRGB]&lt;/EM&gt;, &lt;EM&gt;[GreenColorRGB]&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 4) I think you only need an expression like:&lt;/P&gt;&lt;P&gt;Count(Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jan 2015 10:21:07 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2015-01-05T10:21:07Z</dc:date>
    <item>
      <title>Combo chart with intervals on x axis</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-with-intervals-on-x-axis/m-p/764950#M271882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me regarding combo chart with intervals on x axis&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73852_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see in image&lt;/P&gt;&lt;P&gt;1) on x axis - intervals are made positive on right side and negative on left side&lt;/P&gt;&lt;P&gt;2) bar with color blue shows debit amount&lt;/P&gt;&lt;P&gt;3) bar with green shows credit amt&lt;/P&gt;&lt;P&gt;4) line shows no of lines selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me hoe to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 07:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-with-intervals-on-x-axis/m-p/764950#M271882</guid>
      <dc:creator>sachinryeola</dc:creator>
      <dc:date>2014-12-19T07:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart with intervals on x axis</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-with-intervals-on-x-axis/m-p/764951#M271883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin, for 1) in the load script you can create buckets using dual to sort in buckets in correct order, in example:&lt;/P&gt;&lt;P&gt;Amounts:&lt;/P&gt;&lt;P&gt;LOAD Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(If(Amount&amp;lt;0, Num(Num('1'&amp;amp; Repeat('0', Long))*-1, '#.##0') &amp;amp; '...' &amp;amp; If(Long&amp;lt;=2, 0, Num(Num('1'&amp;amp; Repeat('0', Long-1))*-1, '#.##0')),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Long&amp;lt;=1, 0, Num(Num('1'&amp;amp; Repeat('0', Long-1)), '#.##0')) &amp;amp; '...' &amp;amp; Num(Num('1'&amp;amp; Repeat('0', Long)), '#.##0'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , Index) as Bucket;&lt;/P&gt;&lt;P&gt;LOAD Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Len(fabs(Amount)) as Long,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Len(Amount) * If(Amount&amp;lt;0, -1, 1) as Index;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -99000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 150000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2) and 3) you can use the bucket index in background color of the bars like:&lt;/P&gt;&lt;P&gt;If(Bucket&amp;lt;0, &lt;EM&gt;[BlueColorRGB]&lt;/EM&gt;, &lt;EM&gt;[GreenColorRGB]&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 4) I think you only need an expression like:&lt;/P&gt;&lt;P&gt;Count(Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 10:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-with-intervals-on-x-axis/m-p/764951#M271883</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-01-05T10:21:07Z</dc:date>
    </item>
  </channel>
</rss>

