<?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: Another max row question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365229#M1171275</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;you mean something like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2012 16:08:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-24T16:08:19Z</dc:date>
    <item>
      <title>Another max row question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365228#M1171272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been looking through the form to solve my max row problem, I think I'm close, but still not getting it! This is what I'm trying to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have campus 1, and 2 (column called campus)&lt;/P&gt;&lt;P&gt;I have Units ICC,OR,ER .. many more (each unit may or may not be on both Campuses)&lt;/P&gt;&lt;P&gt;Each Unit has many rows with a update, and a archive_id for a single day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get the max archive_id by using the function =aggr(max(ArchiveSnapshot_ID),campus,Unit_Name) as a Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm not getting is a expression (I think) that will display the max row, per campus , unit based on the selection. If no selection is made when opening the doc I would like to see all max rows for each campus/ units. Again each campus may or may not have a the same unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Campus,&amp;nbsp; Unit, Update, Archive_id&lt;/P&gt;&lt;P&gt;-----------------------------------------&lt;/P&gt;&lt;P&gt;campus 1, ER ,7/29/2012,12&lt;/P&gt;&lt;P&gt;campus 1 , ER, 7/20/2012. 23&lt;/P&gt;&lt;P&gt;campus 1, OR, 7/20/2012 9&lt;/P&gt;&lt;P&gt;campus 2, ER ,7/20/2012, 15&lt;/P&gt;&lt;P&gt;campus 2, ICC,7/20/2012. 34&lt;/P&gt;&lt;P&gt;campus 2, ICC,7/20/2012 36&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display should look something like this:(default) unless 1 or more units are selected, then only those units will be displayed&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;campus 1 , ER, 7/20/2012. 23&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; campus 1, OR, 7/20/2012 9&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;campus 2, ER ,7/20/2012, 15 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; campus 2, ICC,7/20/2012 36 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 13:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365228#M1171272</guid>
      <dc:creator />
      <dc:date>2012-07-24T13:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Another max row question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365229#M1171275</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;you mean something like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 16:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365229#M1171275</guid>
      <dc:creator />
      <dc:date>2012-07-24T16:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Another max row question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365230#M1171277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, and no.&amp;nbsp; I still need both er's from both campuses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 16:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365230#M1171277</guid>
      <dc:creator />
      <dc:date>2012-07-24T16:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Another max row question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365231#M1171278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out... I was using&amp;nbsp; =aggr(max(Archive_id), &lt;STRONG&gt;Campus,Unit&lt;/STRONG&gt;) and the answer is =aggr(max(Archive_id), &lt;STRONG&gt;Unit,Campus&lt;/STRONG&gt;). I'm not sure why, maybe someone could expain the order thing to me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 16:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365231#M1171278</guid>
      <dc:creator />
      <dc:date>2012-07-24T16:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Another max row question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365232#M1171279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well ok it solved part of the problem, but it looks like it is assigning the max row to the wrong row. I added a comment column to the qvw you posted. One can see that Campus1 and ER unit should say " Bye" and not the word "Hi" in the comments column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See new updated file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 16:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-max-row-question/m-p/365232#M1171279</guid>
      <dc:creator />
      <dc:date>2012-07-24T16:41:14Z</dc:date>
    </item>
  </channel>
</rss>

