<?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: sort calculated dimension by expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474382#M100025</link>
    <description>&lt;LI-SPOILER&gt;I also found that solution. Thank you.&lt;/LI-SPOILER&gt;</description>
    <pubDate>Fri, 02 Aug 2024 16:42:46 GMT</pubDate>
    <dc:creator>weiw</dc:creator>
    <dc:date>2024-08-02T16:42:46Z</dc:date>
    <item>
      <title>sort calculated dimension by expression</title>
      <link>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474265#M100011</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I create a calculated dimension: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;floor(aggr (sum (sales),[CustomerID]),100)&amp;amp;'-'&amp;amp;(floor(aggr (sum (sales),[CustomerID]),100)+99) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;as a range of sales amount per customer. And put it as dimension in a bar chat.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The dimension would be 0-99,100-199,200-299,....,500-599,...1000-1099,...30000-30099,..., the list would be dynamic&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The questions is how to sort this dimension ascending by the value of the range of sales? Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 05:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474265#M100011</guid>
      <dc:creator>weiw</dc:creator>
      <dc:date>2024-08-02T05:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: sort calculated dimension by expression</title>
      <link>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474345#M100018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/308210"&gt;@weiw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;you can create a master measure with your formula and then (with adding of dimension) in the bar chart use &lt;STRONG&gt;&lt;EM&gt;sort numerically -&amp;gt; ascending&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 13:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474345#M100018</guid>
      <dc:creator>gomeri</dc:creator>
      <dc:date>2024-08-02T13:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: sort calculated dimension by expression</title>
      <link>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474361#M100022</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/308210"&gt;@weiw&lt;/a&gt;&amp;nbsp; create your dimension with dual() as below. Then in sorting option, sort your dimension numerically ascending or descending&lt;/P&gt;
&lt;P&gt;=dual(&lt;SPAN&gt;floor(aggr (sum (sales),[CustomerID]),100)&amp;amp;'-'&amp;amp;(floor(aggr (sum (sales),[CustomerID]),100)+99)&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN&gt;floor(aggr (sum (sales),[CustomerID]),100)&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 14:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474361#M100022</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-08-02T14:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: sort calculated dimension by expression</title>
      <link>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474382#M100025</link>
      <description>&lt;LI-SPOILER&gt;I also found that solution. Thank you.&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 02 Aug 2024 16:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474382#M100025</guid>
      <dc:creator>weiw</dc:creator>
      <dc:date>2024-08-02T16:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: sort calculated dimension by expression</title>
      <link>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474385#M100026</link>
      <description>&lt;P&gt;Sorry I clicked the wrong button. I tried this,also tried to use the lower bound of floor function as expression to sort, but not working. I found a solution which is same as the one from Kushal. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 16:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sort-calculated-dimension-by-expression/m-p/2474385#M100026</guid>
      <dc:creator>weiw</dc:creator>
      <dc:date>2024-08-02T16:47:31Z</dc:date>
    </item>
  </channel>
</rss>

