<?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 Sort Calculated dimensions by expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20916#M1432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables, each one with a calculated dimension and a measures. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the dimensions is called "Markets" and will divide my measure by EUR, USA, INT and Others. How can I define the order like that? What expression should I use? I've tried a lot of things but not've been succeded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sofia Vaz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2018 09:44:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-30T09:44:04Z</dc:date>
    <item>
      <title>Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20916#M1432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables, each one with a calculated dimension and a measures. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the dimensions is called "Markets" and will divide my measure by EUR, USA, INT and Others. How can I define the order like that? What expression should I use? I've tried a lot of things but not've been succeded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sofia Vaz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20916#M1432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T09:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20917#M1433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Using Sort Expression in property&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15173069213796152" jivemacro_uid="_15173069213796152"&gt;
&lt;P&gt;if([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Markets&lt;/SPAN&gt;] ='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EUR&lt;/SPAN&gt;',1&lt;/P&gt;
&lt;P&gt;,if([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Markets&lt;/SPAN&gt;] ='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;USA&lt;/SPAN&gt;',2&lt;/P&gt;
&lt;P&gt;,if([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Markets&lt;/SPAN&gt;] ='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INT &lt;/SPAN&gt;',3&lt;/P&gt;
&lt;P&gt;,if([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Markets&lt;/SPAN&gt;] ='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Others&lt;/SPAN&gt;',4 ))))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;An Pham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20917#M1433</guid>
      <dc:creator>kenphamvn</dc:creator>
      <dc:date>2018-01-30T10:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20918#M1434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi An, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. I've tried that expression but QS doesn't recognize [Markets] as a dimension... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20918#M1434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T10:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20919#M1435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please explain more detail or give sample data and expect output.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;An Pham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20919#M1435</guid>
      <dc:creator>kenphamvn</dc:creator>
      <dc:date>2018-01-30T10:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20920#M1436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your calculated &lt;SPAN style="text-decoration: line-through;"&gt;measure&lt;/SPAN&gt; dimension look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 13:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20920#M1436</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-30T13:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20921#M1437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(match(OrdMasterMarketCd, '10','11','12','13','14','15','17','22','23','24','25','28','29','93','94','93A','PK'), 'Europe',IF(match(OrdMasterMarketCd, '46'),'USA', if(match(OrdMasterMarketCd,'16','47','92','92Z','92A','92M','92L','92O', '16I'), 'International', 'Other')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 14:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20921#M1437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T14:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20922#M1438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this for sorting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Match(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Match(OrdMasterMarketCd, '10','11','12','13','14','15','17','22','23','24','25','28','29','93','94','93A','PK'), 'Europe',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Match(OrdMasterMarketCd, '46'),'USA',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Match(OrdMasterMarketCd,'16','47','92','92Z','92A','92M','92L','92O', '16I'), 'International', 'Other'))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;'Europe', 'USA', 'International', 'Other')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 14:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20922#M1438</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-30T14:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20923#M1439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It has changed the order to USA, Other, Europe and International instead of &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;'Europe', 'USA', 'International', 'Other' ...&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 14:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20923#M1439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T14:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20924#M1440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding Only({1} .....) and see if that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Only({1}&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;Match(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;If(Match(OrdMasterMarketCd, '10','11','12','13','14','15','17','22','23','24','25','28','29','93','94','93A','PK'), 'Europe',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;If(Match(OrdMasterMarketCd, '46'),'USA',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;If(Match(OrdMasterMarketCd,'16','47','92','92Z','92A','92M','92L','92O', '16I'), 'International', 'Other'))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;'Europe', 'USA', 'International', 'Other')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 15:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20924#M1440</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-30T15:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20925#M1441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Sunny, it's working now! Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 16:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/20925#M1441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T16:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/1655138#M48960</link>
      <description>&lt;P&gt;Thanks! this helped me a lot&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 21:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/1655138#M48960</guid>
      <dc:creator>smgt90</dc:creator>
      <dc:date>2019-12-06T21:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Calculated dimensions by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/1916690#M75452</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Definitely that was a great tip. Thanks for sharing. It was really helpful.&lt;/P&gt;
&lt;P&gt;But I still can't understand why is only({1}....) working in terms of sorting a calculated dimension...&lt;/P&gt;
&lt;P&gt;Is there any explation that also will help to understand how Qlik "thinks"?&lt;/P&gt;
&lt;P&gt;Thank you in advanced&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 06:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-Calculated-dimensions-by-expression/m-p/1916690#M75452</guid>
      <dc:creator>xavi_arm12</dc:creator>
      <dc:date>2022-04-11T06:18:37Z</dc:date>
    </item>
  </channel>
</rss>

