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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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