<?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 Tracking Inflows Over Time in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Tracking-Inflows-Over-Time/m-p/2523963#M106841</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m sure this is something fairly straightforward, but it’s had me going in circles all day!&lt;/P&gt;&lt;P&gt;I have a dataset covering 2014 to 2025, with 2014 as the base year.&lt;BR /&gt;My goal is to flag or extract all investment inflows over this period specifically:&lt;/P&gt;&lt;P&gt;The first time a customer brought in funds (initial investment)&lt;/P&gt;&lt;P&gt;Any subsequent inflows (top-ups) in the following years&lt;/P&gt;&lt;P&gt;While avoiding double-counting or re-flagging previous amounts&lt;/P&gt;&lt;P&gt;I initially used Exists() to filter out customers already present in the base year to identify new ones per year. However, I’m struggling to capture top-ups from existing customers who bring in new funds in later years.&lt;/P&gt;&lt;P&gt;Has anyone solved a similar use case, or can recommend a reliable way to model this in Qlik?&lt;/P&gt;&lt;P&gt;preferably in the script.&lt;/P&gt;&lt;P&gt;Thanks so much in advance! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&amp;nbsp;@&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038" target="_blank" rel="noopener"&gt;marcus_sommer&lt;/A&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;@&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326" target="_blank" rel="noopener"&gt;Lech_Miszkiewicz&lt;/A&gt;&amp;nbsp;@&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29224" target="_blank" rel="noopener"&gt;igoralcantara&lt;/A&gt;&amp;nbsp;@&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;@Or&amp;nbsp;@&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22678" target="_blank" rel="noopener"&gt;jagan&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jul 2025 14:01:35 GMT</pubDate>
    <dc:creator>LoKi_asterix</dc:creator>
    <dc:date>2025-07-14T14:01:35Z</dc:date>
    <item>
      <title>Tracking Inflows Over Time</title>
      <link>https://community.qlik.com/t5/App-Development/Tracking-Inflows-Over-Time/m-p/2523963#M106841</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m sure this is something fairly straightforward, but it’s had me going in circles all day!&lt;/P&gt;&lt;P&gt;I have a dataset covering 2014 to 2025, with 2014 as the base year.&lt;BR /&gt;My goal is to flag or extract all investment inflows over this period specifically:&lt;/P&gt;&lt;P&gt;The first time a customer brought in funds (initial investment)&lt;/P&gt;&lt;P&gt;Any subsequent inflows (top-ups) in the following years&lt;/P&gt;&lt;P&gt;While avoiding double-counting or re-flagging previous amounts&lt;/P&gt;&lt;P&gt;I initially used Exists() to filter out customers already present in the base year to identify new ones per year. However, I’m struggling to capture top-ups from existing customers who bring in new funds in later years.&lt;/P&gt;&lt;P&gt;Has anyone solved a similar use case, or can recommend a reliable way to model this in Qlik?&lt;/P&gt;&lt;P&gt;preferably in the script.&lt;/P&gt;&lt;P&gt;Thanks so much in advance! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&amp;nbsp;@&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038" target="_blank" rel="noopener"&gt;marcus_sommer&lt;/A&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;@&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326" target="_blank" rel="noopener"&gt;Lech_Miszkiewicz&lt;/A&gt;&amp;nbsp;@&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29224" target="_blank" rel="noopener"&gt;igoralcantara&lt;/A&gt;&amp;nbsp;@&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;@Or&amp;nbsp;@&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22678" target="_blank" rel="noopener"&gt;jagan&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 14:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Tracking-Inflows-Over-Time/m-p/2523963#M106841</guid>
      <dc:creator>LoKi_asterix</dc:creator>
      <dc:date>2025-07-14T14:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking Inflows Over Time</title>
      <link>https://community.qlik.com/t5/App-Development/Tracking-Inflows-Over-Time/m-p/2524132#M106849</link>
      <description>&lt;P&gt;I would probably use interrecord-functions like previous() and peek() within (n) sorted (backwards and forwards) resident-loads to flag the first/last occurrence + creating a continuous counter-field + calculating the date-offset between the records and similar measurements.&lt;/P&gt;&lt;P&gt;It mustn't be only done globally else maybe against years and/or the date-offsets or any accumulation triggers an adjustment to the tracking ...&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 11:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Tracking-Inflows-Over-Time/m-p/2524132#M106849</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-07-14T11:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking Inflows Over Time</title>
      <link>https://community.qlik.com/t5/App-Development/Tracking-Inflows-Over-Time/m-p/2524158#M106854</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31892"&gt;@LoKi_asterix&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In my opinion, you can try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Create a Flag ( First or Not First )&amp;nbsp;&lt;/P&gt;&lt;P&gt;MyData:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Date | Customer | Value&lt;BR /&gt;01/01/2023 |A | 100&lt;BR /&gt;01/01/2024 |A | 50&lt;BR /&gt;01/01/2025 |A | 50&lt;BR /&gt;01/01/2022 |B | 200&lt;BR /&gt;01/01/2023 |B | 50&lt;/P&gt;&lt;P&gt;](delimiter is '|');&lt;/P&gt;&lt;P&gt;MapFirst:&lt;BR /&gt;Mapping&lt;BR /&gt;Load&lt;BR /&gt;num(MinDate) &amp;amp; '|' &amp;amp; Customer as _myField&lt;BR /&gt;,1&lt;BR /&gt;;&lt;BR /&gt;Load Min(Date) as MinDate,&lt;BR /&gt;Customer&lt;BR /&gt;Resident MyData&lt;BR /&gt;Group by Customer&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;MyDataNew:&lt;BR /&gt;Load *&lt;BR /&gt;,if( ApplyMap('MapFirst' , num(Date) &amp;amp; '|' &amp;amp; Customer ,0) =1,'First','Other') as Flag&lt;BR /&gt;Resident MyData;&lt;BR /&gt;Drop table MyData;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rafaelencinas_0-1752502829346.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182066i99A9C0B2767C9B3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rafaelencinas_0-1752502829346.png" alt="rafaelencinas_0-1752502829346.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 14:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Tracking-Inflows-Over-Time/m-p/2524158#M106854</guid>
      <dc:creator>rafaelencinas</dc:creator>
      <dc:date>2025-07-14T14:22:00Z</dc:date>
    </item>
  </channel>
</rss>

