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


hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1547 views
  • 0 likes
  • 3 in conversation