<?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: Coping with negative values in waterfall chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1618030#M734609</link>
    <description>&lt;P&gt;Can you provide the sample and expected result?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2019 06:59:06 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2019-08-29T06:59:06Z</dc:date>
    <item>
      <title>Coping with negative values in waterfall chart</title>
      <link>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1617886#M734608</link>
      <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm trying to make a waterfall chart showing the dollar change between two periods.&amp;nbsp;&lt;BR /&gt;I normally do this via the bar offset function in the expression tab and simpy deduct each added expression from the total, as in below example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/18031i0380B10BFD6D7AF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But in this chart the values might be negative OR positive given the period selection (i.e. the values might have increased or decreased between two dates). Using the above expression does not align the bars since both negative and positive values are present.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How do I cope with negative values in the waterfall chart?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1617886#M734608</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Coping with negative values in waterfall chart</title>
      <link>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1618030#M734609</link>
      <description>&lt;P&gt;Can you provide the sample and expected result?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 06:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1618030#M734609</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2019-08-29T06:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Coping with negative values in waterfall chart</title>
      <link>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1618478#M734610</link>
      <description>&lt;P&gt;Basically, the data is organized and the chart looks as below:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/18133i27E5A6113C2A378D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The expected result is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/18134iF6EFAF999678A4E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 17:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1618478#M734610</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-08-29T17:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Coping with negative values in waterfall chart</title>
      <link>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1618886#M734611</link>
      <description>&lt;P&gt;I think you need to relate the offset against the previous bar(s) and not against the total. For this you could try something like this:&lt;/P&gt;&lt;P&gt;rangesum(above(sum(Value), 0, rowno()))&lt;/P&gt;&lt;P&gt;Depending on your dimensions the above() and rowno() might need an additionally TOTAL statement.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 14:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1618886#M734611</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-08-30T14:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Coping with negative values in waterfall chart</title>
      <link>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1620739#M734612</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Philip, did Marcus' suggestion work for you?&amp;nbsp; If so, please consider using the Accept as Solution button to mark his post such that he gets credit and others will know that worked for you.&amp;nbsp; I did some digging, but I could not really find anything else that would be of any help on this one.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Brett&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 20:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1620739#M734612</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-05T20:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Coping with negative values in waterfall chart</title>
      <link>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1621135#M734613</link>
      <description>&lt;P&gt;The solution for my problem was to deduct the each column repectively using the column()-function.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;E.g. for the 5th bar in the chart, I used&amp;nbsp;Column(1)+Column(2)+Column(3)+Column(4). Worked perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 14:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coping-with-negative-values-in-waterfall-chart/m-p/1621135#M734613</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-09-06T14:40:39Z</dc:date>
    </item>
  </channel>
</rss>

