<?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: Rangesum function in expression to show data in simple table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2514359#M105482</link>
    <description>&lt;P&gt;The logical requirement isn't really clear but it seems that everything is there and needs just be queried - which may be done in n preceding steps to simplify the approach.&lt;/P&gt;&lt;P&gt;In this regard make sure that the date-fields are natively (with appropriate set interpretation variables) recognized as dates to avoid the date#() and date() stuff. Further the value-exists check may be applied per: sign(len(trim(DateField))). In a similar way might be also the other checks performed, like: sign(Date1 - Date2) whereby the date-fields might be wrapped with the needed monthstart() or monthend() to be suitable with the requirement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Apr 2025 05:13:33 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2025-04-15T05:13:33Z</dc:date>
    <item>
      <title>Rangesum function in expression to show data in simple table</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513723#M105371</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a project which has multiple date fields and I need to show data in the simple table by Month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is my table:&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Main:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Load 1 as rowCount,&lt;/P&gt;&lt;P&gt;Date("Release Date") as "Release Date",&lt;/P&gt;&lt;P&gt;Date(" PO Release Date") as "PO Release Date",&lt;/P&gt;&lt;P&gt;Date(" Finished Date") as "Finished Date",&lt;/P&gt;&lt;P&gt;if(date("Finished Date") &amp;gt; 0 ,'Y','N') as "Finished Date Flag",&lt;BR /&gt;if(date("PO Release Date") &amp;gt; 0 ,'Y','N') as "PO Release Date Flag",&lt;/P&gt;&lt;P&gt;MonthStart([Release Date]) as "MonthStart Date"&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;the first requirement is:&lt;/P&gt;&lt;P&gt;&lt;U&gt;Starting Balance&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Count of items where:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Release Date&lt;/STRONG&gt; is before start of month&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Finished Date&lt;/STRONG&gt; is blank&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PO Release Date&lt;/STRONG&gt; is blank&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;I have done with this requirement by the following expression and getting the expected result:&lt;/P&gt;&lt;P&gt;RangeSum(Above(count({&amp;lt;[Finished Date Flag]={'N'},[PO Release Date Flag]={'N'}&amp;gt;}[Release Date]),1,RowNo()))+Sum(0)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;The issue is the second requirement where we can analyze the 2 dates' data. the second requirement is :&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Second requirement is :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Release Date&lt;/STRONG&gt; is before start of month&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Finished Date&lt;/STRONG&gt; is blank&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PO Release date&lt;/STRONG&gt; is after start of month&lt;/P&gt;&lt;P&gt;the first and second part is same as the first one expression but how to do the third part where we are looking the after start of month data of PO Release Date&lt;/P&gt;&lt;P&gt;How do I use Rangesum function because we are looking Release Date before data where we are using Above rangesum and PO Release Date is after the month like Below Rangesum.&lt;/P&gt;&lt;P&gt;Can we use both above and below in rangesum expression?&lt;/P&gt;&lt;P&gt;Can we do this requirement in expression?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Sara.&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>Wed, 09 Apr 2025 15:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513723#M105371</guid>
      <dc:creator>Sara_3</dc:creator>
      <dc:date>2025-04-09T15:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum function in expression to show data in simple table</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513774#M105378</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;RangeSum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Above(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Count({&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Finished Date Flag] = {'N'},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [PO Release Date] = {"&amp;gt;=$(=MonthStart([MonthStart Date]))"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Release Date] = {"&amp;lt;$(=MonthStart([MonthStart Date]))"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; } [Release Date]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0, RowNo())&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 06:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513774#M105378</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-04-10T06:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum function in expression to show data in simple table</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513864#M105390</link>
      <description>&lt;P&gt;Thanks for your reply I'm getting all 0 zeros in values when i applied your expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any other way to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate it,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 13:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513864#M105390</guid>
      <dc:creator>Sara_3</dc:creator>
      <dc:date>2025-04-10T13:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum function in expression to show data in simple table</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513866#M105391</link>
      <description>&lt;P&gt;I suggest to extend the flag-logic within the data-model. The various date-fields might not only checked on any value else against each other if they are greater/lower and/or their difference and/or the differences of their periods and those ones also checked against the conditions. By using 0/1 flags instead of Y/N flags the various flag-fields might be also evaluated with range/sum/max/avg().&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 13:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513866#M105391</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-04-10T13:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum function in expression to show data in simple table</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513871#M105394</link>
      <description>&lt;P&gt;Thanks for the suggestion i have changed the flag Y/N to 0/1 but same getting the 0 values. i see there are no values in the MonthStart Date fields in the expression.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 14:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513871#M105394</guid>
      <dc:creator>Sara_3</dc:creator>
      <dc:date>2025-04-10T14:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum function in expression to show data in simple table</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513872#M105395</link>
      <description>&lt;P&gt;if I put static dates the expression is working fine and getting the expected result so i think the issue is in the following expression :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[PO Release Date] = {"&amp;gt;=$(=MonthStart([MonthStart Date]))"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Release Date] = {"&amp;lt;$(=MonthStart([MonthStart Date]))"}&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 14:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513872#M105395</guid>
      <dc:creator>Sara_3</dc:creator>
      <dc:date>2025-04-10T14:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum function in expression to show data in simple table</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513958#M105408</link>
      <description>&lt;P&gt;Make sure that all single parts of your logic are working, from the date() + monthstart() in the script as well as all of them and the others in the UI objects. Further the $-sign expansion may need quotes to be considered as date, like:&amp;nbsp;&lt;SPAN&gt;{"&amp;gt;='$(=MonthStart([MonthStart Date]))'"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Beside this none of such things should be done within the UI else it belonged to the data-model.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 05:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2513958#M105408</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-04-11T05:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum function in expression to show data in simple table</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2514271#M105464</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is my sample data , do you know how can we do the requirement 2 in the backend / script?&lt;/P&gt;&lt;P&gt;main:&lt;BR /&gt;Load&lt;BR /&gt;1 as rowCount,&lt;BR /&gt;if(date(Date#("Deleted On", 'MM/DD/YYYY')) &amp;gt; 0 ,'Y','N') as "&lt;SPAN&gt;Finished Date Flag&lt;/SPAN&gt;",&lt;BR /&gt;if(date(Date#("PO Release Date",'MM/DD/YYYY')) &amp;gt; 0 ,'Y','N') as "&lt;SPAN&gt;PO Release Date Flag&lt;/SPAN&gt;",&lt;BR /&gt;Date(MonthStart(Date#("P Release Date", 'MM/DD/YYYY')), 'MMM YYYY') as [MonthStart Date],&lt;BR /&gt;Date(Date#([P Release Date], 'M/D/YYYY h:mm'), 'MM/DD/YYYY') as [Release Date],&lt;BR /&gt;Date(Date#([Deleted On], 'MM/DD/YYYY')) as [&lt;SPAN&gt;Finished Date&lt;/SPAN&gt;],&lt;BR /&gt;Date(Date#([PO Release Date], 'MM/DD/YYYY')) as [PO Release Date];&lt;BR /&gt;&lt;BR /&gt;load * inline [&lt;BR /&gt;Release Date, &lt;SPAN&gt;Finished Date&lt;/SPAN&gt;, PO Release Date&lt;BR /&gt;12/21/2022 0:00, -, 1/18/2023&lt;BR /&gt;12/23/2022 0:00, 2/27/2023, -&lt;BR /&gt;12/27/2022 0:00, -, -&lt;BR /&gt;1/4/2023 0:00, 1/24/2023, -&lt;BR /&gt;1/4/2023 0:00, -, 1/17/2023&lt;BR /&gt;1/4/2023 0:00, -, 2/28/2023&lt;BR /&gt;1/4/2023 0:00, -, 11/30/2023&lt;BR /&gt;1/6/2023 0:00, -, 2/9/2023&lt;BR /&gt;1/6/2023 0:00, -, 2/16/2024&lt;BR /&gt;1/11/2023 0:00, 5/10/2023, -&lt;BR /&gt;1/17/2023 0:00, 3/17/2023, -&lt;BR /&gt;1/17/2023 0:00, -, 4/11/2023&lt;BR /&gt;2/2/2023 0:00, -, 2/7/2023&lt;BR /&gt;2/2/2023 0:00, -, 6/21/2023&lt;BR /&gt;2/6/2023 0:00, 6/6/2023, -&lt;BR /&gt;2/15/2023 0:00, 9/11/2023, -&lt;BR /&gt;2/15/2023 0:00, -, 3/14/2024&lt;BR /&gt;3/2/2023 0:00, -, 5/3/2023&lt;BR /&gt;3/2/2023 0:00, -, 8/16/2023&lt;BR /&gt;3/2/2023 0:00, -, 9/22/2023&lt;BR /&gt;3/6/2023 0:00, -, 1/2/2024&lt;BR /&gt;3/30/2023 0:00, 4/11/2023, -&lt;BR /&gt;3/30/2023 0:00, 6/7/2023, -&lt;BR /&gt;3/30/2023 0:00, 8/7/2023, -&lt;BR /&gt;3/30/2023 0:00, -, 4/20/2023&lt;BR /&gt;3/30/2023 0:00, -, 8/29/2023&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 14:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2514271#M105464</guid>
      <dc:creator>Sara_3</dc:creator>
      <dc:date>2025-04-14T14:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum function in expression to show data in simple table</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2514359#M105482</link>
      <description>&lt;P&gt;The logical requirement isn't really clear but it seems that everything is there and needs just be queried - which may be done in n preceding steps to simplify the approach.&lt;/P&gt;&lt;P&gt;In this regard make sure that the date-fields are natively (with appropriate set interpretation variables) recognized as dates to avoid the date#() and date() stuff. Further the value-exists check may be applied per: sign(len(trim(DateField))). In a similar way might be also the other checks performed, like: sign(Date1 - Date2) whereby the date-fields might be wrapped with the needed monthstart() or monthend() to be suitable with the requirement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 05:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-function-in-expression-to-show-data-in-simple-table/m-p/2514359#M105482</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-04-15T05:13:33Z</dc:date>
    </item>
  </channel>
</rss>

