BookmarkSubscribeRSS Feed
Prateek1
Obsidian | Level 7
hi, what should be the code ? Calculate the average Call duration ,count of local calls, and total usage charge for churners and non churners for all the 6 months i) for year 2011ii) for year 2010 and where average call duration is less than 60 seconds . using proc sql ?
1 REPLY 1
ballardw
Super User

How do you identify a "churner" or "non-churner"? What are the rules for the usage charge? Do you have dates? Are the Dates SAS date values or something else? Do you already have duration? "All the 6 months of 2011" is odd considering years usually have 12 months.

You need to describe the data that you have.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 1 reply
  • 1867 views
  • 0 likes
  • 2 in conversation