<?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: How to get correct dimension on this in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-correct-dimension-on-this/m-p/1636129#M733375</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=week&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Max Orders&amp;nbsp; &amp;nbsp; &amp;nbsp;=aggr(max(num_orders),week)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Max Category&amp;nbsp; &amp;nbsp;=FirstSortedValue(DISTINCT aggr( category, week, category) , -aggr(Sum(num_orders), week, category) )&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 13:57:43 GMT</pubDate>
    <dc:creator>Victor_Alumanah</dc:creator>
    <dc:date>2019-10-16T13:57:43Z</dc:date>
    <item>
      <title>How to get correct dimension on this</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-correct-dimension-on-this/m-p/1636095#M733373</link>
      <description>&lt;P&gt;I have my sample data which is this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21690i12CBFC210DD0F8D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What I want to get is the most sold product for each week.&lt;BR /&gt;&lt;BR /&gt;What I did on Qlik was to add week, category and this formula -&amp;gt; 'max(aggr(sum(num_orders), week, category))'&lt;BR /&gt;&lt;BR /&gt;To get the most sold product, but the category dimension makes all the categories appear.&lt;BR /&gt;&lt;BR /&gt;What should I do to filter it and make it so only the most sold category appears, like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21691i56BD8C7B2655226A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-correct-dimension-on-this/m-p/1636095#M733373</guid>
      <dc:creator>ShadowsZD</dc:creator>
      <dc:date>2024-11-16T02:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get correct dimension on this</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-correct-dimension-on-this/m-p/1636129#M733375</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=week&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Max Orders&amp;nbsp; &amp;nbsp; &amp;nbsp;=aggr(max(num_orders),week)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Max Category&amp;nbsp; &amp;nbsp;=FirstSortedValue(DISTINCT aggr( category, week, category) , -aggr(Sum(num_orders), week, category) )&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-correct-dimension-on-this/m-p/1636129#M733375</guid>
      <dc:creator>Victor_Alumanah</dc:creator>
      <dc:date>2019-10-16T13:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get correct dimension on this</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-correct-dimension-on-this/m-p/1639138#M733377</link>
      <description>&lt;P&gt;Luiz, did Victor's post help you get things working as you wanted?&amp;nbsp; If so, do not forget to return back to use the Accept as Solution button on his post to give him credit and let others know things worked for you.&amp;nbsp; If you are still trying to get things working, please leave us an update as to where you are with things.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 17:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-correct-dimension-on-this/m-p/1639138#M733377</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-23T17:29:19Z</dc:date>
    </item>
  </channel>
</rss>

