<?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: Summe aufsteigend berechnen in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Summe-aufsteigend-berechnen/m-p/1743953#M57038</link>
    <description>&lt;P&gt;Versuche es mal mit der folgenden Grundlogik:&lt;/P&gt;&lt;P&gt;load *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Equipment = previous(Equipment),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rangesum(Störungsdauer, peek('kum. Dauer')), Störungsdauer) as [kum. Dauer];&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Equipment, Störungsbeginn, Störungsdauer&lt;BR /&gt;123456789, 01.01.2020, 5&lt;BR /&gt;123456789, 05.01.2020, 5&lt;BR /&gt;123456789, 21.05.2020, 50&lt;BR /&gt;123456789, 20.06.2020, 30&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Mit einem richtigen Daten-Load aus einer Tabelle, muss man diese in der Regel noch entsprechend sortieren, wie:&lt;/P&gt;&lt;P&gt;... order by Equipment, Störungsbeginn desc;&lt;/P&gt;&lt;P&gt;wofür man dann auch resident laden muss.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2020 12:35:30 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2020-09-15T12:35:30Z</dc:date>
    <item>
      <title>Summe aufsteigend berechnen</title>
      <link>https://community.qlik.com/t5/App-Development/Summe-aufsteigend-berechnen/m-p/1743895#M57026</link>
      <description>&lt;P&gt;Hallo Zusammen,&lt;/P&gt;&lt;P&gt;ich suche nach einer Möglichkeit eine Summe aufsteigend zu berechnen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Folgende Inline sei gegeben:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Equipment, Störungsbeginn, Störungsdauer&lt;BR /&gt;123456789, 01.01.2020, 5&lt;BR /&gt;123456789, 05.01.2020, 5&lt;BR /&gt;123456789, 21.05.2020, 50&lt;BR /&gt;123456789, 20.06.2020, 30&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ziel dabei ist es, eine neue Dimension zu erstellen, welche die Summe der Störungsdauer bildet. Hierbei soll aber nicht die Summe aller Störungen, sondern aufsteigend nach Störungsbeginn, berechnet werden.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Die Ergebnistabelle sollte also folgendes zeigen:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Equipment&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;Störungsbeginn&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;Störungsdauer&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;Summe Störungsdauer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;123456789&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;01.01.2020&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;5&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;123456789&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;05.01.2020&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;5&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;123456789&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;21.05.2020&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;50&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;123456789&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;20.06.2020&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;30&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kann mir hier jemand weiterhelfen?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vorab vielen Dank!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Summe-aufsteigend-berechnen/m-p/1743895#M57026</guid>
      <dc:creator>sebbyvogel123</dc:creator>
      <dc:date>2024-11-16T18:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Summe aufsteigend berechnen</title>
      <link>https://community.qlik.com/t5/App-Development/Summe-aufsteigend-berechnen/m-p/1743953#M57038</link>
      <description>&lt;P&gt;Versuche es mal mit der folgenden Grundlogik:&lt;/P&gt;&lt;P&gt;load *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Equipment = previous(Equipment),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rangesum(Störungsdauer, peek('kum. Dauer')), Störungsdauer) as [kum. Dauer];&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Equipment, Störungsbeginn, Störungsdauer&lt;BR /&gt;123456789, 01.01.2020, 5&lt;BR /&gt;123456789, 05.01.2020, 5&lt;BR /&gt;123456789, 21.05.2020, 50&lt;BR /&gt;123456789, 20.06.2020, 30&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Mit einem richtigen Daten-Load aus einer Tabelle, muss man diese in der Regel noch entsprechend sortieren, wie:&lt;/P&gt;&lt;P&gt;... order by Equipment, Störungsbeginn desc;&lt;/P&gt;&lt;P&gt;wofür man dann auch resident laden muss.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 12:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Summe-aufsteigend-berechnen/m-p/1743953#M57038</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-09-15T12:35:30Z</dc:date>
    </item>
  </channel>
</rss>

