<?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: Highlight Column that is a Mismatch in PROC Report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Highlight-Column-that-is-a-Mismatch-in-PROC-Report/m-p/578538#M164091</link>
    <description>&lt;P&gt;Currently, I am not doing any comparisons in the proc report, just simply displaying the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods tagsets.ExcelXP file="&amp;amp;sasinfile..xml" style=Printer;&lt;BR /&gt;ods tagsets.ExcelXP options(sheet_name= 'Screening'&lt;BR /&gt;autofit_height='yes'&lt;BR /&gt;autofilter='yes'&lt;BR /&gt;absolute_column_width = '20,10,10,10,10');&lt;BR /&gt;ods tagsets.ExcelXP ;&lt;BR /&gt;&lt;BR /&gt;proc report data = SC split='?';&lt;BR /&gt;columns guid event_id demo_dttm screenorientdttm visstatdttm /*invsigdttm*/ ;&lt;/P&gt;&lt;P&gt;define guid / display 'GUID';&lt;BR /&gt;define event_id/ display 'Visit';&lt;BR /&gt;define demo_dttm /display 'Demographics Date';&lt;BR /&gt;define screenorientdttm /display 'Tele-visit?Orientation?Date';&lt;BR /&gt;define visstatdttm /display 'Visit Status Date';&lt;BR /&gt;define invsigdttm /display 'Inv Sign Date';&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 19:22:57 GMT</pubDate>
    <dc:creator>tanya_henderson</dc:creator>
    <dc:date>2019-08-01T19:22:57Z</dc:date>
    <item>
      <title>Highlight Column that is a Mismatch in PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Highlight-Column-that-is-a-Mismatch-in-PROC-Report/m-p/578531#M164089</link>
      <description>&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Visit&lt;/TD&gt;&lt;TD&gt;Demographics Date&lt;/TD&gt;&lt;TD&gt;Tele-visit&lt;BR /&gt;Orientation&lt;BR /&gt;Date&lt;/TD&gt;&lt;TD&gt;Visit Status Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SC&lt;/TD&gt;&lt;TD&gt;08JAN2019&lt;/TD&gt;&lt;TD&gt;08JAN2019&lt;/TD&gt;&lt;TD&gt;10JAN2019&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data like the column above and I wanted to know if there was a simple way to highlight the column where the date does not match the others?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am comparing several columns to ensure data entry compliance and I wondered if there was a simple way to highlight the columns that were the "outliers" from the others.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that I don't have one column that is the "gold standard". I am simply comparing them all and exporting the record if they do not all match. I would like to enhance the report by highlighting the exceptions, if possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my data step (sample):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if event_id = 'SC' then do;&lt;BR /&gt;if demo_dttm = screenorientdttm&lt;BR /&gt;AND screenorientdttm = visstatdttm&lt;BR /&gt;then output h_date_compare;&lt;BR /&gt;else output SC;&lt;BR /&gt;end;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 19:01:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Highlight-Column-that-is-a-Mismatch-in-PROC-Report/m-p/578531#M164089</guid>
      <dc:creator>tanya_henderson</dc:creator>
      <dc:date>2019-08-01T19:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight Column that is a Mismatch in PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Highlight-Column-that-is-a-Mismatch-in-PROC-Report/m-p/578536#M164090</link>
      <description>&lt;P&gt;You mention Proc Report in your subject line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where is the Proc Report code? Data step can prepare things for the report but you don't show anything from proc report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might find it hand to do the actual tests for equality in the data step and set one or more flag variables and use those to highlight cells.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 19:18:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Highlight-Column-that-is-a-Mismatch-in-PROC-Report/m-p/578536#M164090</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-01T19:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight Column that is a Mismatch in PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Highlight-Column-that-is-a-Mismatch-in-PROC-Report/m-p/578538#M164091</link>
      <description>&lt;P&gt;Currently, I am not doing any comparisons in the proc report, just simply displaying the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods tagsets.ExcelXP file="&amp;amp;sasinfile..xml" style=Printer;&lt;BR /&gt;ods tagsets.ExcelXP options(sheet_name= 'Screening'&lt;BR /&gt;autofit_height='yes'&lt;BR /&gt;autofilter='yes'&lt;BR /&gt;absolute_column_width = '20,10,10,10,10');&lt;BR /&gt;ods tagsets.ExcelXP ;&lt;BR /&gt;&lt;BR /&gt;proc report data = SC split='?';&lt;BR /&gt;columns guid event_id demo_dttm screenorientdttm visstatdttm /*invsigdttm*/ ;&lt;/P&gt;&lt;P&gt;define guid / display 'GUID';&lt;BR /&gt;define event_id/ display 'Visit';&lt;BR /&gt;define demo_dttm /display 'Demographics Date';&lt;BR /&gt;define screenorientdttm /display 'Tele-visit?Orientation?Date';&lt;BR /&gt;define visstatdttm /display 'Visit Status Date';&lt;BR /&gt;define invsigdttm /display 'Inv Sign Date';&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 19:22:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Highlight-Column-that-is-a-Mismatch-in-PROC-Report/m-p/578538#M164091</guid>
      <dc:creator>tanya_henderson</dc:creator>
      <dc:date>2019-08-01T19:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight Column that is a Mismatch in PROC Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Highlight-Column-that-is-a-Mismatch-in-PROC-Report/m-p/578600#M164116</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/39434"&gt;@tanya_henderson&lt;/a&gt;:&lt;/P&gt;
&lt;P&gt;You can use the COMPUTE block to do this. See, for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings/pdfs/sgf2008/224-2008.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings/pdfs/sgf2008/224-2008.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;Paul D.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 01:43:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Highlight-Column-that-is-a-Mismatch-in-PROC-Report/m-p/578600#M164116</guid>
      <dc:creator>hashman</dc:creator>
      <dc:date>2019-08-02T01:43:53Z</dc:date>
    </item>
  </channel>
</rss>

