BookmarkSubscribeRSS Feed
dkanand86
Calcite | Level 5

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                            
2 REPLIES 2
ballardw
Super User

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.

 

 

Ksharp
Super User
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


sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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