<?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: Only display cumulative total when condition is met in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Only-display-cumulative-total-when-condition-is-met/m-p/42716#M2902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try showing missing values as gaps in the presentation properties?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2018 23:16:10 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2018-04-02T23:16:10Z</dc:date>
    <item>
      <title>Only display cumulative total when condition is met</title>
      <link>https://community.qlik.com/t5/App-Development/Only-display-cumulative-total-when-condition-is-met/m-p/42715#M2901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm building a line chart that has a cumulative total for the current and prior year (using set analysis) for the % of filled seats by the number of days to the event (where 0 is the day of the event).&amp;nbsp; For the prior year, all events have happened so the cumulative total builds until 0.&amp;nbsp; For the current year, not all events have happened so the cumulative total builds until a certain point and then shows the same number (flat lines) through day 0 since no data is available for future # of days to the event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want it to display the same cumulative value for the remainder of the current year.&amp;nbsp; Once I reach the next value for days to event that hasn't happened yet, I want the line to stop.&amp;nbsp; I do want to show all cumulative totals for the prior year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I accomplish this?&amp;nbsp; Would it be a combination of set analysis and an if statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my formula to calculate the % of filled seats (uses set analysis to isolate the current year - I have another one for the prior year):&lt;/P&gt;&lt;P&gt;RangeSum(Above(Total sum({$&amp;lt;&lt;/P&gt;&lt;P&gt;Year={$(=max(Year))}&amp;gt;}ReservedSeats),0,RowNo(Total)))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;(Sum({$&amp;lt;Year={$(=max(Year))}&amp;gt;}&lt;/P&gt;&lt;P&gt;TOTAL aggr(max({$&amp;lt;Year={$(=max(Year))}&amp;gt;}AvailableSeats),EventCounter, City)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 20:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-display-cumulative-total-when-condition-is-met/m-p/42715#M2901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-02T20:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Only display cumulative total when condition is met</title>
      <link>https://community.qlik.com/t5/App-Development/Only-display-cumulative-total-when-condition-is-met/m-p/42716#M2902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try showing missing values as gaps in the presentation properties?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 23:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-display-cumulative-total-when-condition-is-met/m-p/42716#M2902</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-04-02T23:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Only display cumulative total when condition is met</title>
      <link>https://community.qlik.com/t5/App-Development/Only-display-cumulative-total-when-condition-is-met/m-p/42717#M2903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since it is a cumulative total, there technically aren't missing values.&amp;nbsp; But, it is set to show missing values as gaps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 13:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-display-cumulative-total-when-condition-is-met/m-p/42717#M2903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-03T13:32:05Z</dc:date>
    </item>
  </channel>
</rss>

