<?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: Data Island sorting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860590#M533614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do it in the script it is better (passing the sort order from one table to the other)&lt;/P&gt;&lt;P&gt;1. create a field in table 1 for sorting coutries based on revenue,i.e. Flag_Cntry_Sort&lt;/P&gt;&lt;P&gt;2. then create a applymap table with this , fld1 = country, fld2 =Flag_Cntry_Sort&lt;/P&gt;&lt;P&gt;3. create a new field in table 2 using this applymap on country field. i.e Flag_Cntry_Sort2&lt;/P&gt;&lt;P&gt;4. use these fields for the sorting (i.e. sort by expression)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2015 19:52:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-06T19:52:51Z</dc:date>
    <item>
      <title>Data Island sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860585#M533609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables Table 1 and Table 2 which are not linked to each other(basically&amp;nbsp; two data islands).&lt;/P&gt;&lt;P&gt;Both tables have same list of countries say 50 countries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing is similar between Table 1 and Table 2 except the Countries (50 countries)&lt;/P&gt;&lt;P&gt;My Table 1 Country column is&amp;nbsp; sorted on revenue metric column in descending order .&lt;/P&gt;&lt;P&gt;can I get same sorting order in Table 2 (i.e.: Country sorting on revenue column of first table)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without linking the two tables can we sort? Is there any way we can do in frontend design by using concat() function or any other..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate your thoughts on this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 19:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860585#M533609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T19:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860586#M533610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort each table at the Script level then in your Chart go to &lt;STRONG&gt;Sort &amp;gt; Load Order &amp;gt; Original. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Or you can try an Expression in the Sort tab based on your Revenue Metric.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 19:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860586#M533610</guid>
      <dc:creator>b_garside</dc:creator>
      <dc:date>2015-04-06T19:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860587#M533611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Table 1 Sort order should change dynamically on filter selections and same sort should reflect Table 2&lt;/P&gt;&lt;P&gt;I cannot use Revenue Metric Expression in the Sort tab in Table 2 as these are data islands and will break my application&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 19:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860587#M533611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T19:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860588#M533612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe with sort by expression&lt;/P&gt;&lt;P&gt;sum(if(country2=country, revenue))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 19:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860588#M533612</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-04-06T19:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860589#M533613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need a $(variable) in your expression to handle the dynamic nature of the selections.&lt;/P&gt;&lt;P&gt;or use [$Field] to match user selected fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 19:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860589#M533613</guid>
      <dc:creator>b_garside</dc:creator>
      <dc:date>2015-04-06T19:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860590#M533614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do it in the script it is better (passing the sort order from one table to the other)&lt;/P&gt;&lt;P&gt;1. create a field in table 1 for sorting coutries based on revenue,i.e. Flag_Cntry_Sort&lt;/P&gt;&lt;P&gt;2. then create a applymap table with this , fld1 = country, fld2 =Flag_Cntry_Sort&lt;/P&gt;&lt;P&gt;3. create a new field in table 2 using this applymap on country field. i.e Flag_Cntry_Sort2&lt;/P&gt;&lt;P&gt;4. use these fields for the sorting (i.e. sort by expression)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 19:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860590#M533614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T19:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data Island sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860591#M533615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot this works.. if I give a calculated dimension in both the tables and then the condition in sort expression of Table2 .&lt;/P&gt;&lt;P&gt;But is there a way to control just the sort order in the Table 2 but not the filter selections of Table 1 affecting Table 2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a variable&amp;nbsp; using&amp;nbsp; Concat function&amp;nbsp; (=concat(distinct country, ',')in a text box and using that variable in Table 2&lt;/P&gt;&lt;P&gt;on click of the text box the sort on Table 2 changes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I try to use the revenue metric in concat function its showing an error nested aggregation not allowed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per the business requirement the only sort should be in same in two tables and nothing should change on any filter selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 20:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Island-sorting/m-p/860591#M533615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T20:02:47Z</dc:date>
    </item>
  </channel>
</rss>

