<?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-evaluating a value obtained from a field in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Re-evaluating-a-value-obtained-from-a-field/m-p/2070966#M87846</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem related to app development, I have a delivery date field which is used to calculate the next approximate delivery date which works in a way that next expected should be previous delivery date + 365 days, which means that if the first delivery date for the user is 1/1/2011 the next delivery date should be 1/1/2012, giving us 1 expected delivery instance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to populate this to the current year,&amp;nbsp; i.e the user would be having 12 instances each corresponding to 1/1/2012, 1/1/2013, and so on till 1/1/2023. I am little unsure about how to achieve this. Also, I have to do this for all the user IDs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The model summary is like this...the table consists of the delivery date along with the user ID.&lt;/P&gt;
&lt;P&gt;Any help would be appreciated. Thanks in Advance.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 13 May 2023 18:52:28 GMT</pubDate>
    <dc:creator>deepanshuSh</dc:creator>
    <dc:date>2023-05-13T18:52:28Z</dc:date>
    <item>
      <title>Re-evaluating a value obtained from a field</title>
      <link>https://community.qlik.com/t5/App-Development/Re-evaluating-a-value-obtained-from-a-field/m-p/2070966#M87846</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem related to app development, I have a delivery date field which is used to calculate the next approximate delivery date which works in a way that next expected should be previous delivery date + 365 days, which means that if the first delivery date for the user is 1/1/2011 the next delivery date should be 1/1/2012, giving us 1 expected delivery instance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to populate this to the current year,&amp;nbsp; i.e the user would be having 12 instances each corresponding to 1/1/2012, 1/1/2013, and so on till 1/1/2023. I am little unsure about how to achieve this. Also, I have to do this for all the user IDs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The model summary is like this...the table consists of the delivery date along with the user ID.&lt;/P&gt;
&lt;P&gt;Any help would be appreciated. Thanks in Advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 18:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-evaluating-a-value-obtained-from-a-field/m-p/2070966#M87846</guid>
      <dc:creator>deepanshuSh</dc:creator>
      <dc:date>2023-05-13T18:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re-evaluating a value obtained from a field</title>
      <link>https://community.qlik.com/t5/App-Development/Re-evaluating-a-value-obtained-from-a-field/m-p/2070969#M87847</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/157695"&gt;@deepanshuSh&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Load USerID,
     DeliveryDate,
     AddYears(DeliveryDate,IterNo()-1) as NextDeliveryDate
FROM Source
while AddYears(DeliveryDate,IterNo()-1) &amp;lt;= Today();&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 22:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-evaluating-a-value-obtained-from-a-field/m-p/2070969#M87847</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-14T22:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re-evaluating a value obtained from a field</title>
      <link>https://community.qlik.com/t5/App-Development/Re-evaluating-a-value-obtained-from-a-field/m-p/2070980#M87851</link>
      <description>&lt;P&gt;Thanku&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;this what I was looking for, I was just missing the addyears function to the whole logic, +365 was not working properly.&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 03:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-evaluating-a-value-obtained-from-a-field/m-p/2070980#M87851</guid>
      <dc:creator>deepanshuSh</dc:creator>
      <dc:date>2023-05-14T03:47:14Z</dc:date>
    </item>
  </channel>
</rss>

