<?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: New table with a calculated new variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/New-table-with-a-calculated-new-variable/m-p/1693545#M455853</link>
    <description>&lt;P&gt;Thank you very much, mr. Sunny!!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2020 06:12:08 GMT</pubDate>
    <dc:creator>Mr_small_t</dc:creator>
    <dc:date>2020-04-15T06:12:08Z</dc:date>
    <item>
      <title>New table with a calculated new variable</title>
      <link>https://community.qlik.com/t5/QlikView/New-table-with-a-calculated-new-variable/m-p/1680795#M455850</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I guess this is simple, but I have to ask anyway.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 1:&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached spreadsheet you can see my Table_original. I have to loop through each&amp;nbsp; ID to see if Duration&amp;gt;1. If Duration is 2 i have to add 1 line, if Duration is 3 I have to add 2 lines, and so on. The result should be as in Table_new.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 2:&lt;/P&gt;&lt;P&gt;I would like to create a variable IntSeries=(1,2,3,4,.....,100). What is the easiest way to create such a series?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Torbjørn&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-table-with-a-calculated-new-variable/m-p/1680795#M455850</guid>
      <dc:creator>Mr_small_t</dc:creator>
      <dc:date>2024-11-16T19:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: New table with a calculated new variable</title>
      <link>https://community.qlik.com/t5/QlikView/New-table-with-a-calculated-new-variable/m-p/1690006#M455851</link>
      <description>&lt;P&gt;Best I have for you is to have a look in the Design Blog area of Community where we have a bunch of how-to examples, that is likely the best place to get ideas on how to go about things.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 18:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-table-with-a-calculated-new-variable/m-p/1690006#M455851</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-04-01T18:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: New table with a calculated new variable</title>
      <link>https://community.qlik.com/t5/QlikView/New-table-with-a-calculated-new-variable/m-p/1690041#M455852</link>
      <description>&lt;P&gt;You can use While loop here&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table:
LOAD ID,
	 Yr_reg + IterNo() - 1 as Yr_reg,
	 Duration,
	 Level,
	 Code
While IterNo() &amp;lt;= Duration;
LOAD * INLINE [
    ID, Yr_reg, Duration, Level, Code
    23, 2016, 1, 1, K1
    23, 2017, 1, 2, K2
    23, 2018, 1, 3, K3
    23, 2019, 1, 4, K4
    23, 2020, 1, 5, K5
    25, 2016, 1, 1, S1
    25, 2018, 1, 2, S2
    25, 2019, 2, 3 and 4, S3
    27, 2017, 1, 1, K1
    27, 2019, 1, 3, K3
    28, 2020, 3, "3, 4, and 5", R3
];&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 01 Apr 2020 20:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-table-with-a-calculated-new-variable/m-p/1690041#M455852</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-04-01T20:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: New table with a calculated new variable</title>
      <link>https://community.qlik.com/t5/QlikView/New-table-with-a-calculated-new-variable/m-p/1693545#M455853</link>
      <description>&lt;P&gt;Thank you very much, mr. Sunny!!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 06:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-table-with-a-calculated-new-variable/m-p/1693545#M455853</guid>
      <dc:creator>Mr_small_t</dc:creator>
      <dc:date>2020-04-15T06:12:08Z</dc:date>
    </item>
  </channel>
</rss>

