<?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: Flyover comments output to excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flyover-comments-output-to-excel/m-p/964265#M26867</link>
    <description>&lt;P&gt;I think I have figured this out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Apr 2025 20:27:03 GMT</pubDate>
    <dc:creator>amiller</dc:creator>
    <dc:date>2025-04-14T20:27:03Z</dc:date>
    <item>
      <title>Flyover comments output to excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flyover-comments-output-to-excel/m-p/964256#M26865</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data that may have changed from the last run of a report. I am bringing in the old report and merging with the new run. If a datapoint changes, I would like to use proc report to add a flyover comment in the excel cell to show the previous value. I am using SAS 9.4, ODS tagsets excelxp. I know how to add the flyover comment&amp;nbsp; like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;compute mhstdat_raw;&lt;BR /&gt;* Cell comment;&lt;BR /&gt;if mhstdat_raw="09 Feb 2022" then call define(_col_, "style", "style=[background=yellow flyover='Value has changed']");&lt;BR /&gt;endcomp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I have a lot of datapoints and the flyover needs to show the previous value which I have in the dataset. On the subject's record, I have the data variable that changed in a variable called VARIABLE and the previous value in a variable called VAL. I was hoping I could do something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;compute mhstdat_raw;&lt;BR /&gt;* Cell comment;&lt;BR /&gt;if variable="mhstdat_raw" then call define(_col_, "style", "style=[background=yellow flyover=val]");&lt;BR /&gt;endcomp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add the comment in the MHSTDAT_RAW cell with the value of VAL, but this does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 18:42:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flyover-comments-output-to-excel/m-p/964256#M26865</guid>
      <dc:creator>amiller</dc:creator>
      <dc:date>2025-04-14T18:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Flyover comments output to excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flyover-comments-output-to-excel/m-p/964259#M26866</link>
      <description>&lt;P&gt;You probably will want to create a boolean variable to indicate whether or not the value has changed in a step before you call PROC REPORT to produce your pretty Excel file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you show a small working example of what you are trying to do?&amp;nbsp; Just enough data to demonstrate the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 19:13:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flyover-comments-output-to-excel/m-p/964259#M26866</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-04-14T19:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Flyover comments output to excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flyover-comments-output-to-excel/m-p/964265#M26867</link>
      <description>&lt;P&gt;I think I have figured this out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 20:27:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Flyover-comments-output-to-excel/m-p/964265#M26867</guid>
      <dc:creator>amiller</dc:creator>
      <dc:date>2025-04-14T20:27:03Z</dc:date>
    </item>
  </channel>
</rss>

