BookmarkSubscribeRSS Feed
EAlden01
Calcite | Level 5

Fairly new to SAS - It hasn't been a year yet.  I need to analyze travel and entertainment data for the items below and didn't know if a query already exists.

 

    • Unusual expenses/patterns or large expenses
    • Possible split transactions
    • Unusual dates of travel (non-work days, holidays)
    • Duplicate expenses
4 REPLIES 4
Reeza
Super User
What do you mean 'if a query already exists'? Are you using SAS Base, Studio, EG, or some other version of SAS?
EAlden01
Calcite | Level 5

I am using SAS EG and I was wondering if someone has already written a query that I could use.

Reeza
Super User

@EAlden01 wrote:

I am using SAS EG and I was wondering if someone has already written a query that I could use.


Unless they happen to be working with the exact same data, it's unlikely. 

 

That being said, we're purchasing a new ERP that claims to do all of this out of the box, with their reports so that'll be interesting. 

 

In general, getting a 'good signal' for some of these problems is difficult and the accounting codes are all company specific so it's not something that's easy to generalize unless you happen to be using the exact same ERP with the no customizations. 

ballardw
Super User

@EAlden01 wrote:

Fairly new to SAS - It hasn't been a year yet.  I need to analyze travel and entertainment data for the items below and didn't know if a query already exists.

 

    • Unusual expenses/patterns or large expenses This could very well be organization dependent; ask your supervisor what ranges of values would qualify
    • Possible split transactions  Not an accountant so I don't know if this is a standard term or what it would mean
    • Unusual dates of travel (non-work days, holidays) If you have dates as SAS date values you have a number of functions such a HOLIDAY, HOLIDAYNAME or HOLIDAYTEST to look at common US holidays; WEEKDAY returns day of week so can check for week ends.
    • Duplicate expenses This may take some care in defining as I can see different people/offices having the same amount at the same vendor and possibly on the same day.

 

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

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1040 views
  • 0 likes
  • 3 in conversation