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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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