<?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: Issue in days calculation while plotting Gantt Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-in-days-calculation-while-plotting-Gantt-Chart/m-p/1143430#M20355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on the data, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(end_date) - Sum(start_date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;might return the correct total durations per activity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Aug 2016 13:44:45 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-08-21T13:44:45Z</dc:date>
    <item>
      <title>Issue in days calculation while plotting Gantt Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-days-calculation-while-plotting-Gantt-Chart/m-p/1143429#M20354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have an issue in calculating time taken for activities which is used in plotting a gannt chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In Qlik app, I am calculating activity wise (field - activity)&amp;nbsp; time taken &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(fields - start_date, end_date). For this, I am subtracting activity wise max(end_date) - min(start_date).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;But, there is an issue. Certain activities are repeated after certain time. So, the system is calculating time taken for an activity based on max and min date, which is wrong in few scenarios. For example. If an activity1 is done between 18-08-2016 and 25-08-2016, and activity2 is done between 25-8-2016 to 30-08-2016 and activity3 is done 30-8-16 - 2-9-16. Again activity1 is done from 02-9-16 to 8-9-16. In this scenario, for activity1, the system is calculating time taken as 21 days (18-8-16&amp;nbsp; to 08-9-16), while it should be ; 7 days+ 6 days = 13 days.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Please help me in calculating the time taken properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Thank You,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Rahul Krishan Goyal&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 10:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-days-calculation-while-plotting-Gantt-Chart/m-p/1143429#M20354</guid>
      <dc:creator />
      <dc:date>2016-08-21T10:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in days calculation while plotting Gantt Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-days-calculation-while-plotting-Gantt-Chart/m-p/1143430#M20355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on the data, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(end_date) - Sum(start_date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;might return the correct total durations per activity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 13:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-days-calculation-while-plotting-Gantt-Chart/m-p/1143430#M20355</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-08-21T13:44:45Z</dc:date>
    </item>
  </channel>
</rss>

