<?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: Setting up a start range for a range table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-up-a-start-range-for-a-range-table/m-p/1778281#M717330</link>
    <description>&lt;P&gt;I thought of that, however I end up with&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RogerG_0-1611881217017.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/47959i44F4F4E88C61DE50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RogerG_0-1611881217017.png" alt="RogerG_0-1611881217017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what I tried was&amp;nbsp;&lt;/P&gt;&lt;P&gt;phase&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;min(phaseDate) as minphase&lt;/P&gt;&lt;P&gt;resident phase&lt;/P&gt;&lt;P&gt;group by order&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then&amp;nbsp;&lt;/P&gt;&lt;P&gt;lowestPhases:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;min(minphase)-1 as firstphase;&lt;/P&gt;&lt;P&gt;resident Phase;&lt;/P&gt;&lt;P&gt;put putting it all back in one table is a mess.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2021 00:50:31 GMT</pubDate>
    <dc:creator>RogerG</dc:creator>
    <dc:date>2021-01-29T00:50:31Z</dc:date>
    <item>
      <title>Setting up a start range for a range table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-up-a-start-range-for-a-range-table/m-p/1777909#M717328</link>
      <description>&lt;P&gt;if I have this table&lt;/P&gt;&lt;P&gt;Hello all, If I have a table&lt;/P&gt;&lt;P&gt;phases:&lt;BR /&gt;load * inline [&lt;BR /&gt;Order, Phase, phasedate&lt;BR /&gt;1, phase1, null()&lt;BR /&gt;2, phase2, null()&lt;BR /&gt;3, phase3, 7/1/2020&lt;BR /&gt;4, phase4, null()&lt;BR /&gt;5, phase5, null()&lt;BR /&gt;6, phase4, 9/1/2020&lt;BR /&gt;];&lt;BR /&gt;costs:&lt;BR /&gt;load * inline [&lt;BR /&gt;project, cost, costdate&lt;BR /&gt;p1, 1000, 6/1/2021&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can set Phase 3 start and finish dates (7/1/2020 - 8/31/2020), and phase 4 (9/1/2020 - 12/31/9999)&lt;/P&gt;&lt;P&gt;but I don't know how to set Phase 2 (1/1/1900 -6/30/2020)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any suggestions would be appreciated&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 22:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-up-a-start-range-for-a-range-table/m-p/1777909#M717328</guid>
      <dc:creator>RogerG</dc:creator>
      <dc:date>2021-01-27T22:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up a start range for a range table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-up-a-start-range-for-a-range-table/m-p/1778007#M717329</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95702"&gt;@RogerG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;phases:&lt;BR /&gt;load * inline [&lt;BR /&gt;Order, Phase, phasedate&lt;BR /&gt;1, phase1, null()&lt;BR /&gt;2, phase2, null()&lt;BR /&gt;3, phase3, 7/1/2020&lt;BR /&gt;5, phase5, null()&lt;BR /&gt;6, phase4, 9/1/2020&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Load *, if(phasedate &amp;lt;&amp;gt; 'null()', phasedate, if(Peek('endDate') = '12/31/9999' or phasedate='null()', '1/1/1900', Date(Peek('endDate')-1))) as startDate,&lt;BR /&gt;if(RowNo()= 1 or peek('startDate') = '1/1/1900', '12/31/9999', Date(peek('phasedate')-1)) as endDate Resident phases order by Phase desc;&lt;/P&gt;&lt;P&gt;DROP Table phases;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-up-a-start-range-for-a-range-table/m-p/1778007#M717329</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-01-28T09:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up a start range for a range table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-up-a-start-range-for-a-range-table/m-p/1778281#M717330</link>
      <description>&lt;P&gt;I thought of that, however I end up with&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RogerG_0-1611881217017.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/47959i44F4F4E88C61DE50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RogerG_0-1611881217017.png" alt="RogerG_0-1611881217017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what I tried was&amp;nbsp;&lt;/P&gt;&lt;P&gt;phase&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;min(phaseDate) as minphase&lt;/P&gt;&lt;P&gt;resident phase&lt;/P&gt;&lt;P&gt;group by order&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then&amp;nbsp;&lt;/P&gt;&lt;P&gt;lowestPhases:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;min(minphase)-1 as firstphase;&lt;/P&gt;&lt;P&gt;resident Phase;&lt;/P&gt;&lt;P&gt;put putting it all back in one table is a mess.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 00:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-up-a-start-range-for-a-range-table/m-p/1778281#M717330</guid>
      <dc:creator>RogerG</dc:creator>
      <dc:date>2021-01-29T00:50:31Z</dc:date>
    </item>
  </channel>
</rss>

