<?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: Working with Dates and Master Calendar in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1628964#M63397</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this expression&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=sum( {&amp;lt;date = {"&amp;gt;=$(StartDate)&amp;lt;$(EndDate)"} &amp;gt;} Rent)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 09:52:28 GMT</pubDate>
    <dc:creator>StarinieriG</dc:creator>
    <dc:date>2019-09-27T09:52:28Z</dc:date>
    <item>
      <title>Working with Dates and Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1628957#M63396</link>
      <description>&lt;P&gt;I need to sum the rents of different apartments over time where the tenant is changing and the rent can change as well over time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two dates in one table, a startdate, an enddate and the rent of the apartment. Furthermore&amp;nbsp; I have a master calendar with the column "date". Now I would like to have a graph with "date" on the x-axis and the "sum of the rents" on the Y-axis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use the line chart with the dimension "date" out of a master calendar and as a measure the following expression =sum(if(date &amp;gt; [StartDate] and date &amp;lt; [EndDate] , Rent))&lt;/P&gt;&lt;P&gt;it works. However, the performance is really slow. I would like to solve the problem with a set analysis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried something like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=sum( {&amp;lt;date = {'&amp;gt;=$(StartDate)'},&amp;nbsp;date = {'&amp;lt;$(EndDate)'} &amp;gt;} Rent)&lt;/P&gt;&lt;P&gt;But this does not work.&amp;nbsp;Do you know how to do it?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 08:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1628957#M63396</guid>
      <dc:creator>janruffner</dc:creator>
      <dc:date>2021-04-02T08:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Dates and Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1628964#M63397</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this expression&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=sum( {&amp;lt;date = {"&amp;gt;=$(StartDate)&amp;lt;$(EndDate)"} &amp;gt;} Rent)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 09:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1628964#M63397</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-09-27T09:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Dates and Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1628970#M63398</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I get a value which does not change over time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1628970#M63398</guid>
      <dc:creator>janruffner</dc:creator>
      <dc:date>2019-09-27T10:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Dates and Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1629021#M63399</link>
      <description>&lt;P&gt;You need to resolve your start + end date per&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/IntervalMatch/ba-p/1464547" target="_self"&gt;IntervalMatch&lt;/A&gt; to a real date which is then linked to your master-calendar.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 11:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1629021#M63399</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-09-27T11:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Dates and Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1629166#M63400</link>
      <description>&lt;P&gt;Could you explain how you would do it?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 15:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1629166#M63400</guid>
      <dc:creator>janruffner</dc:creator>
      <dc:date>2019-09-27T15:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Dates and Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1629416#M63401</link>
      <description>&lt;P&gt;Just use a few dummy-data and apply the intervalmatch-logic like described in the link and to comprehend the logic and then play a bit with the results.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 07:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-Dates-and-Master-Calendar/m-p/1629416#M63401</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-09-30T07:07:04Z</dc:date>
    </item>
  </channel>
</rss>

