<?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: Why the aggr(firstsortedvalue) dimension doesn't affect the expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738227#M263928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached file&lt;/P&gt;&lt;P&gt;see in script also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2014 10:21:53 GMT</pubDate>
    <dc:creator>er_mohit</dc:creator>
    <dc:date>2014-07-09T10:21:53Z</dc:date>
    <item>
      <title>Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738220#M263921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question like what I said on the topic, I feel it is strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the most qty store per vip. and I have data like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MostQtyStore1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/62001_MostQtyStore1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I did a chart to calculate that using aggr firstsortedvalu in dimension like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MostQtyStore2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/62002_MostQtyStore2.png" style="width: 620px; height: 117px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the expression(QTY) is not 8 for A, but 11 for A, so I feel it is strange, why the second dimension doesn't affect the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or do I need to use other statement to calculate that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help, and the attached file is the qvw. Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 07:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738220#M263921</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-07-09T07:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738221#M263922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Changjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached QVW application,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created one more chart in your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Regards,&lt;/P&gt;&lt;P&gt;Vishal Waghole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 07:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738221#M263922</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2014-07-09T07:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738222#M263923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just try with this expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(sum(QTY),VIP,STORE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Regards,&lt;/P&gt;&lt;P&gt;Vishal Waghole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 07:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738222#M263923</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2014-07-09T07:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738223#M263924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer,but I just want to show one store per vip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to show the most qty store, or the expression doesn't make any sense, so do you have any other idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 09:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738223#M263924</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-07-09T09:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738224#M263925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Changjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't understand your requirement, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can you please roughly draw what type of output you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Regards,&lt;/P&gt;&lt;P&gt;Vishal Wagole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 09:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738224#M263925</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2014-07-09T09:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738225#M263926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MostQtyStore3.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/62044_MostQtyStore3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 10:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738225#M263926</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-07-09T10:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738226#M263927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attachement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 10:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738226#M263927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-09T10:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738227#M263928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached file&lt;/P&gt;&lt;P&gt;see in script also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 10:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738227#M263928</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-07-09T10:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738228#M263929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satyadev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help, but I think the result is not what I want, I hope the result is the same with my screenshot above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 03:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738228#M263929</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-07-10T03:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738229#M263930</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 find attached file for solution.&amp;nbsp; Used dimension limits for the second dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 03:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738229#M263930</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-07-10T03:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738230#M263931</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 check the enhanced version. Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qty.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/62119_qty.PNG.png" style="width: 620px; height: 294px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 04:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738230#M263931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-10T04:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738231#M263932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help, the result is what I want, but I don't want to change the script, do you have any other idea to solve this problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 05:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738231#M263932</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-07-10T05:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738232#M263933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satyadev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again, the result is great for me, but actually I don't want to modify the script, I think Jagan's method works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you so much, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 05:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738232#M263933</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-07-10T05:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738233#M263934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you so much for you answer, that's what I want. But if I change the request about most qty to most order to also calculate the sum(qty), does that will work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 05:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738233#M263934</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-07-10T05:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why the aggr(firstsortedvalue) dimension doesn't affect the expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738234#M263935</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;This will work just change the expression.Count(ORDER) it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 06:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-aggr-firstsortedvalue-dimension-doesn-t-affect-the/m-p/738234#M263935</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-07-10T06:16:48Z</dc:date>
    </item>
  </channel>
</rss>

