BookmarkSubscribeRSS Feed
KarunaTiwari
Obsidian | Level 7

Hi All,

 

I have 2 columns in my data set - Handle Time and Handled Calls.

I am creating an aggregated measure in the front end - AHT = Handle Time / Handle Calls.

 

Now I want to create Buckets based on Aggregated measure AHT such as

If AHT between 0 and 300, 'AHT Bucket'n = '0-300'

Else If AHT between 300 and 600, 'AHT Bucket'n = '300-600'

Else If AHT between 600 and 900, 'AHT Bucket'n = '600-900'

Else 'AHT Bucket'n = '900+'

 

Please can anyone help me with how to achieve this.

 

Regards,

Karuna

2 REPLIES 2
SuryaKiran
Meteorite | Level 14

In Data Builder you can write a CASE as you write in PROC SQL under Expression in Column Editor based on your aggregation.  

Thanks,
Suryakiran

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!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

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