BookmarkSubscribeRSS Feed
Karuna25
Calcite | Level 5

Hi Team,

 

 

We are creating reports from information map in WRS using relational database.

We are trying to achieve conditional highlighting using WRS functionality.

Suppose we have a column named Flag.

Our rule for conditional highlighting is as follows:

  • If flag value is 1 then we need to highlight the entire row in the report.
  • If flag is 0 then we need no highlighting.

 

We know there is a conditional highlighting functionality in WRS where we can define rules.

But another requirement is that we need to hide that column.

Below screenshots will help you understand more.

Requirement: Refer attached Figure 1

Figure 1Figure 1

Current Solution: Refer attached Figure 2

Figure 2Figure 2

Hiding flag column removes highlighting:  Refer attached Figure 3 

Figure 3Figure 3

 

Based on Flag column we are highlighting the entire row wherein we need to hide that column as seen in figure 1. But when we hide the flag column, the conditional highlighting is removed as seen in figure 3

1 REPLY 1
Madelyn_SAS
SAS Super FREQ

The built-in Web Report Studio table objects do not support creating conditional highlighting rules based on hidden columns. You must either include the flag column in the table, or write a stored process to create the table instead of using the built-in table objects. The stored process must conform to the guidelines in this SAS Note:

 

http://support.sas.com/kb/47/839.html

 

 

Note that Visual Analytics does enable you to create expression-based display rules for columns that are not visible in the table. 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 2054 views
  • 0 likes
  • 2 in conversation