BookmarkSubscribeRSS Feed
thegraduate
Calcite | Level 5
Hi All,

I have 12 files that contains a customers risk rating (monthly files). So for every URN that changed from Low - Med and Med - High, I would like to count the volume of these accounts and to graph it by the customers location (post code). What is the best wat of doing this?

Thanks,
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
I would start by appending the files to get one big file. That is the Append task in EGuide. Then SORT by Customer and date.

Next, you will have to write some SAS code to transform the 12 (say) records per customer into 11 change records; that uses the LAG function.

If you are looking for one value per customer (rather than one per month change), you could do that in an EGuide Query using the MIN and MAX aggregate functions. If you use the Query Builder, you can skip the SORT. (Your question is not sufficiently specific to tell what you want.)

The plots could be as simple as bar charts (poor paper-to-ink ratio) to a tile plot or a series of maps.

sas-innovate-2024.png

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.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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