<?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: quick question regarding first sorted value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370439#M491982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I've made two part tutorial on FirstSortedValue(). Please check the below link...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;A href="http://qlikshare.com/392"&gt;http://qlikshare.com/392&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2012 10:24:09 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2012-12-17T10:24:09Z</dc:date>
    <item>
      <title>quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370430#M491973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text object with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Division with the highest expenses :'&amp;nbsp; &amp;amp;&amp;nbsp; firstsortedvalue(Division,-aggr(sum(expenses),Division))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to display the division name that has the highest expenses. There must be something wrong with my expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope some one can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carter!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 15:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370430#M491973</guid>
      <dc:creator />
      <dc:date>2012-07-26T15:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370431#M491974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you get back? I can't see anything wrong at the moment. Have you compared your result with a straight table with dimension Division and expression sum(expenses)? &lt;/P&gt;&lt;P&gt;Do you have a unique Division with the highest expenses or do more than one Division share the highest expenses?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked the usual suspects (typo / case sensitivity in field names)? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 15:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370431#M491974</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-26T15:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370432#M491975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the strange part. I only get the text string: 'Division with the highest expenses'. the rest is not displayed.&lt;/P&gt;&lt;P&gt;I double checked the fieldnames, all ok &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I created a straight table with the division names, and did a sum(expenses). There is only 1 division that has the highest expenses.&lt;/P&gt;&lt;P&gt;could it be a because im using qlikview 9.6 ? I doubt it, but could be...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to create some fake data and see if I can upload it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370432#M491975</guid>
      <dc:creator />
      <dc:date>2012-07-26T16:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370433#M491976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function FirstSortedValue() returns null if there are more than one value for the sort order specified. This is a limitation in using function. Please check if this is causing the problem in your case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370433#M491976</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2012-07-26T16:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370434#M491977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it seems to working fine on another table. I just copied a pasted the expression and changed the field names.&lt;/P&gt;&lt;P&gt;I think I found the cause, it can be that the highest&amp;nbsp; expenses does not have a division. so I need to do something with the script, like 'supress value when null'&lt;/P&gt;&lt;P&gt;but how can I do that in a text object? or in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370434#M491977</guid>
      <dc:creator />
      <dc:date>2012-07-26T16:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370435#M491978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your expression, maybe like this:&lt;/P&gt;&lt;P&gt;='Division with the highest expenses :'&amp;nbsp; &amp;amp;&amp;nbsp; firstsortedvalue({&amp;lt;Division={"*"}&amp;gt;} Division,-aggr(sum(Expenses),Division))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370435#M491978</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-26T16:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370436#M491979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks good solution! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I adjusted the field division in the load script to this:&lt;/P&gt;&lt;P&gt;if(isnull(Division), 'Unkown', Division) AS Division&lt;/P&gt;&lt;P&gt;Then I excluded unknown in my expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But your solution is much better &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370436#M491979</guid>
      <dc:creator />
      <dc:date>2012-07-26T16:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370437#M491980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Stefan - That's very clever! I love this approach. I have learnt something new.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Thanks Sam &amp;amp; Stefan.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;A href="http://QlikShare.com"&gt;www.QlikShare.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2012 17:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370437#M491980</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-08-04T17:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370438#M491981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;Please give me reply anyone &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Exact use of FIRST SORTED VALUE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;just am new to learn....&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 16:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370438#M491981</guid>
      <dc:creator />
      <dc:date>2012-12-14T16:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370439#M491982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I've made two part tutorial on FirstSortedValue(). Please check the below link...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;A href="http://qlikshare.com/392"&gt;http://qlikshare.com/392&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 10:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370439#M491982</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-12-17T10:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370440#M491983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Deepak: thanku for giving me confidence....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plaease explain Datamodel...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 15:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370440#M491983</guid>
      <dc:creator />
      <dc:date>2012-12-17T15:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: quick question regarding first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370441#M491984</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 any one can Explain.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which Schema supports in Qlikview and Why? &lt;STRONG&gt;(Star Schema and SnowFlake Schema)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is Optimization load ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 16:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quick-question-regarding-first-sorted-value/m-p/370441#M491984</guid>
      <dc:creator />
      <dc:date>2012-12-17T16:55:56Z</dc:date>
    </item>
  </channel>
</rss>

