<?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: Calculate current/ongoing projects per month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-current-ongoing-projects-per-month/m-p/1550705#M39692</link>
    <description>&lt;P&gt;You can build an Interval Match table that enables you to do this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created an inline table of your data and a sample IntervalMatch table.&amp;nbsp; I hard-coded everything, but for a permanent solution, you'd want to calculate the YearMonth fields and create the IntervalMatch table using logic similar to creating a MasterCalendar Table.&lt;/P&gt;&lt;P&gt;The Interval Match does a nice job of linking each project to each month that it occurs in.&amp;nbsp; By removing the "day" part of the date and using just Year and Month, it enables you to ignore when in the month and just that it was in the month.&lt;/P&gt;&lt;P&gt;See the attached Sample.qvf file.&lt;/P&gt;&lt;P&gt;You will need to be careful in how you use the Interval Match data and clean-up should be done to remove the synthetic key, but this should point you in the right direction.&amp;nbsp; There may be other options, but this has worked for me in the past.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 18:44:20 GMT</pubDate>
    <dc:creator>gwoodard</dc:creator>
    <dc:date>2019-02-28T18:44:20Z</dc:date>
    <item>
      <title>Calculate current/ongoing projects per month</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-current-ongoing-projects-per-month/m-p/1550669#M39691</link>
      <description>&lt;P&gt;I have a list of different projects with&amp;nbsp;their planned start/ finish date and actual start/finish data.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center"&gt;&lt;SPAN class="lia-message-image-wrapper lia-message-image-actions-narrow lia-message-image-actions-below"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Gantt chart Data.PNG" style="width: 605px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5161i2641CBF53A7757E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Gantt chart Data.PNG" alt="Gantt chart Data.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I want to show a KPI that displays count of projects ongoing or newly started in a particular month.&amp;nbsp; For example, I build a KPI with title as current month( based on Actual Start/ Finish date) where project name jkl should be counted in the month of March(when project has its actual start date) as well as April( where the project is ongoing). So if a project has a start date of February and end date of April, the project should be counted in each and every month between start and end date. I tried using master calendar measure but it doesn't have the option of showing ongoing months.&lt;/P&gt;&lt;P&gt;Can any one help what is the best way to show such KPI in dash board ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-current-ongoing-projects-per-month/m-p/1550669#M39691</guid>
      <dc:creator>arpdharia</dc:creator>
      <dc:date>2024-11-16T21:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate current/ongoing projects per month</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-current-ongoing-projects-per-month/m-p/1550705#M39692</link>
      <description>&lt;P&gt;You can build an Interval Match table that enables you to do this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created an inline table of your data and a sample IntervalMatch table.&amp;nbsp; I hard-coded everything, but for a permanent solution, you'd want to calculate the YearMonth fields and create the IntervalMatch table using logic similar to creating a MasterCalendar Table.&lt;/P&gt;&lt;P&gt;The Interval Match does a nice job of linking each project to each month that it occurs in.&amp;nbsp; By removing the "day" part of the date and using just Year and Month, it enables you to ignore when in the month and just that it was in the month.&lt;/P&gt;&lt;P&gt;See the attached Sample.qvf file.&lt;/P&gt;&lt;P&gt;You will need to be careful in how you use the Interval Match data and clean-up should be done to remove the synthetic key, but this should point you in the right direction.&amp;nbsp; There may be other options, but this has worked for me in the past.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 18:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-current-ongoing-projects-per-month/m-p/1550705#M39692</guid>
      <dc:creator>gwoodard</dc:creator>
      <dc:date>2019-02-28T18:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate current/ongoing projects per month</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-current-ongoing-projects-per-month/m-p/1550724#M39694</link>
      <description>Hi Greg,&lt;BR /&gt;&lt;BR /&gt;Thanks for your prompt response. But the qvf you provided, I cannot open it on Qlik Sense server. Also I don't have admin permissions to open any external file with the help of QMC. Can you just post screenshots of the content present in qvf file over here?</description>
      <pubDate>Thu, 28 Feb 2019 19:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-current-ongoing-projects-per-month/m-p/1550724#M39694</guid>
      <dc:creator>arpdharia</dc:creator>
      <dc:date>2019-02-28T19:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate current/ongoing projects per month</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-current-ongoing-projects-per-month/m-p/1550731#M39695</link>
      <description>&lt;P&gt;Here's my load script and I'll attach a few pictures of a table and stacked bar visualization.&lt;/P&gt;&lt;P&gt;ProjectDates:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;Project Name,Actual Start,Actual Finish,ActualStartYearMonth,ActualFinishYearMonth&lt;BR /&gt;abc,01/05/2016,01/30/2016,201601,201601&lt;BR /&gt;def,01/01/2016,01/06/2016,201601,201601&lt;BR /&gt;ghi,02/02/2016,02/25/2016,201602,201602&lt;BR /&gt;jkl,03/28/2016,04/10/2016,201603,201604&lt;BR /&gt;mno,03/12/2016,03/20/2016,201603,201603&lt;BR /&gt;pqr,04/02/2016,04/10/2016,201604,201604&lt;BR /&gt;stu,06/29/2016,06/30/2016,201606,201606&lt;BR /&gt;vwx,06/28/2016,06/28/2016,201606,201606&lt;BR /&gt;yz,07/10/2016,07/12/2016,201607,201607&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IntervalData:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;IntervalYear,IntervalMonth,IntervalYearMonth&lt;BR /&gt;2016,1,201601&lt;BR /&gt;2016,2,201602&lt;BR /&gt;2016,3,201603&lt;BR /&gt;2016,4,201604&lt;BR /&gt;2016,5,201605&lt;BR /&gt;2016,6,201606&lt;BR /&gt;2016,7,201607&lt;BR /&gt;2016,8,201608&lt;BR /&gt;2016,9,201609&lt;BR /&gt;2016,10,201610&lt;BR /&gt;2016,11,201611&lt;BR /&gt;2016,12,201612&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Inner Join IntervalMatch ( IntervalYearMonth )&lt;BR /&gt;LOAD ActualStartYearMonth, ActualFinishYearMonth&lt;BR /&gt;Resident ProjectDates;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 19:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-current-ongoing-projects-per-month/m-p/1550731#M39695</guid>
      <dc:creator>gwoodard</dc:creator>
      <dc:date>2019-02-28T19:26:42Z</dc:date>
    </item>
  </channel>
</rss>

