<?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: Create a Calendar to return items between status date changes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602611#M737475</link>
    <description>&lt;P&gt;Your last question first:&lt;BR /&gt;&lt;STRONG&gt;You can have a solution where you create the datavalues in between the "milestones".&lt;/STRONG&gt; It is rather straightforward and is often used. Then you create flags to indicate the statuses. &lt;STRONG&gt;Drawback is&lt;/STRONG&gt; that if you have 2 million tasks and each task have an average of 100 days extent then the helper table (calendar selection table) you create will become a 200 million row table which wouldn't be very efficient memory-wise and on top would be slow both in generating it in your load script and also during calculations.&lt;/P&gt;&lt;P&gt;Conclusion: For smaller datasets with shorter timespans this is not a problem - so this solution might work in a lot of cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The efficient solution for larger datasets:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Create a data island calendar for user selections and use set expressions to filter the data using the selected value(s) from the data island calendar.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can give you a sketch of this approach shortly - just give me an hour or two when I have some spare time to elaborate and I'll get back to you....&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 09:21:08 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2019-07-16T09:21:08Z</dc:date>
    <item>
      <title>Create a Calendar to return items between status date changes</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602273#M737474</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to find a calendar solution which will enable any status date filter selections to include all items in a given status on that date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In essence my data model is based on a list of tasks, each with a unique task ID as the primary key. These tasks have the following date attributes assigned to them: Start_Date, Analysis_Date, Implemented_Date and Closure_Date.&lt;/P&gt;&lt;P&gt;These dates correspond to the status of the task (Started, In Analysis, Implemented, Closed), although there is no status data field within the data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The standard calendars have been built on these dates, e.g. selecting Jun 2019 as the Start_MonthName, will list all tasks started in that month.&lt;/P&gt;&lt;P&gt;However, what I'm trying to do is create a calendar which will include all tasks that were in an open status at a given time. For example, a task&amp;nbsp;has a Start_Date of 12-Apr-2019 and an Analysis_Date of 23-Jun-2019. If selecting May 2019 in this calendar, it should include this task in selected data, as it was still in an open status at the time. Currently, the standard Start_Date calendar will only include&amp;nbsp;this task when Apr 2019 is selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary selecting a given Start_Date in this new calendar would return all tasks that were post Start_Date, but before Analysis_Date. I would apply the same to the subsequent status dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the solution require creating values for the dates in between the status change dates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602273#M737474</guid>
      <dc:creator>Qlik_ULG</dc:creator>
      <dc:date>2024-11-16T20:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Calendar to return items between status date changes</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602611#M737475</link>
      <description>&lt;P&gt;Your last question first:&lt;BR /&gt;&lt;STRONG&gt;You can have a solution where you create the datavalues in between the "milestones".&lt;/STRONG&gt; It is rather straightforward and is often used. Then you create flags to indicate the statuses. &lt;STRONG&gt;Drawback is&lt;/STRONG&gt; that if you have 2 million tasks and each task have an average of 100 days extent then the helper table (calendar selection table) you create will become a 200 million row table which wouldn't be very efficient memory-wise and on top would be slow both in generating it in your load script and also during calculations.&lt;/P&gt;&lt;P&gt;Conclusion: For smaller datasets with shorter timespans this is not a problem - so this solution might work in a lot of cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The efficient solution for larger datasets:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Create a data island calendar for user selections and use set expressions to filter the data using the selected value(s) from the data island calendar.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can give you a sketch of this approach shortly - just give me an hour or two when I have some spare time to elaborate and I'll get back to you....&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 09:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602611#M737475</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-07-16T09:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Calendar to return items between status date changes</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602645#M737476</link>
      <description>&lt;P&gt;Here is a sketch of how a solution with data islands can be constructed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Merknad 2019-07-16 115514.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15487i9B66D7AF8EEF6515/image-size/large?v=v2&amp;amp;px=999" role="button" title="Merknad 2019-07-16 115514.png" alt="Merknad 2019-07-16 115514.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a rough sketch and an implementation will need adjustments to work properly. For instance it would be necessary to let undeterminded dates be populated with a date value far into the future like 2999-01-01 or something like that then the logic would be working without becoming overcomplicated...&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 09:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602645#M737476</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-07-16T09:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Calendar to return items between status date changes</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602667#M737477</link>
      <description>&lt;P&gt;CHECK THE ATTACHED FILE ONCE.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 11:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602667#M737477</guid>
      <dc:creator>Akhil_Reddy</dc:creator>
      <dc:date>2019-07-16T11:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Calendar to return items between status date changes</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602673#M737478</link>
      <description>&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;CORRECTION:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;As I stated above the expression might not be correct and it isn't. I created a sample application in QlikView to illustrate how it works where correct set expressions are used.&lt;/P&gt;&lt;P&gt;A correct set expression should look like this:&lt;/P&gt;&lt;P&gt;{&amp;lt;RowID={"=($(=iSP)&amp;lt;=$(=Num(Min(iDATE))) AND $(=iEP)&amp;gt;=$(=Num(Max(iDATE))))"}&amp;gt;}&lt;/P&gt;&lt;P&gt;I have put that into a variable and used the variable in the particular expression(s) in a chart...&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 11:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602673#M737478</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-07-16T11:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Calendar to return items between status date changes</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602684#M737479</link>
      <description>&lt;P&gt;Here is a sample application to play around with to see how a more "&lt;STRONG&gt;Dynamic Interval Match"&lt;/STRONG&gt; can be done by combining various features of QlikView;&amp;nbsp; Set Expressions, Data Islands, $-sign expansion with variables.&lt;/P&gt;&lt;P&gt;The regular IntervalMatch can be too memory consuming and thus also calculation intensive with larger data sets. That's why this approach can &lt;STRONG&gt;make more sense with larger or big datasets&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 12:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1602684#M737479</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-07-16T12:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Calendar to return items between status date changes</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1604709#M737480</link>
      <description>&lt;P&gt;Thank you both for your assistance with this. Confirming that these have produced the desired result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data set in this case is relatively small, so memory issues are not a constraint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 15:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Calendar-to-return-items-between-status-date-changes/m-p/1604709#M737480</guid>
      <dc:creator>Qlik_ULG</dc:creator>
      <dc:date>2019-07-22T15:11:56Z</dc:date>
    </item>
  </channel>
</rss>

