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