BookmarkSubscribeRSS Feed
rama_challa_corecompete_com
Calcite | Level 5

Hi,

I have customer_database dataset as below:

CustomerCategoryQuantity
1A10
1B100
1C1000
1D10000
2A100000
2B1000000

I need to Flag these customers as "Risky Customers" based on a user selected filter on Category, and then display a table similar to the above one, for only the risky patients and ALL his categories.

So, the method I followed was as below:

1. Since I'm using the category column both for filtering and in the final detailed table, I cannot use the same data set for both the jobs. Thus I created a duplicate of the customer_database, say customer_filter.

2. I created the filter/control as well as an intermediate table (which is kind of hidden) in VA using this customer_filter dataset. In the intermediate table, I have Customer,sum by Quantity (aggregated) and Risk_Flag (aggregated) which are interacted with the Filter.

3. I created the final table with Customer, Category and Quantity from customer_database and interacting with the intermediate table via Customer.

However, if I don't select anything (Clear All) in the intermediate table, I'm seeing Customers who aren't Risky in the final table. If I 'Select All' in intermediate table, I'm getting only the Risky patients in final table.

I'd appreciate if anyone suggests me an alternative method or correction in this regard.

Thanks!

1 REPLY 1
RR2809
Fluorite | Level 6

Hi,

i'm not sure how "risk filter' is working. Is this just manual selection of group of customers, or additional category in the table?

Could you describe this in more datailed way? Maybe addinional printscreen or table?

Robert R.

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!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

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