<?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: Stacked Waterfall chart with one dimension and multiple expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732853#M506427</link>
    <description>&lt;P&gt;It is difficult for me to explain why it works what I have, but it kind of does. New expressions&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=If(RowNo() = 1 or RowNo() = (countMaßnahmenrunde)+1, Sum(Verfuegt), -Sum(Verfuegt))

=If(RowNo() = 1 or RowNo() = (countMaßnahmenrunde)+1, Sum(Pipeline), -Sum(Pipeline))

=If(RowNo() = 1 or RowNo() = (countMaßnahmenrunde)+1, Sum(Obligo), -Sum(Obligo))&lt;/LI-CODE&gt;&lt;P&gt;New offset expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=If(RowNo() = 1 or RowNo()=(countMaßnahmenrunde)+1, 0,
RangeSum(Above(Sum(Verfuegt) + Sum(Pipeline) + Sum(Obligo), 0, RowNo()))) &lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38473iBF188E6ABE6FF3DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Aug 2020 14:39:36 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2020-08-03T14:39:36Z</dc:date>
    <item>
      <title>Stacked Waterfall chart with one dimension and multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732806#M506426</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to create a stacked waterfall chart with one dimension and multiple expressions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I have Planning data and multiple timestamps, where the planning data is reduced. In the end it should show a stacked bar chart with the Actual data (planning data - reductions). Unfortunately, I dont get the offset right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached a picture of the data and also the responding qvw. Can anyone help me with the Offset?&lt;/P&gt;&lt;P&gt;Thank you very much in advance!&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Waterfall.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38464iC64B1A924A6BAD2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Waterfall.png" alt="Screen Waterfall.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732806#M506426</guid>
      <dc:creator>Apfelbaum</dc:creator>
      <dc:date>2024-11-16T18:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Waterfall chart with one dimension and multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732853#M506427</link>
      <description>&lt;P&gt;It is difficult for me to explain why it works what I have, but it kind of does. New expressions&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=If(RowNo() = 1 or RowNo() = (countMaßnahmenrunde)+1, Sum(Verfuegt), -Sum(Verfuegt))

=If(RowNo() = 1 or RowNo() = (countMaßnahmenrunde)+1, Sum(Pipeline), -Sum(Pipeline))

=If(RowNo() = 1 or RowNo() = (countMaßnahmenrunde)+1, Sum(Obligo), -Sum(Obligo))&lt;/LI-CODE&gt;&lt;P&gt;New offset expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=If(RowNo() = 1 or RowNo()=(countMaßnahmenrunde)+1, 0,
RangeSum(Above(Sum(Verfuegt) + Sum(Pipeline) + Sum(Obligo), 0, RowNo()))) &lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38473iBF188E6ABE6FF3DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 14:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732853#M506427</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-08-03T14:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Waterfall chart with one dimension and multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732864#M506428</link>
      <description>&lt;P&gt;Perfect, thank you so much!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I understand what you did there:&amp;nbsp; You made the negative numbers in the expression positive. In the offset, you still used the negative numbers. Therefore the offset is correct and they stack normally.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Genius! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Basically, instead of the if-clause one can also say&amp;nbsp;&lt;/P&gt;&lt;P&gt;fabs(sum(Verfuegt))&lt;BR /&gt;fabs(sum(Obligo))&lt;BR /&gt;fabs(sum(Pipeline))&lt;/P&gt;&lt;P&gt;and it works. You just want to convert a negative sum to a positive number, which the fabs function does &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 15:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732864#M506428</guid>
      <dc:creator>Apfelbaum</dc:creator>
      <dc:date>2020-08-03T15:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Waterfall chart with one dimension and multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732869#M506429</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more question: Do you know, how I can show that the numbers are negative?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because right now, the "Values on Data Points" Feature shows a positive number on the bars. Which might be confusing as the numbers originally are negative.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 15:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732869#M506429</guid>
      <dc:creator>Apfelbaum</dc:creator>
      <dc:date>2020-08-03T15:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Waterfall chart with one dimension and multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732887#M506430</link>
      <description>&lt;P&gt;Checking&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 17:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732887#M506430</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-08-03T17:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Waterfall chart with one dimension and multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732890#M506431</link>
      <description>&lt;P&gt;Added a new expression for displaying&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38479iA2BA4126D1778B22/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotation.png" alt="Annotation.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 17:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732890#M506431</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-08-03T17:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Waterfall chart with one dimension and multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732978#M506432</link>
      <description>&lt;P&gt;That works perfect. Thank you very much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 06:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Waterfall-chart-with-one-dimension-and-multiple/m-p/1732978#M506432</guid>
      <dc:creator>Apfelbaum</dc:creator>
      <dc:date>2020-08-04T06:53:13Z</dc:date>
    </item>
  </channel>
</rss>

