<?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 Expression on Date not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Expression-on-Date-not-working/m-p/18291#M774820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to Add date() function with or without format?&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;&lt;STRONG&gt;=Sum({&amp;lt;FechaVencimiento = {"$(='&amp;lt;' &amp;amp; Date(today()))"}&amp;gt;} Cargo)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum({&amp;lt;FechaVencimiento = {"$(='&amp;lt;' &amp;amp; Date(today(), 'FormatHere'))"}&amp;gt;} Cargo)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2018 19:54:47 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-04-25T19:54:47Z</dc:date>
    <item>
      <title>Set Expression on Date not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-on-Date-not-working/m-p/18290#M774818</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;I have a set analysis expression that is always giving me a zero value. I also have an if that gives me the correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I write the set analysis for this if expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=if(FechaVencimiento&amp;lt;today(),sum(Cargo),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i have so far, but giving me always zero values:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;FechaVencimiento = {"$(='&amp;lt;' &amp;amp; today())"}&amp;gt;} Cargo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-on-Date-not-working/m-p/18290#M774818</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression on Date not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-on-Date-not-working/m-p/18291#M774820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to Add date() function with or without format?&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;&lt;STRONG&gt;=Sum({&amp;lt;FechaVencimiento = {"$(='&amp;lt;' &amp;amp; Date(today()))"}&amp;gt;} Cargo)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum({&amp;lt;FechaVencimiento = {"$(='&amp;lt;' &amp;amp; Date(today(), 'FormatHere'))"}&amp;gt;} Cargo)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 19:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-on-Date-not-working/m-p/18291#M774820</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-25T19:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression on Date not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-on-Date-not-working/m-p/18292#M774821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added the date in the set expression with no luck, but adding the date in the load script it worked...&lt;/P&gt;&lt;P&gt;Not sure why.!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 19:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-on-Date-not-working/m-p/18292#M774821</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2018-04-25T19:59:39Z</dc:date>
    </item>
  </channel>
</rss>

