<?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 &amp;quot;Less or equal than&amp;quot; expression no longer works after SR3 update? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/quot-Less-or-equal-than-quot-expression-no-longer-works-after/m-p/1312445#M28068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if this happened to someone else after the last update.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I need to show current month sales and sales to date&amp;nbsp; (eg.&amp;nbsp; May&amp;nbsp; x&amp;nbsp; Jan...May)&amp;nbsp; in the same table widget.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The measures below worked flawlessly until I was forced to update Qlik Sense Desktop to SR3 one week ago.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;A-Sales to date&amp;nbsp; (e.g.&amp;nbsp; Jan.... May)&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Year]={$(=MAX([Year]))}, &lt;SPAN style="font-size: 10pt;"&gt;Month={'&amp;lt;=$(=MAX(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))'}&amp;gt;}&amp;nbsp; SALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;B-Current month sales&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;----&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum({$&amp;lt;[&lt;SPAN style="font-size: 13.3333px;"&gt;Year&lt;/SPAN&gt;]={$(=MAX([&lt;SPAN style="font-size: 13.3333px;"&gt;Year&lt;/SPAN&gt;]))}&amp;gt;} SALES)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;To my suprise, both expressions evaluate to the same value at the moment ---&amp;nbsp; as if the&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Month={'&amp;lt;=$(=MAX(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))'&amp;nbsp;&amp;nbsp; part in expression A didn't exist&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Has anyone had similar issues? Tried to find some clues in the release notes, without luck.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2017 16:11:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-06-05T16:11:01Z</dc:date>
    <item>
      <title>"Less or equal than" expression no longer works after SR3 update?</title>
      <link>https://community.qlik.com/t5/App-Development/quot-Less-or-equal-than-quot-expression-no-longer-works-after/m-p/1312445#M28068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if this happened to someone else after the last update.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I need to show current month sales and sales to date&amp;nbsp; (eg.&amp;nbsp; May&amp;nbsp; x&amp;nbsp; Jan...May)&amp;nbsp; in the same table widget.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The measures below worked flawlessly until I was forced to update Qlik Sense Desktop to SR3 one week ago.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;A-Sales to date&amp;nbsp; (e.g.&amp;nbsp; Jan.... May)&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Year]={$(=MAX([Year]))}, &lt;SPAN style="font-size: 10pt;"&gt;Month={'&amp;lt;=$(=MAX(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))'}&amp;gt;}&amp;nbsp; SALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;B-Current month sales&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;----&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum({$&amp;lt;[&lt;SPAN style="font-size: 13.3333px;"&gt;Year&lt;/SPAN&gt;]={$(=MAX([&lt;SPAN style="font-size: 13.3333px;"&gt;Year&lt;/SPAN&gt;]))}&amp;gt;} SALES)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;To my suprise, both expressions evaluate to the same value at the moment ---&amp;nbsp; as if the&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Month={'&amp;lt;=$(=MAX(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))'&amp;nbsp;&amp;nbsp; part in expression A didn't exist&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Has anyone had similar issues? Tried to find some clues in the release notes, without luck.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 16:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-Less-or-equal-than-quot-expression-no-longer-works-after/m-p/1312445#M28068</guid>
      <dc:creator />
      <dc:date>2017-06-05T16:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: "Less or equal than" expression no longer works after SR3 update?</title>
      <link>https://community.qlik.com/t5/App-Development/quot-Less-or-equal-than-quot-expression-no-longer-works-after/m-p/1312446#M28069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems to be working fine here for me (i'm also using SR3 update).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the attached QVF file to see if it helps you.&lt;/P&gt;&lt;P&gt;What i think you mean when both expressions are the same is that you need to select one Date, in my case, for the expression for the monthly expression to change.&lt;/P&gt;&lt;P&gt;Since no date is selected, the second expression (right one) will be calculated for all the months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/165819_Sample2.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/165820_Sample.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 17:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-Less-or-equal-than-quot-expression-no-longer-works-after/m-p/1312446#M28069</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-06-05T17:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: "Less or equal than" expression no longer works after SR3 update?</title>
      <link>https://community.qlik.com/t5/App-Development/quot-Less-or-equal-than-quot-expression-no-longer-works-after/m-p/1312447#M28070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Indeed I forgot to mention that I had a filter in place exactly as you suggested. Even so, the year-to-date sales expression isn't working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But thanks for your insight and for the sample data.&amp;nbsp; Although that expression hasn't changed at all between updates, something must have happened because of the new dataset introduced on May.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 14:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-Less-or-equal-than-quot-expression-no-longer-works-after/m-p/1312447#M28070</guid>
      <dc:creator />
      <dc:date>2017-06-06T14:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: "Less or equal than" expression no longer works after SR3 update?</title>
      <link>https://community.qlik.com/t5/App-Development/quot-Less-or-equal-than-quot-expression-no-longer-works-after/m-p/1312448#M28071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;After some trial and error, I finally figured out what happened. There was definitely a change on how expressions are evaluated in SR3 albeit our code has definitely improved &lt;SPAN style="font-size: 13.3333px;"&gt;after this&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I was using an expression like&amp;nbsp; MonthExpr = num([MonthField])&amp;nbsp;&amp;nbsp; -- just found out that it is redundant. All of my month filters were defined in terms of "&lt;SPAN style="font-size: 13.3333px;"&gt;MonthExpr&lt;/SPAN&gt;"&amp;nbsp; and not [MonthField] directly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I replaced all these occurrences with [MonthField] instead, it worked again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&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;sum({$&amp;lt;[Year]={$(=MAX([Year]))}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month={'&amp;lt;=$(=MAX(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))'}&amp;gt;}&amp;nbsp; SALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TO &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({$&amp;lt;[Year]={$(=MAX([Year]))}, [&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MonthField]={'&amp;lt;=$(=MAX(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MonthField]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))'}&amp;gt;}&amp;nbsp; SALES)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I am going to use square brackets more often from now on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 21:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-Less-or-equal-than-quot-expression-no-longer-works-after/m-p/1312448#M28071</guid>
      <dc:creator />
      <dc:date>2017-06-14T21:05:51Z</dc:date>
    </item>
  </channel>
</rss>

