<?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 Sorting with Above in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2116976#M91129</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a table like this:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Customer, Unit of measure, Quantity variance YoY&lt;BR /&gt;A, BO, 18500&lt;BR /&gt;A, MQ, 6200&lt;BR /&gt;B, KG, 22100&lt;BR /&gt;B, MQ, 7400&lt;BR /&gt;C, MQ, 4800&lt;BR /&gt;C, NR, -4600&lt;BR /&gt;D, MQ, -4100&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;The desired result in the UI is a table as below:&lt;/P&gt;
&lt;P&gt;Customer - Unit of measure - Quantity variance YoY -&lt;STRONG&gt; Variance accumulated&lt;/STRONG&gt;&lt;BR /&gt;B - KG - 22100 - &lt;STRONG&gt;22100&lt;/STRONG&gt;&lt;BR /&gt;A - BO - 18500 - &lt;STRONG&gt;40600&lt;/STRONG&gt;&lt;BR /&gt;B - MQ - 7400 - &lt;STRONG&gt;48000&lt;/STRONG&gt;&lt;BR /&gt;A - MQ - 6200 - &lt;STRONG&gt;54200&lt;/STRONG&gt;&lt;BR /&gt;C - MQ - 4800 - &lt;STRONG&gt;59000&lt;/STRONG&gt;&lt;BR /&gt;D - MQ - -&lt;FONT color="#FF6600"&gt;4100&lt;/FONT&gt; - &lt;STRONG&gt;54900&lt;/STRONG&gt;&lt;BR /&gt;C - NR - &lt;FONT color="#FF6600"&gt;-4600 - &lt;STRONG&gt;&lt;FONT color="#000000"&gt;50300&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;I tried with the below expression for Variance accumulated:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Rangesum(above(total column(1),0,RowNo(TOTAL)))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;on Customer sorting expression:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;sum(Quantity variance YoY)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;but i got the below table result:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="agigliotti_0-1694696588096.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116316iBE185699CE39FE85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="agigliotti_0-1694696588096.png" alt="agigliotti_0-1694696588096.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could someone help me?&lt;/P&gt;
&lt;P&gt;Many thanks in advance for your time.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6152"&gt;@Oleg_Troyansky&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 15:23:43 GMT</pubDate>
    <dc:creator>agigliotti</dc:creator>
    <dc:date>2023-09-14T15:23:43Z</dc:date>
    <item>
      <title>Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2116976#M91129</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a table like this:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Customer, Unit of measure, Quantity variance YoY&lt;BR /&gt;A, BO, 18500&lt;BR /&gt;A, MQ, 6200&lt;BR /&gt;B, KG, 22100&lt;BR /&gt;B, MQ, 7400&lt;BR /&gt;C, MQ, 4800&lt;BR /&gt;C, NR, -4600&lt;BR /&gt;D, MQ, -4100&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;The desired result in the UI is a table as below:&lt;/P&gt;
