<?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: Free order the rows in a crosstab in Viya when the rows have serveral columns? in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/797185#M15835</link>
    <description>&lt;P&gt;In my understanding it behaves correctly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can resolve it by placing from left to right in ascending cardinality.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That does not solve the within order restriction, but I say again that for my understanding it does what I expect it to do.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless there's a trick you can apply.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load a dummy data set&lt;/P&gt;
&lt;P&gt;create customized groups&lt;/P&gt;
&lt;P&gt;use them for the user's selection in an object like button bar&lt;/P&gt;
&lt;P&gt;add a parameter to it&lt;/P&gt;
&lt;P&gt;use this parameter for an "if-then variable selection" variable&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic4.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68641i2D7E1525AA76F085/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic4.png" alt="pic4.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic3.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68643i6AFA5D3DFDC2FB97/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic3.png" alt="pic3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic2.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68644i4A5E77FFA10D5134/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic2.png" alt="pic2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic1.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68642iEC9F81114AB7727C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic1.png" alt="pic1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 10:24:11 GMT</pubDate>
    <dc:creator>acordes</dc:creator>
    <dc:date>2022-02-18T10:24:11Z</dc:date>
    <item>
      <title>Free order the rows in a crosstab in Viya when the rows have serveral columns?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/795475#M15814</link>
      <description>&lt;P&gt;How to order the rows in a cross tab within Viya when the rows have several columns and we want that the user may order freely by any? This can be done easily in a List tab, but in a cross tab I can only let the user order by the first column. The rest of the columns are nested within the first instead of letting that each can order independently of the other. Here is one of our examples:&amp;nbsp;&lt;A href="https://biep.miportal.gob.ar/apps/reporte/rcpd/index8.html" target="_blank" rel="noopener"&gt;https://biep.miportal.gob.ar/apps/reporte/rcpd/index8.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guillermo E. Ramos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 13:19:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/795475#M15814</guid>
      <dc:creator>guiramos</dc:creator>
      <dc:date>2022-02-10T13:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Free order the rows in a crosstab in Viya when the rows have serveral columns?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/796930#M15828</link>
      <description>&lt;P&gt;You should be able to sort on any level of the hierarchy. Here I have the choice to sort on Model&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Madelyn_SAS_0-1645118760189.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68594iAA89ADC33866B3C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Madelyn_SAS_0-1645118760189.png" alt="Madelyn_SAS_0-1645118760189.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 17:26:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/796930#M15828</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2022-02-17T17:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Free order the rows in a crosstab in Viya when the rows have serveral columns?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/796992#M15829</link>
      <description>&lt;P&gt;Yes Madelyn, thank you for considering my question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thinked that I would be able to elect any level of the&amp;nbsp;hierarchy, but in my example that is not functioning. When I elect a secondary, a tertiary level, etc. .. it always is sorted within the previous levels, instead of being sorted without reference to that levels. You can verify this problem in my example:&amp;nbsp;&lt;A href="https://biep.miportal.gob.ar/apps/reporte/rcpd/index8.html" target="_blank"&gt;https://biep.miportal.gob.ar/apps/reporte/rcpd/index8.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to make a level independent of those that precede it&amp;nbsp;for sorting...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 19:00:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/796992#M15829</guid>
      <dc:creator>guiramos</dc:creator>
      <dc:date>2022-02-17T19:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Free order the rows in a crosstab in Viya when the rows have serveral columns?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/797020#M15830</link>
      <description>&lt;P&gt;It looks like there is a one-to-one correlation between the values at each level. So, each value in Level1 has a single associated value in Level2 and each value in Level2 has a single associated value in Level3. If you could sort, for example, Level3, the values would no longer match the corresponding values in Level2 or Level1. I don't think individual sorts are going to be possible in this configuration.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 19:20:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/797020#M15830</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2022-02-17T19:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Free order the rows in a crosstab in Viya when the rows have serveral columns?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/797038#M15831</link>
      <description>&lt;P&gt;No &lt;SPAN&gt;Madelyn. While the first and second levels are directly interelated between them, there is a relationship of one to two or more. The first levels is a code for each public organism and the second es the name of this organisms that may have changed on time. The third level is a clasification level of kind of public organism and it has with the firth and second levelsa relationship one to several.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 19:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/797038#M15831</guid>
      <dc:creator>guiramos</dc:creator>
      <dc:date>2022-02-17T19:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Free order the rows in a crosstab in Viya when the rows have serveral columns?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/797185#M15835</link>
      <description>&lt;P&gt;In my understanding it behaves correctly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can resolve it by placing from left to right in ascending cardinality.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That does not solve the within order restriction, but I say again that for my understanding it does what I expect it to do.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless there's a trick you can apply.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load a dummy data set&lt;/P&gt;
&lt;P&gt;create customized groups&lt;/P&gt;
&lt;P&gt;use them for the user's selection in an object like button bar&lt;/P&gt;
&lt;P&gt;add a parameter to it&lt;/P&gt;
&lt;P&gt;use this parameter for an "if-then variable selection" variable&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic4.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68641i2D7E1525AA76F085/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic4.png" alt="pic4.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic3.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68643i6AFA5D3DFDC2FB97/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic3.png" alt="pic3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic2.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68644i4A5E77FFA10D5134/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic2.png" alt="pic2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic1.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68642iEC9F81114AB7727C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic1.png" alt="pic1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 10:24:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/797185#M15835</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2022-02-18T10:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Free order the rows in a crosstab in Viya when the rows have serveral columns?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/797229#M15841</link>
      <description>&lt;P&gt;Thank you Acordes, but your trick requires that the reports has its columns reordered each time, to reorder its rows. However I did not found in the documentation that there is an obligatory "&lt;SPAN&gt;within order restriction". Did you found it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 14:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Free-order-the-rows-in-a-crosstab-in-Viya-when-the-rows-have/m-p/797229#M15841</guid>
      <dc:creator>guiramos</dc:creator>
      <dc:date>2022-02-18T14:23:53Z</dc:date>
    </item>
  </channel>
</rss>

