<?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 Advanced If:ing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196886#M56778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you only want to get the maximumd date, then something like this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(date=max(TOTAL date), Sum(Value))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 16:13:02 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2010-11-22T16:13:02Z</dc:date>
    <item>
      <title>Advanced If:ing</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196881#M56773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;date, Value&lt;/P&gt;&lt;P&gt;1, 20&lt;/P&gt;&lt;P&gt;1, 30&lt;/P&gt;&lt;P&gt;2, 10&lt;/P&gt;&lt;P&gt;2, 15&lt;/P&gt;&lt;P&gt;3, 40&lt;/P&gt;&lt;P&gt;3, 11&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;This question is part of a more complex expression but here is a simplified version of where it fails:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;sum(if(date = max(date), value) =&amp;gt; null&lt;/P&gt;&lt;P&gt;is there some other way to accomplish the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 14:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196881#M56773</guid>
      <dc:creator />
      <dc:date>2010-11-22T14:08:29Z</dc:date>
    </item>
    <item>
      <title>Advanced If:ing</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196882#M56774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;date, Value&lt;/P&gt;&lt;P&gt;1, 20&lt;/P&gt;&lt;P&gt;1, 30&lt;/P&gt;&lt;P&gt;2, 10&lt;/P&gt;&lt;P&gt;2, 15&lt;/P&gt;&lt;P&gt;3, 40&lt;/P&gt;&lt;P&gt;3, 11&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE sum(if(date = max(date), value) &amp;gt;=Null();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 14:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196882#M56774</guid>
      <dc:creator />
      <dc:date>2010-11-22T14:12:37Z</dc:date>
    </item>
    <item>
      <title>Advanced If:ing</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196883#M56775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the expression is used in the app not when loading data. here is just some example data, its just something to test an expression on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 14:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196883#M56775</guid>
      <dc:creator />
      <dc:date>2010-11-22T14:32:44Z</dc:date>
    </item>
    <item>
      <title>Advanced If:ing</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196884#M56776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be a typo, but there is one parenthesis missed there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum(if(date = max(date), &lt;STRONG&gt;V&lt;/STRONG&gt;alue)&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Besides, names are case sensitive in QlikView. I'd rather try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum({&amp;lt; date = {'$(=max(date))'} &amp;gt;} Value)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 15:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196884#M56776</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-22T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Advanced If:ing</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196885#M56777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realise My explanation was quite bad.&lt;/P&gt;&lt;P&gt;The expression resides in a chart and has to calculate separatly for each row due to a third field which i did not include here, So there can be No set analysis since they calculate once for the entire chart. so is there any way to write the expression in ifs? (with correct case of course)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 16:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196885#M56777</guid>
      <dc:creator />
      <dc:date>2010-11-22T16:10:41Z</dc:date>
    </item>
    <item>
      <title>Advanced If:ing</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196886#M56778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you only want to get the maximumd date, then something like this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(date=max(TOTAL date), Sum(Value))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 16:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-If-ing/m-p/196886#M56778</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-22T16:13:02Z</dc:date>
    </item>
  </channel>
</rss>