&lt;P&gt;Customer - Unit of measure - Quantity variance YoY -&lt;STRONG&gt; Variance accumulated&lt;/STRONG&gt;&lt;BR /&gt;B - KG - 22100 - &lt;STRONG&gt;22100&lt;/STRONG&gt;&lt;BR /&gt;A - BO - 18500 - &lt;STRONG&gt;40600&lt;/STRONG&gt;&lt;BR /&gt;B - MQ - 7400 - &lt;STRONG&gt;48000&lt;/STRONG&gt;&lt;BR /&gt;A - MQ - 6200 - &lt;STRONG&gt;54200&lt;/STRONG&gt;&lt;BR /&gt;C - MQ - 4800 - &lt;STRONG&gt;59000&lt;/STRONG&gt;&lt;BR /&gt;D - MQ - -&lt;FONT color="#FF6600"&gt;4100&lt;/FONT&gt; - &lt;STRONG&gt;54900&lt;/STRONG&gt;&lt;BR /&gt;C - NR - &lt;FONT color="#FF6600"&gt;-4600 - &lt;STRONG&gt;&lt;FONT color="#000000"&gt;50300&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;I tried with the below expression for Variance accumulated:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Rangesum(above(total column(1),0,RowNo(TOTAL)))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;on Customer sorting expression:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;sum(Quantity variance YoY)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;but i got the below table result:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="agigliotti_0-1694696588096.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116316iBE185699CE39FE85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="agigliotti_0-1694696588096.png" alt="agigliotti_0-1694696588096.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could someone help me?&lt;/P&gt;
&lt;P&gt;Many thanks in advance for your time.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6152"&gt;@Oleg_Troyansky&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2116976#M91129</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-14T15:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117048#M91131</link>
      <description>&lt;P&gt;Well, your formula appears to be working as expected, it does the math correctly. The only difference between the "desired output" and the table is in the sorting order. Your "desired result" appears to be sorted by the variance in descending order, while your table is sorted by Customer and U/M. If you sort your table by the variance, you should see exactly the same picture as in your desired result.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To learn more advanced development techniques, check out the agenda of the &lt;A href="https://masterssummit.com" target="_blank"&gt;Masters Summit for Qlik&lt;/A&gt; - coming soon to Orlando and to Dublin!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117048#M91131</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-09-14T15:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117051#M91132</link>
      <description>&lt;P&gt;How can I sort the table by the variance in the UI?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117051#M91132</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-14T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117056#M91133</link>
      <description>&lt;P&gt;The only way i found to get the desired result is using a calculated dimension (Customer&amp;amp;'-'&amp;amp;&lt;SPAN&gt;Unit of measure) instead of Customer.&lt;BR /&gt;But of course i don't want to show the&amp;nbsp;Unit of measure with the customer in the same column...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117056#M91133</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-14T15:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117104#M91136</link>
      <description>&lt;P&gt;I'm a bit confused, not sure if I understand the challenge. Why not just promote the Expression for the variance to have the first priority in the Sorting tab of Properties?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 17:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117104#M91136</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-09-14T17:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117112#M91137</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6152"&gt;@Oleg_Troyansky&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I just tried to sort numerically descending on variance and make it first in the sorting list but the table sorting is not affected because of Above function in the measure expression.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 18:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117112#M91137</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-14T18:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117182#M91140</link>
      <description>&lt;P&gt;I'm not sure if there are (practically) ways to get your wanted expression-results with the intended sorting - without using a calculated dimension. But this dimension mustn't be visible else you could hide it with the options from the presentation tab (at least by using a straight-table or a bar-chart - a pivot does not provide this option).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 05:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117182#M91140</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-09-15T05:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117319#M91153</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I'm pretty agree with you.&lt;BR /&gt;Is there some trick to show only a substring (Customer) of the calculated dimension &lt;SPAN&gt;(Customer&amp;amp;'-'&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;Unit of measure) in a straight table&lt;/SPAN&gt;?&lt;BR /&gt;Obviously I can't hide it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 09:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117319#M91153</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-15T09:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117342#M91155</link>
      <description>&lt;P&gt;You could hide such calculated dimension:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marcus_sommer_0-1694775426008.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116392i5AB0C4580013578A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marcus_sommer_0-1694775426008.png" alt="marcus_sommer_0-1694775426008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 10:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117342#M91155</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-09-15T10:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117391#M91161</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I'm using Qlik Sense but anyway if i hide the calculated dimension the table sorting is not correct.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 12:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117391#M91161</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-15T12:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117413#M91165</link>
      <description>&lt;P&gt;You may use a dual() with any sub-string you want as string-representation and using a numeric coding of customer + unit - maybe just something like: customer_id * pow(10, 6) + unit_id respectively any logic which returned unique numeric values maybe even an autonumber() of both fields.&lt;/P&gt;
