BookmarkSubscribeRSS Feed
eshupp
Obsidian | Level 7

I am using CALL DEFINE in a PROC REPORT COMPUTE block to set cell background colors based on data values along with FLYOVER text.  In some cases I would also like to change the pattern from solid to cross hatch to call out a unique situation with the same color category.  Is there another STYLE attribute that controls the cell background pattern in addition to the color?

1 REPLY 1
ballardw
Super User

You should probably reference which ODS destination you are sending the result to. There may be options available for one destination that do not work for others.

 

Better might be to also show the current Proc Report code as well as the ODS destination code. That might allow a response that does not rely on different data structure than you currently have or uses some option that breaks something else in your report tables.

 

Best would be include some example data in the form of a data step so some one can test suggestions without having to make a bunch of stuff up. If you are using custom formats the code for the formats should be included. If you are using any macro variables include assignment statements to set a reasonable value.

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 475 views
  • 0 likes
  • 2 in conversation