<?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 How to retrieve the latest Balance from the new join customer in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-the-latest-Balance-from-the-new-join-customer/m-p/2124629#M91520</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I want to retrieve the past 12 month new join customer with latest balance at line chart. For better understand , showed as below table.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="29px"&gt;Customer Join Month&lt;/TD&gt;
&lt;TD width="50%" height="29px"&gt;Latest Balance( May2023)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="29px"&gt;May 2023&lt;/TD&gt;
&lt;TD width="50%" height="29px"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="29px"&gt;Apr 2023&lt;/TD&gt;
&lt;TD width="50%" height="29px"&gt;1000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="29px"&gt;March 2023&amp;nbsp;&lt;/TD&gt;
&lt;TD width="50%" height="29px"&gt;2000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the expression in line chart&amp;nbsp; like below.&lt;/P&gt;
&lt;P&gt;Dimension:&lt;/P&gt;
&lt;P&gt;= Date([Month], 'MMM YY')&lt;/P&gt;
&lt;P&gt;Expression&lt;/P&gt;
&lt;P&gt;SUM({$&amp;lt;[New Customer Indicator] = {1},&amp;nbsp;&lt;BR /&gt;Month = {"$(='&amp;gt;' &amp;amp; Date(MonthStart(Max(Month),-12)) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Month)))"}&amp;gt;}[Balance]).&lt;/P&gt;
&lt;P&gt;However this Expression will retrieve the data like below table&lt;/P&gt;
&lt;TABLE border="1" width="360px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="179.6px" height="29px"&gt;Customer Join Month&lt;/TD&gt;
&lt;TD width="179.6px" height="29px"&gt;&amp;nbsp;Balance&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="179.6px" height="29px"&gt;May 2023&lt;/TD&gt;
&lt;TD width="179.6px" height="29px"&gt;100 (May 2023)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="179.6px" height="29px"&gt;Apr 2023&lt;/TD&gt;
&lt;TD width="179.6px" height="29px"&gt;50&amp;nbsp; &amp;nbsp; (Apr 2023)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="179.6px" height="29px"&gt;March 2023&amp;nbsp;&lt;/TD&gt;
&lt;TD width="179.6px" height="29px"&gt;100 (March 2023 )&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;Also i would like the user select the latest Balance Month For example:&amp;nbsp; Month select (Apr2023)&lt;/P&gt;
&lt;TABLE border="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="175.538px" height="29px"&gt;Customer Join Month&lt;/TD&gt;
&lt;TD width="175.538px" height="29px"&gt;Latest Balance( Apr2023)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="175.538px" height="29px"&gt;Apr 2023&lt;/TD&gt;
&lt;TD width="175.538px" height="29px"&gt;1000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="175.538px" height="29px"&gt;March 2023&amp;nbsp;&lt;/TD&gt;
&lt;TD width="175.538px" height="29px"&gt;2000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Feb 2023&lt;/TD&gt;
&lt;TD&gt;3000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 09:24:42 GMT</pubDate>
    <dc:creator>eddywong71</dc:creator>
    <dc:date>2023-10-03T09:24:42Z</dc:date>
    <item>
      <title>How to retrieve the latest Balance from the new join customer</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-the-latest-Balance-from-the-new-join-customer/m-p/2124629#M91520</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I want to retrieve the past 12 month new join customer with latest balance at line chart. For better understand , showed as below table.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="29px"&gt;Customer Join Month&lt;/TD&gt;
&lt;TD width="50%" height="29px"&gt;Latest Balance( May2023)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="29px"&gt;May 2023&lt;/TD&gt;
&lt;TD width="50%" height="29px"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="29px"&gt;Apr 2023&lt;/TD&gt;
&lt;TD width="50%" height="29px"&gt;1000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="29px"&gt;March 2023&amp;nbsp;&lt;/TD&gt;
&lt;TD width="50%" height="29px"&gt;2000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the expression in line chart&amp;nbsp; like below.&lt;/P&gt;
&lt;P&gt;Dimension:&lt;/P&gt;
&lt;P&gt;= Date([Month], 'MMM YY')&lt;/P&gt;
&lt;P&gt;Expression&lt;/P&gt;
&lt;P&gt;SUM({$&amp;lt;[New Customer Indicator] = {1},&amp;nbsp;&lt;BR /&gt;Month = {"$(='&amp;gt;' &amp;amp; Date(MonthStart(Max(Month),-12)) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Month)))"}&amp;gt;}[Balance]).&lt;/P&gt;
&lt;P&gt;However this Expression will retrieve the data like below table&lt;/P&gt;
&lt;TABLE border="1" width="360px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="179.6px" height="29px"&gt;Customer Join Month&lt;/TD&gt;
&lt;TD width="179.6px" height="29px"&gt;&amp;nbsp;Balance&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="179.6px" height="29px"&gt;May 2023&lt;/TD&gt;
&lt;TD width="179.6px" height="29px"&gt;100 (May 2023)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="179.6px" height="29px"&gt;Apr 2023&lt;/TD&gt;
&lt;TD width="179.6px" height="29px"&gt;50&amp;nbsp; &amp;nbsp; (Apr 2023)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="179.6px" height="29px"&gt;March 2023&amp;nbsp;&lt;/TD&gt;
&lt;TD width="179.6px" height="29px"&gt;100 (March 2023 )&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;Also i would like the user select the latest Balance Month For example:&amp;nbsp; Month select (Apr2023)&lt;/P&gt;
&lt;TABLE border="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="175.538px" height="29px"&gt;Customer Join Month&lt;/TD&gt;
&lt;TD width="175.538px" height="29px"&gt;Latest Balance( Apr2023)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="175.538px" height="29px"&gt;Apr 2023&lt;/TD&gt;
&lt;TD width="175.538px" height="29px"&gt;1000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="175.538px" height="29px"&gt;March 2023&amp;nbsp;&lt;/TD&gt;
&lt;TD width="175.538px" height="29px"&gt;2000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Feb 2023&lt;/TD&gt;
&lt;TD&gt;3000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 09:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-retrieve-the-latest-Balance-from-the-new-join-customer/m-p/2124629#M91520</guid>
      <dc:creator>eddywong71</dc:creator>
      <dc:date>2023-10-03T09:24:42Z</dc:date>
    </item>
  </channel>
</rss>

