BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
adil256
Quartz | Level 8

Hi everyone,

 

I diidn't find the answer I'm looking for through the forum. I would like to count the number of contracts per  contract and isolate only contracts with duplicates.  I know how to do it in 2 steps with sas eg but I would to do in one step. when i want to filter the observations on the computed column it's just not possible i can't drag it. Here is a picture.

 

thank you.


sas.PNG
1 ACCEPTED SOLUTION

Accepted Solutions
TomKari
Onyx | Level 15

@LinusH is correct. Here's a reference to a blog post by Chris that describes how to do it.

 

Tom

 

http://blogs.sas.com/content/sasdummy/2012/09/18/having-clause-fun-with-sas-enterprise-guide/

View solution in original post

3 REPLIES 3
LinusH
Tourmaline | Level 20
If I recall right you should be able to do that on the filter tab, which would result in a having clause.
Data never sleeps
TomKari
Onyx | Level 15

@LinusH is correct. Here's a reference to a blog post by Chris that describes how to do it.

 

Tom

 

http://blogs.sas.com/content/sasdummy/2012/09/18/having-clause-fun-with-sas-enterprise-guide/

adil256
Quartz | Level 8

Works perfectly. thanks guys 🙂

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 3 replies
  • 3211 views
  • 2 likes
  • 3 in conversation