<?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 Set Analysis with a Date field is not working properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214882#M68378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this Set Analysis that should show the Amount for today. This is just an example, what I need is a little bit more complex, but if I resolve this, I can resolve the other issues.&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Date = {"=$(#=Now())"} &amp;gt;} Amt)&lt;/P&gt;&lt;P&gt;However, instead of show the amount for Today, it shows the total amount, ignoring the Set Analysis.&lt;/P&gt;&lt;P&gt;I've tried different many things like using the Date function, converting to number, etc, but they all return the same thing.&lt;/P&gt;&lt;P&gt;Any guess? Any idea can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Dec 2010 04:07:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-07T04:07:01Z</dc:date>
    <item>
      <title>Set Analysis with a Date field is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214882#M68378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this Set Analysis that should show the Amount for today. This is just an example, what I need is a little bit more complex, but if I resolve this, I can resolve the other issues.&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Date = {"=$(#=Now())"} &amp;gt;} Amt)&lt;/P&gt;&lt;P&gt;However, instead of show the amount for Today, it shows the total amount, ignoring the Set Analysis.&lt;/P&gt;&lt;P&gt;I've tried different many things like using the Date function, converting to number, etc, but they all return the same thing.&lt;/P&gt;&lt;P&gt;Any guess? Any idea can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 04:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214882#M68378</guid>
      <dc:creator />
      <dc:date>2010-12-07T04:07:01Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with a Date field is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214883#M68379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Date = {"=$(=Today())"} &amp;gt;} Amt)&lt;/P&gt;&lt;P&gt;Now() returns a timestamp and not a date. Also don't use Now() unless really necessary as it will refresh every second using system resources and cause some problems for the user experience.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 04:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214883#M68379</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-12-07T04:23:58Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with a Date field is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214884#M68380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe because the function Now() returns a date and a time thats why its not giving you the correct result and try to check the syntax of your expression..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 04:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214884#M68380</guid>
      <dc:creator />
      <dc:date>2010-12-07T04:25:54Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with a Date field is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214885#M68381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys, but I got the same results if I change to Today().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 04:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214885#M68381</guid>
      <dc:creator />
      <dc:date>2010-12-07T04:32:41Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with a Date field is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214886#M68382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting that I just check that Today() is returning 12/30/1899&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 04:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214886#M68382</guid>
      <dc:creator />
      <dc:date>2010-12-07T04:37:14Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with a Date field is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214887#M68383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind. I fix the Today function but I still get the same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 04:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214887#M68383</guid>
      <dc:creator />
      <dc:date>2010-12-07T04:40:29Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with a Date field is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214888#M68384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Date={"=Date=today()"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;I usually play with set analysis doing advanced searches over a list box of the field until it gets the result I want.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 19:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214888#M68384</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-12-07T19:19:17Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with a Date field is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214889#M68385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find Set Analysis can be easier if you use a variables. So I would create a variable called vToday = date(today()). Your set expression would look like this:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Date={"$(#vToday)"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Then if you need to use a different date in the future you can just change the variable, you don't need to change your set expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 19:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-Date-field-is-not-working-properly/m-p/214889#M68385</guid>
      <dc:creator>colinh</dc:creator>
      <dc:date>2010-12-07T19:33:20Z</dc:date>
    </item>
  </channel>
</rss>

