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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1013 views
  • 0 likes
  • 2 in conversation