<?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 date = today() - 1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789684#M1026330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are doing this in a text box, then something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;DATE = {'$(=Date(Today() - 1))'} MONEY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This assumes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;DATE is formatted in the default format for your environmment&lt;/LI&gt;&lt;LI&gt;DATE has no time component&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2015 14:36:01 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-02-25T14:36:01Z</dc:date>
    <item>
      <title>Set analysis with date = today() - 1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789681#M1026327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the field DATE and the field MONEY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wanna sum(MONEY) in date = today ()-1 (the day before the current day)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how i do this ? i've been trying a few options but they didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 14:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789681#M1026327</guid>
      <dc:creator />
      <dc:date>2015-02-25T14:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date = today() - 1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789682#M1026328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you want just the value of yesterday or the sum of all values up until yesterday?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set_expression for it would be&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; sum({$&amp;lt;[date] = {"$(= '&amp;lt;=' &amp;amp; Today())"}&amp;gt;} MONEY)&lt;/P&gt;&lt;P&gt;There is in principle a more elegant solution, you can use the parameter "-=" in set_analysis - but then the script_editor doesn't recognize it and will mark all the following code as wrong regardless of whether or not it is correct.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 14:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789682#M1026328</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-25T14:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date = today() - 1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789683#M1026329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM({&amp;lt;Date = {'$(=Date(Today()-1))'}&amp;gt;}MONEY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 14:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789683#M1026329</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-02-25T14:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date = today() - 1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789684#M1026330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are doing this in a text box, then something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;DATE = {'$(=Date(Today() - 1))'} MONEY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This assumes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;DATE is formatted in the default format for your environmment&lt;/LI&gt;&lt;LI&gt;DATE has no time component&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 14:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789684#M1026330</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-25T14:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date = today() - 1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789685#M1026331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or, to eliminate the formatting issues, you can use advanced search:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;DATE = {"=DATE=$(=Today() - 1)"} MONEY)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Oleg Troyansky&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;masterssummit.com - take your QlikView skills to the next level!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 14:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789685#M1026331</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-02-25T14:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date = today() - 1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789686#M1026332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Everybody said that i should use this expression but it isn't working and i don't know why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE is the field and Date is a function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 14:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789686#M1026332</guid>
      <dc:creator />
      <dc:date>2015-02-25T14:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date = today() - 1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789687#M1026333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post a sample app, and we will show you why it's not working and how to fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date can be both a field and a function, no problem there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 14:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-today-1/m-p/789687#M1026333</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-02-25T14:55:33Z</dc:date>
    </item>
  </channel>
</rss>

