<?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 in Dimension Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-in-Dimension-Table/m-p/1044359#M524315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use aggregation function directly in Dimensions expression. You need use AGGR function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Max(Date_Ship), &amp;lt;DimensionFieldName&amp;gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2016 19:41:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-03T19:41:25Z</dc:date>
    <item>
      <title>Max in Dimension Table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-in-Dimension-Table/m-p/1044356#M524312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following code in dimensions tab on my pivot table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;MAX(DATE(date_ship))&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where date_ship is a datetime variable. But it give me an error like &lt;STRONG&gt;"Error in Calculated Dimension"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows waht's happening? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-in-Dimension-Table/m-p/1044356#M524312</guid>
      <dc:creator />
      <dc:date>2016-02-03T19:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Max in Dimension Table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-in-Dimension-Table/m-p/1044357#M524313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To use Max in your dimension you will need to use with Aggr() function. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(Max(date_ship), date_ship)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-in-Dimension-Table/m-p/1044357#M524313</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-03T19:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Max in Dimension Table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-in-Dimension-Table/m-p/1044358#M524314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need to use something dimensional as dimension, not a scalar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like a field, or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr( Date(Max(date_ship)), &lt;EM&gt;DimensionForMaxDateField&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the aggr() dimension with&amp;nbsp; appropriate field name(s).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-in-Dimension-Table/m-p/1044358#M524314</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-03T19:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Max in Dimension Table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-in-Dimension-Table/m-p/1044359#M524315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use aggregation function directly in Dimensions expression. You need use AGGR function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Max(Date_Ship), &amp;lt;DimensionFieldName&amp;gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-in-Dimension-Table/m-p/1044359#M524315</guid>
      <dc:creator />
      <dc:date>2016-02-03T19:41:25Z</dc:date>
    </item>
  </channel>
</rss>

