<?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: To get data for max date when no date is selected in the filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750609#M57763</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127095"&gt;@Saurabh07&lt;/a&gt;&amp;nbsp; check the date format or format it directly In set for example if your date format is DD.MM.YYYY&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=sum({$&amp;lt;date={"$(=Date(Max(date),'DD.MM.YYYY'))"}&amp;gt;} Value)&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 08 Oct 2020 09:31:55 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2020-10-08T09:31:55Z</dc:date>
    <item>
      <title>To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750589#M57761</link>
      <description>&lt;P&gt;I am trying to get sum of values in my table for the latest available date when no date is selected in filter.&lt;/P&gt;&lt;P&gt;I am using below expression, but somehow its not working;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;date = {$(=max(date))}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help me out with this?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 08:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750589#M57761</guid>
      <dc:creator>Saurabh07</dc:creator>
      <dc:date>2020-10-08T08:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750609#M57763</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127095"&gt;@Saurabh07&lt;/a&gt;&amp;nbsp; check the date format or format it directly In set for example if your date format is DD.MM.YYYY&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=sum({$&amp;lt;date={"$(=Date(Max(date),'DD.MM.YYYY'))"}&amp;gt;} Value)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 08 Oct 2020 09:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750609#M57763</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-10-08T09:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750621#M57765</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for the reply, the date format seems to be fine. The error I am getting is 'Error in set modifier as hoc element: ',' or ')' expected.&lt;/P&gt;&lt;P&gt;The expression is getting evaluated in the expression editior, at the bottom preview shows:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;date = {30.06.2020}&amp;gt;} Value), which is exactly what I need here. But this error!!!!!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 09:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750621#M57765</guid>
      <dc:creator>Saurabh07</dc:creator>
      <dc:date>2020-10-08T09:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750623#M57766</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127095"&gt;@Saurabh07&lt;/a&gt;&amp;nbsp; the SET DateFormat='DD.MM.YYYY'&amp;nbsp; ?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 10:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750623#M57766</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-10-08T10:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750749#M57780</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp; Why would Dateformat matter in this case. I just want to pick the latest date available and display the sum for value for it. Correct me if I am misunderstanding something here?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 14:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750749#M57780</guid>
      <dc:creator>Saurabh07</dc:creator>
      <dc:date>2020-10-08T14:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750751#M57781</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127095"&gt;@Saurabh07&lt;/a&gt;&amp;nbsp;can you share a sample data ?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 14:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750751#M57781</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-10-08T14:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750785#M57783</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp; Attached is the sample dataset. Hope this helps.&lt;/P&gt;&lt;P&gt;I have a filter to select the date at the top. So whenever any date is selected exclusively the sum of value should be displayed for that particular date. But when nothing is selected in Date filter, the sum of values should be displayed for latest (i.e. Max) date.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750785#M57783</guid>
      <dc:creator>Saurabh07</dc:creator>
      <dc:date>2020-10-08T15:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750980#M57808</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127095"&gt;@Saurabh07&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=sum({$&amp;lt;Date={"$(=Date(Max(Date),'DD/MM/YYYY'))"}&amp;gt;} Value)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 643px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41971iF722E5F507B553C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;when i selected a Date:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 672px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41972i0E0A80215AC2119F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 09:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1750980#M57808</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-10-09T09:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1751040#M57813</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;Thanks for the expression. Even I worked and developed the mentioned expression;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;date={"=date=Max(total date)"}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;Does this look correct&amp;nbsp; to you, it is working as per my requirement!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 11:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1751040#M57813</guid>
      <dc:creator>Saurabh07</dc:creator>
      <dc:date>2020-10-09T11:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1751042#M57814</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127095"&gt;@Saurabh07&lt;/a&gt;&amp;nbsp; yes its correct !&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 12:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1751042#M57814</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-10-09T12:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: To get data for max date when no date is selected in the filter</title>
      <link>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1751050#M57815</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp; Great, thanks for the help! Appreciate that!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 12:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/To-get-data-for-max-date-when-no-date-is-selected-in-the-filter/m-p/1751050#M57815</guid>
      <dc:creator>Saurabh07</dc:creator>
      <dc:date>2020-10-09T12:39:27Z</dc:date>
    </item>
  </channel>
</rss>

