<?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: Need to color in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Need-to-color/m-p/636490#M13627</link>
    <description>Please see the output file here I am looking something like this . Please help</description>
    <pubDate>Wed, 01 Apr 2020 11:38:20 GMT</pubDate>
    <dc:creator>shiv999</dc:creator>
    <dc:date>2020-04-01T11:38:20Z</dc:date>
    <item>
      <title>Need to color</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Need-to-color/m-p/636489#M13626</link>
      <description>Hi Team,&lt;BR /&gt;Can you please help me in colour the duplicate values using sas. Please see the attachment if index I'd is duplicate then code should compare the row and colour the non duplicate columns in duplicate rows.</description>
      <pubDate>Wed, 01 Apr 2020 11:34:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Need-to-color/m-p/636489#M13626</guid>
      <dc:creator>shiv999</dc:creator>
      <dc:date>2020-04-01T11:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need to color</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Need-to-color/m-p/636490#M13627</link>
      <description>Please see the output file here I am looking something like this . Please help</description>
      <pubDate>Wed, 01 Apr 2020 11:38:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Need-to-color/m-p/636490#M13627</guid>
      <dc:creator>shiv999</dc:creator>
      <dc:date>2020-04-01T11:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need to color</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Need-to-color/m-p/636771#M13628</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236597"&gt;@shiv999&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I played a little with my VA 8.5 and got this as a results:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 516px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37660i92C7CE259D87B99A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If this fits your needs fully or partially then here's how I did it. I think this should be doable also with VA8.3 and newer versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;To find the duplicate rows we will create a new data aggregation&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Data&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;pane, select a data source SAS_SAMPLE.&amp;nbsp;Click&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV id="tinyMceEditorPetriRoine_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;the icon on right looking like database and then select&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;New data from aggregation of&amp;nbsp;&lt;EM class="xisDoc-userSuppliedValue"&gt;data-source&lt;/EM&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;. The New Aggregated Data window is displayed. Edit it to look the same as below. The reasoning here is that we should get &lt;EM&gt;Frequence=1&lt;/EM&gt; when there is only one row with specific &lt;EM&gt;Index_id&lt;/EM&gt; and &lt;EM&gt;tax&lt;/EM&gt;. If the pair exist more than once then &lt;EM&gt;Frequency&amp;gt;1&lt;/EM&gt;. We will use this in the &lt;EM&gt;List&amp;nbsp;table &lt;/EM&gt;to spot the duplicate rows.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.PNG" style="width: 901px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37662i58709D226E593D4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Now add the results from step before to original data&lt;/STRONG&gt;&lt;BR /&gt;Create a custom data source join to add the Frequency column to SAS_SAMPLE. In the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Data&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;pane, select a data source SAS_SAMPLE_AGGREGATED.&amp;nbsp;Click the icon on right looking like database and then select&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;New data from join with SAS_SAMPLE_AGGREGATED&lt;/SPAN&gt;&lt;/STRONG&gt;. Note that VA will create the Join with default settings first and you need to edit it after creation to get what we need:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 892px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37661i25B57DAE13B505DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Finally we create rules to highlight cells in the list table&lt;BR /&gt;&lt;/STRONG&gt;My &lt;EM&gt;List table&lt;/EM&gt; roles are as below. The variable &lt;EM&gt;Aggregated Frequency&lt;/EM&gt; I have used in Hidden role is the one we created in the first step and added to SAS_SAMPLE in the data join step.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture5.PNG" style="width: 404px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37664i0AC9AD94B67935EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture5.PNG" alt="Capture5.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Use display rules to highlight cells:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.PNG" style="width: 404px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37663iA94705E0385D337C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Petri&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 06:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Need-to-color/m-p/636771#M13628</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2020-04-02T06:09:01Z</dc:date>
    </item>
  </channel>
</rss>

