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

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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