<?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 Count items based on two dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-items-based-on-two-dates/m-p/2102841#M90097</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a table listing all tickets with an open date and a closed date and a location (I have more fields but not relevant here). I'd like to have one line chart, one line showing how many tickets have been opened based on YearMonth dimension, a second line showing how many tickets have been closed, finally a third showing an accumulation of the difference. Since this is one visualization out of many on one page, I have to keep the filters working on this visualization as well.&lt;/P&gt;
&lt;P&gt;[Data]:&lt;/P&gt;
&lt;P&gt;ticket, location, dateopen, dateclosed&lt;/P&gt;
&lt;P&gt;1, EU, 1-aug-2022, 5-aug-2022&lt;/P&gt;
&lt;P&gt;2, EU, 2-aug-2022, 6-sep-2022&lt;/P&gt;
&lt;P&gt;3, EU, 3-aug-2022, 7-oct-2022&lt;/P&gt;
&lt;P&gt;4, EU, 4-oct-2022, 8-oct-2022&lt;/P&gt;
&lt;P&gt;4, US, 5-aug-2022, 9-sep-2022&lt;/P&gt;
&lt;P&gt;5, US, 6-sep-2022, 10-sep-2022&lt;/P&gt;
&lt;P&gt;6, US,&amp;nbsp; 7-sep-2022, 11-oct-2022&lt;/P&gt;
&lt;P&gt;7, US, 8-oct-2022, null&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Desired results (as a graph, displayed as a table here for simplicity) - no country filter set&lt;/P&gt;
&lt;P&gt;MonthYear, #opened, # closed, accumulated&lt;/P&gt;
&lt;P&gt;aug-2022, 4, 1, 3&lt;/P&gt;
&lt;P&gt;sep-2022, 2, 3, 2&lt;/P&gt;
&lt;P&gt;oct-2022, 2, 3, 1&lt;/P&gt;
&lt;P&gt;If i set country filter to EU:&lt;/P&gt;
&lt;P&gt;MonthYear, #opened, # closed, accumulated&lt;/P&gt;
&lt;P&gt;aug-2022, 3, 1, 2&lt;/P&gt;
&lt;P&gt;sep-2022, 0, 1, 1&lt;/P&gt;
&lt;P&gt;oct-2022, 1, 2, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found a way to do it but is extremely inefficient and the Qlik takes a very long time to load. I'm sure there is a better way. Shall I do this from load editor directly? Open to any suggestions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Sun, 06 Aug 2023 07:46:30 GMT</pubDate>
    <dc:creator>nlagas</dc:creator>
    <dc:date>2023-08-06T07:46:30Z</dc:date>
    <item>
      <title>Count items based on two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Count-items-based-on-two-dates/m-p/2102841#M90097</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a table listing all tickets with an open date and a closed date and a location (I have more fields but not relevant here). I'd like to have one line chart, one line showing how many tickets have been opened based on YearMonth dimension, a second line showing how many tickets have been closed, finally a third showing an accumulation of the difference. Since this is one visualization out of many on one page, I have to keep the filters working on this visualization as well.&lt;/P&gt;
&lt;P&gt;[Data]:&lt;/P&gt;
&lt;P&gt;ticket, location, dateopen, dateclosed&lt;/P&gt;
&lt;P&gt;1, EU, 1-aug-2022, 5-aug-2022&lt;/P&gt;
&lt;P&gt;2, EU, 2-aug-2022, 6-sep-2022&lt;/P&gt;
&lt;P&gt;3, EU, 3-aug-2022, 7-oct-2022&lt;/P&gt;
&lt;P&gt;4, EU, 4-oct-2022, 8-oct-2022&lt;/P&gt;
&lt;P&gt;4, US, 5-aug-2022, 9-sep-2022&lt;/P&gt;
&lt;P&gt;5, US, 6-sep-2022, 10-sep-2022&lt;/P&gt;
&lt;P&gt;6, US,&amp;nbsp; 7-sep-2022, 11-oct-2022&lt;/P&gt;
&lt;P&gt;7, US, 8-oct-2022, null&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Desired results (as a graph, displayed as a table here for simplicity) - no country filter set&lt;/P&gt;
&lt;P&gt;MonthYear, #opened, # closed, accumulated&lt;/P&gt;
&lt;P&gt;aug-2022, 4, 1, 3&lt;/P&gt;
&lt;P&gt;sep-2022, 2, 3, 2&lt;/P&gt;
&lt;P&gt;oct-2022, 2, 3, 1&lt;/P&gt;
&lt;P&gt;If i set country filter to EU:&lt;/P&gt;
&lt;P&gt;MonthYear, #opened, # closed, accumulated&lt;/P&gt;
&lt;P&gt;aug-2022, 3, 1, 2&lt;/P&gt;
&lt;P&gt;sep-2022, 0, 1, 1&lt;/P&gt;
&lt;P&gt;oct-2022, 1, 2, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found a way to do it but is extremely inefficient and the Qlik takes a very long time to load. I'm sure there is a better way. Shall I do this from load editor directly? Open to any suggestions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 07:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-items-based-on-two-dates/m-p/2102841#M90097</guid>
      <dc:creator>nlagas</dc:creator>
      <dc:date>2023-08-06T07:46:30Z</dc:date>
    </item>
  </channel>
</rss>