&lt;P&gt;Personally I wouldn't do it - at least not for this purpose - else just using the calculated dimension and removing the single dimension because this would contain all wanted information in the right way and everything additionally has just the potential to increase efforts and complexity as well as confusing the users.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 13:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117413#M91165</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-09-15T13:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117418#M91166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, I tested your scenario, and you need the calculated dimension, indeed. You can hide it though, using the Presentation settings. In my testing, I added a third dimension, as a concatenation of the first two dimensions, and I sorted it by expression. Then, I hid the dimension in the Presentation properties.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 13:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117418#M91166</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-09-15T13:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117456#M91172</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6152"&gt;@Oleg_Troyansky&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you explain what dimensions are you added to the above two?&lt;BR /&gt;I'd need to show in the straight table only the customer and unit of measure dimensions.&lt;BR /&gt;But the only way to get it working as expected is showing the calculated dimension instead of the customer dimension.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 14:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117456#M91172</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-15T14:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117483#M91177</link>
      <description>&lt;P&gt;Yes, certainly!&lt;/P&gt;
&lt;P&gt;In my testing, I created a Straight Table with two dimensions and an expression, just like yours. I then added another expression with your formula. As you described, the sorting by the first measure didn't work, because of the Above() function.&lt;/P&gt;
&lt;P&gt;So, I added a third dimension, concatenating the first two dimensions. In your case it will be something like this:&lt;/P&gt;
&lt;P&gt;Product &amp;amp; '|' &amp;amp; UM&lt;/P&gt;
&lt;P&gt;Then, I sorted the chart by this third dimension, sorted by expression, and I listed the same formula as the first expression has (not "column(1)", but rather a full copy of the formula - Sum(Quantity).&lt;/P&gt;
&lt;P&gt;Finally, I opened the Presentation properties of the chart and I defined the third expression as Hidden.&lt;/P&gt;
&lt;P&gt;That did the trick.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 15:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117483#M91177</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-09-15T15:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117489#M91178</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6152"&gt;@Oleg_Troyansky&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I'm using Qlik Sense not QlikView.&lt;BR /&gt;However I tried what you told me but when I hide the calculated dimension the table sorting is not correct.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 15:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117489#M91178</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-15T15:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117504#M91179</link>
      <description>&lt;P&gt;Well, you got me fooled there, because your screen shot is certainly from QlikView... I don't think this can work in Qlik Sense.&lt;/P&gt;
&lt;P&gt;You would need to create this combo field in your data and then you can use it as a dimension in the AGGR function that would calculated the same, without relying on the table dimensions. Something like this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;AGGR(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;Rangesum(above(total sum(Quantity),0,RowNo(TOTAL)))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;, (ComboDim, ("=sum(Quantity"), Desc))&lt;/P&gt;
&lt;P&gt;Quoting from memory, so please check the parentheses and quotes...&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 15:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117504#M91179</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-09-15T15:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117564#M91184</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6152"&gt;@Oleg_Troyansky&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You right the screenshot comes from QlikView.&lt;/P&gt;
&lt;P&gt;Unfortunately I can't create the combo field (Customer&amp;amp;Unit_of_measure) in the load script because they are in different tables.&lt;BR /&gt;Customer is in the sales fact table while Unit_of_measure is related to the product purchased by the customer.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 20:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117564#M91184</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-15T20:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117566#M91185</link>
      <description>&lt;P&gt;Well, it's obviously your solution and your call, but conceptually it's very easy to populate the U/M in the Fact table as a temporary field, create the Combo field that you need, and then drop the field from the Fact.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 20:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117566#M91185</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-09-15T20:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117613#M91189</link>
      <description>&lt;P&gt;Right, for sure I'll do it in case our client will ask us to remove U/M from the calculated dimension.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2023 09:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117613#M91189</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-16T09:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting with Above</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117905#M91210</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I solved adding two fields using autonumber() for customer_id and unit_id in DLE, then I used the Dual function for the calculated dimension using them for numeric coding.&lt;BR /&gt;Many thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 13:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-with-Above/m-p/2117905#M91210</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-09-18T13:53:45Z</dc:date>
    </item>
  </channel>
</rss>

