<?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: Matching with today date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Matching-with-today-date/m-p/1961998#M79312</link>
    <description>&lt;P&gt;Several things wrong with this one..&lt;/P&gt;
&lt;P&gt;1) Match compares strings, and doesn't take an equal sign.&lt;/P&gt;
&lt;P&gt;2) There's a Today() function if you're not interested in the time aspect of now()&lt;/P&gt;
&lt;P&gt;3) You'd need Dayname() (or floor()) rather than Date() to get rid of the time aspect&lt;/P&gt;
&lt;P&gt;If you'd like to keep a similar syntax, you could use&lt;/P&gt;
&lt;P&gt;Sum(if(Cdate = Today(),amount))&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 19:50:57 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-07-28T19:50:57Z</dc:date>
    <item>
      <title>Matching with today date</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-with-today-date/m-p/1961987#M79310</link>
      <description>&lt;P&gt;I want to sum up the costs of today . I has a fields Cdate and amount.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Sum( if(match(Cdate= Date(Now()) ), amount))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here i am matching &lt;STRONG&gt;Cdate&lt;/STRONG&gt;&lt;EM&gt; (my field)&lt;/EM&gt; equals to &lt;STRONG&gt;Date(now()).&amp;nbsp;&lt;/STRONG&gt;If it matches then i need total&amp;nbsp; amount &lt;EM&gt;( using sum)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Its not working, Can i use date now as a expression or is there any alternative for this expression???&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 19:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-with-today-date/m-p/1961987#M79310</guid>
      <dc:creator>ajit_aarya</dc:creator>
      <dc:date>2022-07-28T19:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Matching with today date</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-with-today-date/m-p/1961998#M79312</link>
      <description>&lt;P&gt;Several things wrong with this one..&lt;/P&gt;
&lt;P&gt;1) Match compares strings, and doesn't take an equal sign.&lt;/P&gt;
&lt;P&gt;2) There's a Today() function if you're not interested in the time aspect of now()&lt;/P&gt;
&lt;P&gt;3) You'd need Dayname() (or floor()) rather than Date() to get rid of the time aspect&lt;/P&gt;
&lt;P&gt;If you'd like to keep a similar syntax, you could use&lt;/P&gt;
&lt;P&gt;Sum(if(Cdate = Today(),amount))&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 19:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-with-today-date/m-p/1961998#M79312</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-28T19:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Matching with today date</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-with-today-date/m-p/1962143#M79320</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/186604"&gt;@ajit_aarya&lt;/a&gt;&amp;nbsp; Please see the code below to calculate the sales for today()&lt;/P&gt;
&lt;P&gt;Back end in the script:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load Date(Date#(CDate,'MM/DD/YYYY'),'MM/DD/YYYY') as CDate,&lt;BR /&gt;Amount&lt;BR /&gt;Inline [&lt;BR /&gt;CDate, Amount&lt;BR /&gt;07/28/2022, 100&lt;BR /&gt;07/28/2022, 100&lt;BR /&gt;07/29/2022, 100&lt;BR /&gt;07/29/2022, 100&lt;BR /&gt;07/29/2022, 100&lt;BR /&gt;07/29/2022, 100&lt;BR /&gt;07/29/2022, 100&lt;BR /&gt;07/30/2022, 100&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Total:&lt;BR /&gt;Load Sum(Amount) as Total_Cost,&lt;BR /&gt;CDate&lt;BR /&gt;Resident Temp&lt;BR /&gt;where CDate=Today()&lt;BR /&gt;group by CDate;&lt;BR /&gt;&lt;BR /&gt;drop table Temp;&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;Front End Expression:&amp;nbsp;Sum(if (CDate=today(), Amount))&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 07:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-with-today-date/m-p/1962143#M79320</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-29T07:11:15Z</dc:date>
    </item>
  </channel>
</rss>

