<?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: Set analysis with dynamic date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414400#M94960</link>
    <description>&lt;P&gt;Thanks a lot for your suggestion and guidance .&amp;nbsp; I ve changed to below and still no change&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;=max(aggr(Count({&amp;lt;[Start 1h]={"&amp;gt;00:00:00 &amp;lt;=23:00:00"}&amp;gt;+&amp;lt;[Running Date]={"$=(timestamp([Running Date]-1,'dd-MMM-yyyy'))"}&amp;gt;}&lt;BR /&gt;distinct [Run Id &amp;amp; Job Name Key]),[Running Date Start 1h], [Running Date],[Project Name]))&lt;/P&gt;</description>
    <pubDate>Sun, 04 Feb 2024 06:58:21 GMT</pubDate>
    <dc:creator>43918084</dc:creator>
    <dc:date>2024-02-04T06:58:21Z</dc:date>
    <item>
      <title>Set analysis with dynamic date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414310#M94943</link>
      <description>&lt;P&gt;I want to count the maximum job run within a previous day of the specified date [Running date]&lt;/P&gt;
&lt;P&gt;Below is my set analysis.&lt;/P&gt;
&lt;P&gt;max(aggr(Count({&amp;lt;[Start 1h]={"&amp;gt;00:00:00"},[Start 1h]={"&amp;lt;=23:00:00"}&amp;gt;}&lt;BR /&gt;distinct [Run Id &amp;amp; Job Name Key]),[Running Date Start 1h], [Running Date],[Project Name]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the result return the maximum run of specified date, not the previous date.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would appreciate some guidance on this.&amp;nbsp; many thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414310#M94943</guid>
      <dc:creator>43918084</dc:creator>
      <dc:date>2024-11-15T21:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with dynamic date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414312#M94944</link>
      <description>&lt;P&gt;Your syntax is not correct, maybe try this:&lt;/P&gt;
&lt;P&gt;max(aggr(Count({&amp;lt;[Start 1h]={"&amp;gt;00:00:00 &amp;lt;=23:00:00"}&amp;gt;}&lt;BR /&gt;distinct [Run Id &amp;amp; Job Name Key]),[Running Date Start 1h], [Running Date],[Project Name]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 13:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414312#M94944</guid>
      <dc:creator>jochem_zw</dc:creator>
      <dc:date>2024-02-03T13:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with dynamic date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414314#M94945</link>
      <description>&lt;P&gt;Thanks a lot for your advice.&amp;nbsp; It still does not change.&lt;/P&gt;
&lt;P&gt;My formula objective is that if user chooses [Running Date]=31-Jul-2023&lt;/P&gt;
&lt;P&gt;The Max count will return the result for [Running Date]=30-Jul-2023&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 13:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414314#M94945</guid>
      <dc:creator>43918084</dc:creator>
      <dc:date>2024-02-03T13:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with dynamic date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414335#M94948</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;max(aggr(Count({&amp;lt;[Running Date]={“$(=Date(only([Running Date])-1))"}&amp;gt;}&lt;BR /&gt;distinct [Run Id &amp;amp; Job Name Key]),[Running Date Start 1h], [Running Date],[Project Name]))&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 20:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414335#M94948</guid>
      <dc:creator>jochem_zw</dc:creator>
      <dc:date>2024-02-03T20:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with dynamic date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414360#M94954</link>
      <description>&lt;P&gt;Thank you again for your expert guidance.&amp;nbsp; The result still gives the specified date count not the previous day&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2024 02:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414360#M94954</guid>
      <dc:creator>43918084</dc:creator>
      <dc:date>2024-02-04T02:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with dynamic date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414373#M94957</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/94812"&gt;@43918084&lt;/a&gt;&amp;nbsp;What i see in your analysis expression you have used only Time format, But this will recognize the date &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; My best assumption to add dimension with full timestamp field to overcome this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this field&amp;nbsp;&lt;SPAN&gt;[Running Date] come from full timestamp?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2024 05:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414373#M94957</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-02-04T05:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with dynamic date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414400#M94960</link>
      <description>&lt;P&gt;Thanks a lot for your suggestion and guidance .&amp;nbsp; I ve changed to below and still no change&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;=max(aggr(Count({&amp;lt;[Start 1h]={"&amp;gt;00:00:00 &amp;lt;=23:00:00"}&amp;gt;+&amp;lt;[Running Date]={"$=(timestamp([Running Date]-1,'dd-MMM-yyyy'))"}&amp;gt;}&lt;BR /&gt;distinct [Run Id &amp;amp; Job Name Key]),[Running Date Start 1h], [Running Date],[Project Name]))&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2024 06:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-dynamic-date/m-p/2414400#M94960</guid>
      <dc:creator>43918084</dc:creator>
      <dc:date>2024-02-04T06:58:21Z</dc:date>
    </item>
  </channel>
</rss>

