<?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: MAX (Total) not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437261#M486296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;You can also try this one as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;if(trasaction_date=MAX(TOTAL transaction_date),sum(&lt;SPAN style="color: #737373; font-family: Arial; font-size: 15px; background-color: #ffffff;"&gt;trasaction_cost&lt;/SPAN&gt;),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;Regards:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;Narender&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2013 13:17:48 GMT</pubDate>
    <dc:creator>narender123</dc:creator>
    <dc:date>2013-03-13T13:17:48Z</dc:date>
    <item>
      <title>MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437258#M486293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a table of inventory items transactions, I'm trying to have a pivot table per item and other dimensions to get the unit cost per item for the last transaction done per date, but its working only for one item selected, but for all items it result with zero, following expression had been used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;sum(if(trasaction_date=MAX(TOTAL transaction_date),trasaction_cost,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;if someone can help on this issue, thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Firas Ahmed&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 13:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437258#M486293</guid>
      <dc:creator />
      <dc:date>2013-03-13T13:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437259#M486294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload sample file? It helps to understand your problem easier.&lt;/P&gt;&lt;P&gt;You may need to use Aggr function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 13:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437259#M486294</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-03-13T13:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437260#M486295</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;Please try this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;sum(if(trasaction_date=aggr(MAX(TOTAL transaction_date),item)trasaction_cost,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;VIshal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 13:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437260#M486295</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2013-03-13T13:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437261#M486296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;You can also try this one as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;if(trasaction_date=MAX(TOTAL transaction_date),sum(&lt;SPAN style="color: #737373; font-family: Arial; font-size: 15px; background-color: #ffffff;"&gt;trasaction_cost&lt;/SPAN&gt;),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;Regards:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;Narender&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 13:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437261#M486296</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-03-13T13:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437262#M486297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you store the MAX transaction_date in to a variable.&lt;/P&gt;&lt;P&gt;You can use this variable in the expression, it will be eaiser way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yaseen &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 13:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437262#M486297</guid>
      <dc:creator />
      <dc:date>2013-03-13T13:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437263#M486298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =sum(aggr(max(date),Transation_id)transaction_cost)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Anant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 13:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437263#M486298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-13T13:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437264#M486299</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;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;trasaction_date = {"$(=Date(Max(transaction_date)))"} trasaction_cost)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 13:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437264#M486299</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-03-13T13:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437265#M486300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Vishal, statement did not solve the issue, it returns zero always (one or all items), it may missing one more parameter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 04:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437265#M486300</guid>
      <dc:creator />
      <dc:date>2013-03-16T04:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437266#M486301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you all for reply, but actually it did not work, all of them still return zero, I would appreciate your help I will brief issue again just in case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table structure (item, quantity, cost, transaction date) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dashboard target : inventory aging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current issue: to get the cost of the last transaction per item as per date dimension selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Firas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 05:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437266#M486301</guid>
      <dc:creator />
      <dc:date>2013-03-16T05:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437267#M486302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload your Sample Application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 05:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437267#M486302</guid>
      <dc:creator />
      <dc:date>2013-03-16T05:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437268#M486303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you nirmal, can you pls. advice how to upload?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 07:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437268#M486303</guid>
      <dc:creator />
      <dc:date>2013-03-16T07:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437269#M486304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;You can use the advanced editor to attach files to your posts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;You will find this on the top right of your the text area (see the image for reference)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;A href="https://community.qlik.com/legacyfs/online/35047_advancededitor.png"&gt;&lt;IMG __jive_id="35047" alt="advancededitor.png" class="jive-image-thumbnail jive-image jiveImage" height="245" src="https://community.qlik.com/legacyfs/online/35047_advancededitor.png" style="border-color: transparent;" width="450" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;And Browse for your files using the Browse button.&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;A href="https://community.qlik.com/legacyfs/online/35051_Attachfiles.png"&gt;&lt;IMG __jive_id="35051" alt="Attachfiles.png" class="jive-image jiveImage" height="77" src="https://community.qlik.com/legacyfs/online/35051_Attachfiles.png" style="border: 0px;" width="347" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Nirav Bhimani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 10:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437269#M486304</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2013-03-16T10:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437270#M486305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls. find attached a sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 10:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437270#M486305</guid>
      <dc:creator />
      <dc:date>2013-03-16T10:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437271#M486306</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This has a section access, kindly give us user name and password of user and admin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 10:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437271#M486306</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-16T10:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: MAX (Total) not working</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437272#M486307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;admin/noaccess&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 11:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-Total-not-working/m-p/437272#M486307</guid>
      <dc:creator />
      <dc:date>2013-03-16T11:16:43Z</dc:date>
    </item>
  </channel>
</rss>

