<?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: Show which Dimension has Greatest/Max Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500703#M692825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's probably just a matter of formatting or interpreting your dates correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it's not really a fun game to guess what the problem might be, without knowing anything about your model and data. Why don't you come up with some sample data, best by posting a small sample QV app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or just select the last 6 month in your date dimension and then you will get your result (after removing the {1} set identifier).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 17:49:12 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-09-10T17:49:12Z</dc:date>
    <item>
      <title>Show which Dimension has Greatest/Max Value</title>
      <link>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500696#M692818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a table that shows which Well has the greatest daily Depth_Drilled. &lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="49" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 230px; HEIGHT: 44px; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Well&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Max Dly Depth Drilled&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;SRC 32H&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to get the maximum value in the database using the below in my expression tab...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Depth_Drilled&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;However, the table lists all wells (i.e., dimension) with that Maximum Depth_Drilled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Well&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Max Dly Depth Drilled&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Mtn Range 12H&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Erie Cnty 5H&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;SRC 32H&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Punxy 10V&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Durango 7V&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What is the code to only show the exact well/dimension with the maximum Depth_Drilled?&amp;nbsp; Also, if I wanted to show which well had the maximum within the last six months what is the code to show that timeframe?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Mindy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 19:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500696#M692818</guid>
      <dc:creator />
      <dc:date>2013-09-09T19:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Show which Dimension has Greatest/Max Value</title>
      <link>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500697#M692819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove the TOTAL qualifier from your expression and use a dimension limit in your straight table chart properties to show only the top value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 20:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500697#M692819</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-09T20:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show which Dimension has Greatest/Max Value</title>
      <link>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500698#M692820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl, this works but not in the way that I need it. I want this table chart to always show the well with the max depth no matter what other selections are made by the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 20:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500698#M692820</guid>
      <dc:creator />
      <dc:date>2013-09-09T20:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show which Dimension has Greatest/Max Value</title>
      <link>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500699#M692821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind.&amp;nbsp; I got it to work as you described for the historical pull.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;What about the data pull for the last 6 months?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 20:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500699#M692821</guid>
      <dc:creator />
      <dc:date>2013-09-09T20:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Show which Dimension has Greatest/Max Value</title>
      <link>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500700#M692822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, should be taken care of by your use of set identifier {1}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 20:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500700#M692822</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-09T20:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Show which Dimension has Greatest/Max Value</title>
      <link>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500701#M692823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You haven't told much about the date dimension in your data model, so just guessing.&lt;/P&gt;&lt;P&gt;Try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;({1&amp;lt;Date = {"&amp;gt;=$(=AddMonths(Today(),-6))"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Depth_Drilled&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 21:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500701#M692823</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-09T21:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Show which Dimension has Greatest/Max Value</title>
      <link>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500702#M692824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The date dimension code doesn't work.&amp;nbsp; It brings me the max depth without taking the 6-month timeframe into consideration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 17:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500702#M692824</guid>
      <dc:creator />
      <dc:date>2013-09-10T17:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show which Dimension has Greatest/Max Value</title>
      <link>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500703#M692825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's probably just a matter of formatting or interpreting your dates correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it's not really a fun game to guess what the problem might be, without knowing anything about your model and data. Why don't you come up with some sample data, best by posting a small sample QV app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or just select the last 6 month in your date dimension and then you will get your result (after removing the {1} set identifier).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 17:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-which-Dimension-has-Greatest-Max-Value/m-p/500703#M692825</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-10T17:49:12Z</dc:date>
    </item>
  </channel>
</rss>

