<?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: Transform from/to dates in a monthly table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Transform-from-to-dates-in-a-monthly-table/m-p/2518048#M106022</link>
    <description>&lt;P&gt;Try while loop to create multiple items using conditions with IterNo()&lt;/P&gt;&lt;P&gt;Table:&lt;BR /&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;INLINE [&lt;BR /&gt;Personalnumber, Status, StartDate, EndDate&lt;BR /&gt;1, NEK, 01.12.2024, 28.02.2025&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Table_v2:&lt;BR /&gt;load Personalnumber, Status,&lt;BR /&gt;Year(monthstart(date#(StartDate,'DD.MM.YYYY'),IterNo()-1)) as Year,&lt;BR /&gt;month(monthstart(date#(StartDate,'DD.MM.YYYY'),IterNo()-1)) as Month&lt;BR /&gt;Resident Table&lt;BR /&gt;while monthstart(date#(StartDate,'DD.MM.YYYY'),IterNo()-1) &amp;lt;=MonthStart(date#(EndDate,'DD.MM.YYYY'));&lt;/P&gt;&lt;P&gt;drop table Table;&lt;/P&gt;&lt;P&gt;Exit Script;&lt;/P&gt;</description>
    <pubDate>Fri, 16 May 2025 11:23:07 GMT</pubDate>
    <dc:creator>Dementor</dc:creator>
    <dc:date>2025-05-16T11:23:07Z</dc:date>
    <item>
      <title>Transform from/to dates in a monthly table</title>
      <link>https://community.qlik.com/t5/App-Development/Transform-from-to-dates-in-a-monthly-table/m-p/2518042#M106020</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i have the following table&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Personalnumber&lt;/STRONG&gt; &lt;STRONG&gt;Status&lt;/STRONG&gt; &lt;STRONG&gt;from date&lt;/STRONG&gt; &lt;STRONG&gt;to date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1, NEK, 01.12.2024, 28.02.2025&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to transform in this format&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Personalnumber &lt;/STRONG&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt; &lt;STRONG&gt;Year&lt;/STRONG&gt; &lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1, NEK, 2024, 12&lt;/P&gt;&lt;P&gt;1, NEK, 2025, 1&lt;/P&gt;&lt;P&gt;1, NEK, 2025, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion what the best way is to transform this?&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 10:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Transform-from-to-dates-in-a-monthly-table/m-p/2518042#M106020</guid>
      <dc:creator>qlikconsultant</dc:creator>
      <dc:date>2025-05-16T10:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transform from/to dates in a monthly table</title>
      <link>https://community.qlik.com/t5/App-Development/Transform-from-to-dates-in-a-monthly-table/m-p/2518048#M106022</link>
      <description>&lt;P&gt;Try while loop to create multiple items using conditions with IterNo()&lt;/P&gt;&lt;P&gt;Table:&lt;BR /&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;INLINE [&lt;BR /&gt;Personalnumber, Status, StartDate, EndDate&lt;BR /&gt;1, NEK, 01.12.2024, 28.02.2025&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Table_v2:&lt;BR /&gt;load Personalnumber, Status,&lt;BR /&gt;Year(monthstart(date#(StartDate,'DD.MM.YYYY'),IterNo()-1)) as Year,&lt;BR /&gt;month(monthstart(date#(StartDate,'DD.MM.YYYY'),IterNo()-1)) as Month&lt;BR /&gt;Resident Table&lt;BR /&gt;while monthstart(date#(StartDate,'DD.MM.YYYY'),IterNo()-1) &amp;lt;=MonthStart(date#(EndDate,'DD.MM.YYYY'));&lt;/P&gt;&lt;P&gt;drop table Table;&lt;/P&gt;&lt;P&gt;Exit Script;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 11:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Transform-from-to-dates-in-a-monthly-table/m-p/2518048#M106022</guid>
      <dc:creator>Dementor</dc:creator>
      <dc:date>2025-05-16T11:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Transform from/to dates in a monthly table</title>
      <link>https://community.qlik.com/t5/App-Development/Transform-from-to-dates-in-a-monthly-table/m-p/2518049#M106023</link>
      <description>&lt;P&gt;Can you share sample data set and expected output ?&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 11:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Transform-from-to-dates-in-a-monthly-table/m-p/2518049#M106023</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2025-05-16T11:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Transform from/to dates in a monthly table</title>
      <link>https://community.qlik.com/t5/App-Development/Transform-from-to-dates-in-a-monthly-table/m-p/2519048#M106173</link>
      <description>&lt;P&gt;It's in my post.&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 12:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Transform-from-to-dates-in-a-monthly-table/m-p/2519048#M106173</guid>
      <dc:creator>qlikconsultant</dc:creator>
      <dc:date>2025-05-26T12:49:42Z</dc:date>
    </item>
  </channel>
</rss>

