<?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: Show difference between columns in a cross tab in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Show-difference-between-columns-in-a-cross-tab/m-p/827434#M16314</link>
    <description>&lt;P&gt;Here are some limitation from my experimenting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. By default in VA 8.X, the measures are displayed as columns.&amp;nbsp; There is an option&amp;nbsp; to switch the rows and columns.&amp;nbsp; That is how I assume you created your current view.&amp;nbsp; &amp;nbsp;With changing the columns to rows, if you create another measure for the difference then it can not be on the column next to 2022.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. To create the difference between a measure, a calculation has to be created for each measure.&amp;nbsp; &amp;nbsp;This can be as simple as:&amp;nbsp; right click on measure--&amp;gt; new calculation--&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KeithM_0-1659726771065.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74205iDB06A564AC6FDA24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KeithM_0-1659726771065.png" alt="KeithM_0-1659726771065.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. With knowing that you have to create an aggregation for each difference, you will need to experiment with different layouts.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KeithM_1-1659727028186.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74206i0AC91AB3F68735C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KeithM_1-1659727028186.png" alt="KeithM_1-1659727028186.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Aug 2022 19:18:13 GMT</pubDate>
    <dc:creator>KeithM</dc:creator>
    <dc:date>2022-08-05T19:18:13Z</dc:date>
    <item>
      <title>Show difference between columns in a cross tab</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Show-difference-between-columns-in-a-cross-tab/m-p/827384#M16312</link>
      <description>&lt;P&gt;Something that would take 30 seconds in excel but is proving more difficult in SAS, I'd like to add a column to the below which shows the difference between the 2021 and 2022 values, any suggestions?&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="Rightside13_0-1659713748054.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74202i8F51383460E1CEF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rightside13_0-1659713748054.png" alt="Rightside13_0-1659713748054.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 15:36:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Show-difference-between-columns-in-a-cross-tab/m-p/827384#M16312</guid>
      <dc:creator>Rightside13</dc:creator>
      <dc:date>2022-08-05T15:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Show difference between columns in a cross tab</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Show-difference-between-columns-in-a-cross-tab/m-p/827392#M16313</link>
      <description>&lt;P&gt;Provide a description of how you make the current result. Basically how the values are derived. Appearance options aren't needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone with more experience than I have with VA may be able to point out what is needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 16:03:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Show-difference-between-columns-in-a-cross-tab/m-p/827392#M16313</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-08-05T16:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Show difference between columns in a cross tab</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Show-difference-between-columns-in-a-cross-tab/m-p/827434#M16314</link>
      <description>&lt;P&gt;Here are some limitation from my experimenting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. By default in VA 8.X, the measures are displayed as columns.&amp;nbsp; There is an option&amp;nbsp; to switch the rows and columns.&amp;nbsp; That is how I assume you created your current view.&amp;nbsp; &amp;nbsp;With changing the columns to rows, if you create another measure for the difference then it can not be on the column next to 2022.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. To create the difference between a measure, a calculation has to be created for each measure.&amp;nbsp; &amp;nbsp;This can be as simple as:&amp;nbsp; right click on measure--&amp;gt; new calculation--&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KeithM_0-1659726771065.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74205iDB06A564AC6FDA24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KeithM_0-1659726771065.png" alt="KeithM_0-1659726771065.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. With knowing that you have to create an aggregation for each difference, you will need to experiment with different layouts.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KeithM_1-1659727028186.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74206i0AC91AB3F68735C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KeithM_1-1659727028186.png" alt="KeithM_1-1659727028186.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 19:18:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Show-difference-between-columns-in-a-cross-tab/m-p/827434#M16314</guid>
      <dc:creator>KeithM</dc:creator>
      <dc:date>2022-08-05T19:18:13Z</dc:date>
    </item>
  </channel>
</rss>

