<?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 best selling ColorCode of article Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1751007#M453596</link>
    <description>&lt;P&gt;Hi&amp;nbsp;mayilvahanan,&lt;BR /&gt;&lt;BR /&gt;Thanks for your quick reply. This expression returns "Errors in expression" unfortunately, do we miss any parentheses or will this not work with my variable (please see my reply to &lt;SPAN&gt;Taoufiq for&amp;nbsp;&lt;/SPAN&gt;more details)?&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Anders&lt;/P&gt;</description>
    <pubDate>Fri, 09 Oct 2020 11:18:47 GMT</pubDate>
    <dc:creator>AndersGS</dc:creator>
    <dc:date>2020-10-09T11:18:47Z</dc:date>
    <item>
      <title>Show best selling ColorCode of article Total</title>
      <link>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1750993#M453592</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In a QlikView straight table I'm showing the top 5 best selling articles based on it's total Sales value yesterday.&lt;BR /&gt;In a separate column I want to display the&amp;nbsp;top 1 selling colorcode within each of the top 5 Articles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fields are : 'Article', 'ColorCode' and the variable 'vSales_LD'&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Goal:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Article&lt;/TD&gt;&lt;TD&gt;$(vSales_LD)&lt;/TD&gt;&lt;TD&gt;Top 1 selling ColorCode&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07409&lt;/TD&gt;&lt;TD&gt;200 000&lt;/TD&gt;&lt;TD&gt;99&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07203&lt;/TD&gt;&lt;TD&gt;100 000&lt;/TD&gt;&lt;TD&gt;92&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;05103&lt;/TD&gt;&lt;TD&gt;50 000&lt;/TD&gt;&lt;TD&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07712&lt;/TD&gt;&lt;TD&gt;25 000&lt;/TD&gt;&lt;TD&gt;94&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07412&lt;/TD&gt;&lt;TD&gt;10 000&lt;/TD&gt;&lt;TD&gt;96&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table with all Articles with each ColorCode sold yesterday:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Article&lt;/TD&gt;&lt;TD&gt;ColorCode&lt;/TD&gt;&lt;TD&gt;$(vSales_LD)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07409&lt;/TD&gt;&lt;TD&gt;99&lt;/TD&gt;&lt;TD&gt;150 000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07203&lt;/TD&gt;&lt;TD&gt;92&lt;/TD&gt;&lt;TD&gt;75 000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07409&lt;/TD&gt;&lt;TD&gt;33&lt;/TD&gt;&lt;TD&gt;50 000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;05103&lt;/TD&gt;&lt;TD&gt;99&lt;/TD&gt;&lt;TD&gt;40 000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07203&lt;/TD&gt;&lt;TD&gt;26&lt;/TD&gt;&lt;TD&gt;25 000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07712&lt;/TD&gt;&lt;TD&gt;94&lt;/TD&gt;&lt;TD&gt;20 000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;05103&lt;/TD&gt;&lt;TD&gt;92&lt;/TD&gt;&lt;TD&gt;10 000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07412&lt;/TD&gt;&lt;TD&gt;96&lt;/TD&gt;&lt;TD&gt;8 000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07712&lt;/TD&gt;&lt;TD&gt;26&lt;/TD&gt;&lt;TD&gt;5 000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07412&lt;/TD&gt;&lt;TD&gt;99&lt;/TD&gt;&lt;TD&gt;2 000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are running QlikView 11.20.13707.0&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;BR /&gt;Anders&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1750993#M453592</guid>
      <dc:creator>AndersGS</dc:creator>
      <dc:date>2024-11-15T23:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Show best selling ColorCode of article Total</title>
      <link>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1750997#M453593</link>
      <description>&lt;P&gt;Hi Anders,&lt;/P&gt;&lt;P&gt;Try like below in chart expression&lt;/P&gt;&lt;P&gt;FirstSortedValue(ColorCode, -Aggr(&lt;SPAN&gt;$(vSales_LD)&lt;/SPAN&gt;, Article, ColorCode))&lt;/P&gt;&lt;P&gt;It will gives the ColorCode which contains high sales for that articles&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 10:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1750997#M453593</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-10-09T10:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Show best selling ColorCode of article Total</title>
      <link>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1751002#M453594</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/72254"&gt;@AndersGS&lt;/a&gt;&amp;nbsp; If I understood correctly&lt;/P&gt;&lt;P&gt;for this input :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 297px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41975iD793E95982FFE0AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;straight table :&lt;/P&gt;&lt;P&gt;dimension Article&lt;/P&gt;&lt;P&gt;Expression 1 for example Sum(Sales)&lt;/P&gt;&lt;P&gt;new Expression :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=FirstSortedValue(ColorCode,-Sales)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 487px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41977iD0D0CFE8F1A96C88/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 10:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1751002#M453594</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-10-09T10:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show best selling ColorCode of article Total</title>
      <link>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1751006#M453595</link>
      <description>&lt;P&gt;Hi Taoufiq,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply. I'm trying with&amp;nbsp;=FirstSortedValue(ColorCode,-$(vSales_LD)) but It throws an error:&lt;BR /&gt;"Nested aggregation not allowed".&amp;nbsp; The variable 'vSales_LD'&amp;nbsp; is&amp;nbsp;Sum ({$&amp;lt;#Date_O={1},%Type={'O','C','I','IC'},_LD={1}&amp;gt;} mcAmount / EXC.RATE).&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Anders&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 10:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1751006#M453595</guid>
      <dc:creator>AndersGS</dc:creator>
      <dc:date>2020-10-09T10:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Show best selling ColorCode of article Total</title>
      <link>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1751007#M453596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;mayilvahanan,&lt;BR /&gt;&lt;BR /&gt;Thanks for your quick reply. This expression returns "Errors in expression" unfortunately, do we miss any parentheses or will this not work with my variable (please see my reply to &lt;SPAN&gt;Taoufiq for&amp;nbsp;&lt;/SPAN&gt;more details)?&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Anders&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 11:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1751007#M453596</guid>
      <dc:creator>AndersGS</dc:creator>
      <dc:date>2020-10-09T11:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show best selling ColorCode of article Total</title>
      <link>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1753960#M453702</link>
      <description>&lt;P&gt;Hi again,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the delay in checking back on this, I retried your solution today and it worked!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Anders&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 07:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-best-selling-ColorCode-of-article-Total/m-p/1753960#M453702</guid>
      <dc:creator>AndersGS</dc:creator>
      <dc:date>2020-10-20T07:22:37Z</dc:date>
    </item>
  </channel>
</rss>

