<?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: group by expression using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198841#M880303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way this is structured, you won't be able to achieve your desired result because of the limitations of QlikView. You will need to use Aggregate function within you calculated dimension and Aggr function can sort ascending, descending, load order, but cannot sort by expression. So there is not way to sort your calculated dimension with in ascending order of &lt;STRONG&gt;=Rank(TOTAL Sum(TotalNetPrice)).&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Oct 2016 22:30:22 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-15T22:30:22Z</dc:date>
    <item>
      <title>group by expression using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198839#M880301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached qlikview document, any idea how to build this report using below source. Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, Week NO, Category, Launch, Stock type, Article, SOH, Sold Qty Week, TotalNetPrice, TotalLandedCost, Type_ID, Order Qty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-30270006, 400, 26, 80473, 31668, NB, 31&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-20780203, 316, 30, 77442, 24932, NB, 19&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-80680430, 601, 33, 77371, 25368, RO, 154&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-30741445, 504, 25, 77146, 21166, RO, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-50780230, 504, 30, 74765, 31554, RO, 35&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-50670452, 446, 99, 282234, 125982, NB, 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-50780219, 244, 102, 276768, 116025, NB, 31&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-30780217, 487, 80, 244943, 91000, RO, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-80840056, 243, 100, 237215, 96610, RO, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L6, Seasonal, CK2-30270010, 546, 75, 231134, 81417, RO, 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L3, Seasonal, CK2-80150494, 242, 5, 10833, 4129, RO, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2015-L2, Seasonal, CK2-50780074, 288, 3, 9787, 3573, RO, 56&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L4 (JIT), Seasonal, CK2-80150527, 211, 6, 9703, 3786, RO, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L3, Seasonal, CK2-20741422, 86, 4, 9319, 4114, RO, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L3, Seasonal, CK2-80741408, 211, 4, 9319, 3574, NB, 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L3, Seasonal, CK2-50670436, 159, 3, 9188, 4534, NB, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L2, Seasonal, CK2-50680373, 200, 4, 8935, 3303, RO, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thailand, 38, Ladies Bag, 2016-L3, Seasonal, CK2-50670432, 74, 4, 8506, 4155, UB, 1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected output,&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Output required.jpg" class="jive-image image-1" src="/legacyfs/online/140729_Output required.jpg" style="height: 101px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198839#M880301</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: group by expression using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198840#M880302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does Expected output is in Excel? If yes, please share Excel &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2016 18:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198840#M880302</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-15T18:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: group by expression using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198841#M880303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way this is structured, you won't be able to achieve your desired result because of the limitations of QlikView. You will need to use Aggregate function within you calculated dimension and Aggr function can sort ascending, descending, load order, but cannot sort by expression. So there is not way to sort your calculated dimension with in ascending order of &lt;STRONG&gt;=Rank(TOTAL Sum(TotalNetPrice)).&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2016 22:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198841#M880303</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-15T22:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: group by expression using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198842#M880304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil Babu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached document, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Oct 2016 03:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198842#M880304</guid>
      <dc:creator />
      <dc:date>2016-10-16T03:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: group by expression using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198843#M880305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply, Sorting not required for the summary report, can you explain how to add below expression in dimension place .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Grade&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if(&lt;/P&gt;&lt;P&gt;&amp;nbsp; rangesum(above(TOTAL ([Sales Value%]),0,RowNo(Total)))&amp;lt;0.6,'A Stocks',if(&lt;/P&gt;&lt;P&gt;&amp;nbsp; rangesum(above(TOTAL ([Sales Value%]),0,RowNo(Total)))&amp;gt;0.6 and rangesum(above(TOTAL ([Sales Value%]),0,RowNo(Total)))&amp;lt;0.9,'B Stocks',&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'C Stocks'&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note: Sales Value%&lt;/P&gt;&lt;P&gt;=SUM(TotalNetPrice/SUM(TOTAL TotalNetPrice))&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Group by Grade.jpg" class="jive-image image-1" src="/legacyfs/online/140750_Group by Grade.jpg" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Oct 2016 03:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by-expression-using-set-analysis/m-p/1198843#M880305</guid>
      <dc:creator />
      <dc:date>2016-10-16T03:36:28Z</dc:date>
    </item>
  </channel>
</rss>

