<?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: How can I sort a crosstab by a dynamically generated %? in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-can-I-sort-a-crosstab-by-a-dynamically-generated/m-p/91973#M1595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what you mean.&amp;nbsp; A SAS DI Studio job generated the data for the table through a complex series of joins.&amp;nbsp; The data was loaded into Information Map Studio, (count was a measure generated in here).&amp;nbsp; Then SAS Web Report Studio created the table by just dragging stuff around it's virtually codeless.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2013 22:54:38 GMT</pubDate>
    <dc:creator>Chickenhouse</dc:creator>
    <dc:date>2013-01-31T22:54:38Z</dc:date>
    <item>
      <title>How can I sort a crosstab by a dynamically generated %?</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-can-I-sort-a-crosstab-by-a-dynamically-generated/m-p/91971#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my information map I have a measure called count that is always =1. Then 2 categories Flag and Region.&amp;nbsp; Flag can take the values ('Correct'/'Incorrect') and region can be any of about 100 regions.&amp;nbsp; My dataset contains about 2,000 rows each row has a value for region and a flag value of 'Correct' or 'Incorrect'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So from this I create a crosstab.&amp;nbsp; In the columns I have the flag, then count, then % (generated dynamically as a "Row Total percent" on the measure count).&amp;nbsp; In the Rows I have Region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then apply a rank showing the top 25 regions where flag = Incorrect.&amp;nbsp; But what I would really like is a ranking of the top 25 regions with the highest &lt;STRONG&gt;percentage&lt;/STRONG&gt; of flag = Incorrect.&amp;nbsp; I can sort by count but not by %.&amp;nbsp; Is there a way to do this is in Web Report Studio?&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'd also like to add a column called rank with rank values 1-25. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'd also like to sort by percentage in a bar graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="WRS Example.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3050_WRS Example.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Any help on this would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chickenhouse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 07:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-can-I-sort-a-crosstab-by-a-dynamically-generated/m-p/91971#M1593</guid>
      <dc:creator>Chickenhouse</dc:creator>
      <dc:date>2013-01-31T07:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I sort a crosstab by a dynamically generated %?</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-can-I-sort-a-crosstab-by-a-dynamically-generated/m-p/91972#M1594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Code used to generate the existing table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 17:49:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-can-I-sort-a-crosstab-by-a-dynamically-generated/m-p/91972#M1594</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-01-31T17:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I sort a crosstab by a dynamically generated %?</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-can-I-sort-a-crosstab-by-a-dynamically-generated/m-p/91973#M1595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what you mean.&amp;nbsp; A SAS DI Studio job generated the data for the table through a complex series of joins.&amp;nbsp; The data was loaded into Information Map Studio, (count was a measure generated in here).&amp;nbsp; Then SAS Web Report Studio created the table by just dragging stuff around it's virtually codeless.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 22:54:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-can-I-sort-a-crosstab-by-a-dynamically-generated/m-p/91973#M1595</guid>
      <dc:creator>Chickenhouse</dc:creator>
      <dc:date>2013-01-31T22:54:38Z</dc:date>
    </item>
  </channel>
</rss>

