<?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: function with max (date) doesn't work in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441017#M164417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Me ayudas por favor?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/141984"&gt;Indicador en Tabla pivote&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2014 12:47:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-14T12:47:59Z</dc:date>
    <item>
      <title>function with max (date) doesn't work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441011#M164411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an expression to give me the sum of € open for a certain date:&lt;/P&gt;&lt;P&gt;sum&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OrderDateDeliveryFrom&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;15/2/2013"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OrderPriceUnitNet&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; * &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OrderQtyOpen&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; )&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And this works ok, but i don't want to change the date everytime i want a current number, i tried this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum &lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OrderDateDeliveryFrom&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;gt;} OrderPriceUnitNet&amp;nbsp; * OrderQtyOpen )&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but it doesn't work...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;can someone see what i did wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanx!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;chris&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 14:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441011#M164411</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2013-02-15T14:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: function with max (date) doesn't work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441012#M164412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;sum &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;OrderDateDeliveryFrom&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; = {'$(=&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;))'} &amp;gt;} OrderPriceUnitNet&amp;nbsp; * OrderQtyOpen ) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 15:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441012#M164412</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-15T15:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: function with max (date) doesn't work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441013#M164413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;I always use a straight table to see how the set analysis is evaluated. You can do it keeping the label of the expression empty.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33573" class="jive-image-thumbnail jive-image" onclick="" alt="Dibujo.JPG" src="https://community.qlik.com/legacyfs/online/33573_Dibujo.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 15:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441013#M164413</guid>
      <dc:creator>leonardo_raed</dc:creator>
      <dc:date>2013-02-15T15:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: function with max (date) doesn't work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441014#M164414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Leonardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't understand how you build your evalution and how i should read it to conclude what might be wrong.&lt;/P&gt;&lt;P&gt;actually i'm not at all familiar with what your doing... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz,&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 16:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441014#M164414</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2013-02-15T16:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: function with max (date) doesn't work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441015#M164415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried to do the same to give me the sum for the current week by doing this, but why doesn't that work if i add the week?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OrderDateDeliveryFrom&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'$ (= Week( Max (Date)))'} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OrderPriceUnitNet&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; * &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OrderQtyOpen&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; )&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;grtz,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;chris&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 16:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441015#M164415</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2013-02-15T16:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: function with max (date) doesn't work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441016#M164416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Week returns the week number as an integer, not a date. You'll have to use something like &lt;/P&gt;&lt;P&gt;OrderDateDeliveryFrom = {'&amp;gt;=$(=weekstart(max(Date)))&amp;lt;=$(=max(Date))'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 17:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441016#M164416</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-15T17:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: function with max (date) doesn't work in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441017#M164417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Me ayudas por favor?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/141984"&gt;Indicador en Tabla pivote&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 12:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-with-max-date-doesn-t-work-in-set-analysis/m-p/441017#M164417</guid>
      <dc:creator />
      <dc:date>2014-11-14T12:47:59Z</dc:date>
    </item>
  </channel>
</rss>

