This is complicated a little because we're using a pipeline with a filelist to compile the data, so there are 50+ datasets coming in. I need to combin ...
This is complicated a little because we're using a pipeline with a filelist to compile the data, so there are 50+ datasets coming in. I need to combin ...
Say I had 5 years of data that were being used to calculate some measure across those aggregated years. Sometimes those are 5 consecutive years and ot ...
I'm importing a parameter file in txt form with no title row such as the following: Because it is a parameter file, the length of the two columns w ...
I need to create a global variable with date type I have some table with date column and calculate max of these dates, then I need to put this max da ...
I need some sort of guidance on what would be the best way of accomplishing such kind of task in SAS EG environment (on a 9.4 server). Let's say I hav ...
I'm trying to merge a dataset to another table (hist_dataset) by applying one condition. The dataset that I'm trying to merge looks like this: ...
I'm trying to save the results from a forecast(dataset) into a historical dataset in SAS servers. I already have the path of the historical dataset bu ...
I am trying to solve a problem in which, based on certain conditions, it assigns you a parameter with the let function. For this exercise I am using % ...
I am constantly using SAS datasets in SAS EG to create macro variables that can be used as variables in a query from SAS EG to my internal servers. Th ...
When I am assigning a date variable to another new variable it is coming as all XXXX so new_date = old_date where old_date was showing as 2021-09-09: ...
I want to get back one character by calling this macro, but there is an error given when running the following code: I tried with symput but it did ...
I am new to pandas, and I'm learning it through its web documentation. I am facing issues in converting the following SAS code to pandas. My SAS code ...
For each id count the number of qc=fails, generate a new column final with all values as "repeat" if any one id has 2 or more than 2 fails, else pass. ...
I have some .txt files with SQL code in them for Snowflake database in a folder on SAS Studio. I need my logic to pick and read the .txt files from th ...
I am fitting an example model in SAS: I am fitting the same model 11 times, with the only difference being the output is different and I'm adjustin ...
I would like to use a macro in SAS to calculate the last day of the current month when executed. As i'm quite new to the SAS macro's i've tried to cr ...
I have the following data I need to create a groupid variable, which depends on the id and value, so that the output looks like this, I have no ...
I have a data set that contains year month in column names and I need get the data from column that contains the last date: Shape of result: ...
I need help multiplying the values from data set 2 to data set 1. Data#1: policy# Risk# Premium K ...
Question: In the column WR_Name how do i extract the number before the first percentage in SAS and add the results in a new column name called readi ...