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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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