<?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 Is it possible to do an arithmetic progression by year ? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-do-an-arithmetic-progression-by-year/m-p/1997759#M82630</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;
&lt;P&gt;Can you please help me to have this result&lt;/P&gt;
&lt;TABLE width="683"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="47px" style="font-weight: 400;"&gt;Evolution type&lt;/TD&gt;
&lt;TD width="112.683px" height="47px" style="font-weight: 400;"&gt;Nb Student N-1&lt;/TD&gt;
&lt;TD width="112.7px" height="47px" style="font-weight: 400;"&gt;Nb Student N/N+1&lt;/TD&gt;
&lt;TD width="112.683px" height="47px" style="font-weight: 400;"&gt;Nb Student N+1/N+2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;D=&amp;gt; C&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;B (constant)&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;A (constant)&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;C=&amp;gt;D&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;A=&amp;gt;C&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;0&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;C (constant)&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;0&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have this data initially ?&lt;/P&gt;
&lt;TABLE width="722px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="47px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="137.833px" height="47px" style="font-weight: 400;"&gt;Evaluation year N-1&lt;/TD&gt;
&lt;TD width="137.833px" height="47px" style="font-weight: 400;"&gt;Evaluation year N&lt;/TD&gt;
&lt;TD width="151.783px" height="47px" style="font-weight: 400;"&gt;Evaluation year N+1&lt;/TD&gt;
&lt;TD width="148.8px" height="47px" style="font-weight: 400;"&gt;Evaluation year N+2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 1&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;D&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 2&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;D&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 3&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;B&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;B&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;B&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 4&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;A&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;A&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;A&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 5&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;A&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;D&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 6&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;D&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2022 15:34:49 GMT</pubDate>
    <dc:creator>fjdriouich</dc:creator>
    <dc:date>2022-10-27T15:34:49Z</dc:date>
    <item>
      <title>Is it possible to do an arithmetic progression by year ?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-do-an-arithmetic-progression-by-year/m-p/1997759#M82630</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;
&lt;P&gt;Can you please help me to have this result&lt;/P&gt;
&lt;TABLE width="683"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="47px" style="font-weight: 400;"&gt;Evolution type&lt;/TD&gt;
&lt;TD width="112.683px" height="47px" style="font-weight: 400;"&gt;Nb Student N-1&lt;/TD&gt;
&lt;TD width="112.7px" height="47px" style="font-weight: 400;"&gt;Nb Student N/N+1&lt;/TD&gt;
&lt;TD width="112.683px" height="47px" style="font-weight: 400;"&gt;Nb Student N+1/N+2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;D=&amp;gt; C&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;B (constant)&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;A (constant)&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;C=&amp;gt;D&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;A=&amp;gt;C&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;0&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="343.933px" height="25px" style="font-weight: 400;"&gt;C (constant)&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;0&lt;/TD&gt;
&lt;TD width="112.7px" height="25px" style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD width="112.683px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have this data initially ?&lt;/P&gt;
&lt;TABLE width="722px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="47px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="137.833px" height="47px" style="font-weight: 400;"&gt;Evaluation year N-1&lt;/TD&gt;
&lt;TD width="137.833px" height="47px" style="font-weight: 400;"&gt;Evaluation year N&lt;/TD&gt;
&lt;TD width="151.783px" height="47px" style="font-weight: 400;"&gt;Evaluation year N+1&lt;/TD&gt;
&lt;TD width="148.8px" height="47px" style="font-weight: 400;"&gt;Evaluation year N+2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 1&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;D&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 2&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;D&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 3&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;B&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;B&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;B&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 4&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;A&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;A&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;A&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 5&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;A&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;D&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="144.75px" height="25px" style="font-weight: 400;"&gt;Student 6&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;D&lt;/TD&gt;
&lt;TD width="137.833px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="151.783px" height="25px" style="font-weight: 400;"&gt;C&lt;/TD&gt;
&lt;TD width="148.8px" height="25px" style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 15:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-do-an-arithmetic-progression-by-year/m-p/1997759#M82630</guid>
      <dc:creator>fjdriouich</dc:creator>
      <dc:date>2022-10-27T15:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to do an arithmetic progression by year ?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-do-an-arithmetic-progression-by-year/m-p/1997928#M82653</link>
      <description>&lt;P&gt;as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Main:
Load *
,[EvaluationyearN-1]&amp;amp;[EvaluationyearN] as 	[NbStudentN-1]
,[EvaluationyearN]&amp;amp;[EvaluationyearN+1] as 	[NbStudentN/N+1]
,[EvaluationyearN+1]&amp;amp;[EvaluationyearN+2] as 	[NbStudentN+1/N+2]
;
load * inline [
  Student,EvaluationyearN-1,EvaluationyearN,EvaluationyearN+1,EvaluationyearN+2
Student 1,D,C,C, 
Student 2,C,D,C, 
Student 3,B,B,B, 
Student 4,A,A,A, 
Student 5,A,C,D, 
Student 6,D,C,C
];

CrossTable(Compare,Values,1)
Dim:
Load 
Student
,[NbStudentN-1]
,[NbStudentN/N+1]
,[NbStudentN+1/N+2]
Resident Main;

left Join(Dim)
Labels:
Load * inline [
Values,Label
DC,D=&amp;gt;C
BB,B(Constant)
AA,A(Constant)
CD,C=&amp;gt;D
AC,A=&amp;gt;C
CC,C(Constant)
];

exit Script;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinieme12_0-1666938742760.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92368i7CC0D892D97D5EEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinieme12_0-1666938742760.png" alt="vinieme12_0-1666938742760.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Label&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measures&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=Count({&amp;lt;Compare={'NbStudentN-1'}&amp;gt;}Distinct Student)&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;Compare={'NbStudentN/N+1'}&amp;gt;}Distinct Student)&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;Compare={'NbStudentN+1/N+2'}&amp;gt;}Distinct Student)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 06:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-do-an-arithmetic-progression-by-year/m-p/1997928#M82653</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-10-28T06:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to do an arithmetic progression by year ?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-do-an-arithmetic-progression-by-year/m-p/2000024#M82826</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thank you very much for your response&lt;/P&gt;
&lt;P&gt;Actually what I would like to have is an arithmetic propgression with a result like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fjdriouich_0-1667469517789.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92802iCBE881A2DE98487B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fjdriouich_0-1667469517789.png" alt="fjdriouich_0-1667469517789.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And I have all the datats concerning the marks of the student. I would like to have a resultat depending on the number of year i choose&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 10:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-do-an-arithmetic-progression-by-year/m-p/2000024#M82826</guid>
      <dc:creator>fjdriouich</dc:creator>
      <dc:date>2022-11-03T10:01:11Z</dc:date>
    </item>
  </channel>
</rss>

