<?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 for date does not work in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-date-does-not-work/m-p/1754886#M58197</link>
    <description>&lt;P&gt;I can see you've missed {} for date like how you've done for {'5'}?&lt;/P&gt;&lt;P&gt;And this is not recommended rather try this way for date&amp;nbsp;&lt;STRONG&gt;{"$(=Date(MakeDate(2020, 10,16), 'YYYY-MM-DD'))"}&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Oct 2020 11:05:49 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2020-10-22T11:05:49Z</dc:date>
    <item>
      <title>Set analysis for date does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-date-does-not-work/m-p/1754882#M58196</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;I have this table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot at Oct 22 12-32-27.png" style="width: 760px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42793i1E78608BE0C9EA7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot at Oct 22 12-32-27.png" alt="Screenshot at Oct 22 12-32-27.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the sum of numattacks where id_threat_type = 5 and date = 2020-10-16. The result should be 194, but it shows 0:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot at Oct 22 12-56-20.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42796i76BF1F516674E982/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot at Oct 22 12-56-20.png" alt="Screenshot at Oct 22 12-56-20.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot at Oct 22 12-55-25.png" style="width: 764px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42795i0DBB84AFAA20D0F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot at Oct 22 12-55-25.png" alt="Screenshot at Oct 22 12-55-25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it could be a date format problem. In the script date variables are like this (D/M/YYYY):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot at Oct 22 12-53-16.png" style="width: 818px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42797iB5B31754AFB4E4FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot at Oct 22 12-53-16.png" alt="Screenshot at Oct 22 12-53-16.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when date field shows up in a table its format is 'YYYY-M-D' as you. can see in previous captures. I do not know how. to solve it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-date-does-not-work/m-p/1754882#M58196</guid>
      <dc:creator>mtabernad</dc:creator>
      <dc:date>2024-11-16T17:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for date does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-date-does-not-work/m-p/1754886#M58197</link>
      <description>&lt;P&gt;I can see you've missed {} for date like how you've done for {'5'}?&lt;/P&gt;&lt;P&gt;And this is not recommended rather try this way for date&amp;nbsp;&lt;STRONG&gt;{"$(=Date(MakeDate(2020, 10,16), 'YYYY-MM-DD'))"}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 11:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-date-does-not-work/m-p/1754886#M58197</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-10-22T11:05:49Z</dc:date>
    </item>
  </channel>
</rss>

