BookmarkSubscribeRSS Feed
shrutiravi
Calcite | Level 5
Hope You All Are Doing Well...
 
I am stuck with a problem while creating a WRS Report in SAS.
 
I have created an OLAP Cube. I have also created an Information MAP over the OLAP Cube. 
Now I want to develop a report which shows Customer Status wise Entry Exit Ratio. The Formula for Ratio is Entry/Exit. I have created a Custome Data Item in WRS for this
 
 
StatusEntryExitRatio
Active10090                                                                               1.11
Grace40150                                                                               0.27
Pre-Curn145120                                                                               1.21
Churn130125                                                                               1.04
Now the Problem is :
 
We need to Apply Conditional Highlighting for Ratio Custom Data Item. The Condition is:
 
If Ratio is Greater Than 1 then It should be Green for the Active Value of Status Dimension and RED for all other values of Status Dimension.
 
Please Help in doing this.
 
Or 
 
Can we apply different formula for Ratio for different values of Status Dimension. i.e. Case When Status=Active the Entry/Exit Else Exit/Entry END. in WRS or Information Map based Data Item.
 
Thanks,
3 REPLIES 3
Madelyn_SAS
SAS Super FREQ

If you are able to use relational data instead of a cube, you should be able to apply the techniques in this sample to conditionally highlight category values based on certain measure values:

 

Sample 40747: Conditionally highlighting category values in SAS® Web Report Studio

http://support.sas.com/kb/40/747.html

 

muralavenu_gmail_com
Obsidian | Level 7

Hi There,

 

In WRS Report, using Conditional Highliting, there is an alternative way even if we select Table.  Right Click on the Cross Tab - Select Conditional Highliting - In Rule Tab - Rule Assignment - there are TWO Options are there.  It will fulfil your requirement.  Please watch the attached Video and Screen Shot.

 

Thanks & Regards,

Venu Murala  | Sr. SAS Consultant.

Venu Murala
shrutiravi
Calcite | Level 5

Hi,

 

Thanks for your Reply. I am sorry, But this is not what I asked for, I need rule based on the Value of Status Column.

 

If Value of Status is "Active" then, The rule should be different i.e. if ratio is greater than 1 then it should be green else red.

If Value of Status is "Grace" then, The rule should be different i.e. if ratio is greater than 1 then it should be red else Green.

 

as so on for other values of Status Column.

 

Thanks,

 

Ravi

 

 

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
  • 3 replies
  • 902 views
  • 0 likes
  • 3 in conversation