Hi Everyone,
Please note that i have a requirement for obtaining the following output in SAS (Please refer to the excel file attached):
Business Problem: Customer level data has various columns providing info around cust_id, product_category which the customer owns. We have to create Output structure using SAS, to check, let`s say a customer possessing a Credit card, which other products he owns. Hence, a CC customers (P1) , owning Auto (P2), PLL(P3), EFS (P4), and so on.
Thanks
Regards,
Business Problem: Customer level data has various columns providing info around cust_id, product_category which the customer owns. We have to create Output structure using SAS, to check, let`s say a customer possessing a Credit card, which other products he owns. Hence, a CC customers (P1) , owning Auto (P2), PLL(P3), EFS (P4), and so on. | |||||||||||||||||
CC | Auto | PLL | EFS | BT | HM | HE | RE | OT | |||||||||
CC | |||||||||||||||||
Auto | |||||||||||||||||
PLL | |||||||||||||||||
EFS | |||||||||||||||||
BT | |||||||||||||||||
HM | |||||||||||||||||
HE | |||||||||||||||||
RE | |||||||||||||||||
OT | |||||||||||||||||
Base population | |||||||||||||||||
Redundant information | |||||||||||||||||
Useful Information |
Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.
Have you read the data into SAS? If so you can use information at this link: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... to create the text of a data step that can be posted here to recreate the data.
You want output it as a picture or a excel file ? And you didn't post any data yet . http://blogs.sas.com/content/iml/2014/08/20/heat-map-in-sasiml.html
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.
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.