BookmarkSubscribeRSS Feed
Saleem
Calcite | Level 5

Hi Team,

 

I have data set called Test in this data set we have many column but I need Few column Total.

 

IDMs                     Total Suppliers                 Bank data complete 

Not Required        1277                                No                   22,830

One IDM                   70                               Yes                     1699

Two IDMs           23,115                               Total                   24,529

Zero IDMs                 67

Total                    24,529

 

could you please help me how to create this data sets.

 

Thanks in advance

2 REPLIES 2
LinusH
Tourmaline | Level 20

So your data set to left is what you have?

It looks like a report. Try to get hold of the original/underlying data.

As general tip: you could probably make use of user defined formats.

You apply them in your report program (like PROC REPORT or PROC TABULATE) and it will group your rows "automatically".

https://support.sas.com/resources/papers/proceedings/proceedings/sugi29/236-29.pdf

Data never sleeps
PaigeMiller
Diamond | Level 26

This looks more like an Excel file than a SAS data set. In a SAS data set, there would be the same number of rows for each column.


Can you please actually SHOW US the SAS data set as it appears on your screen? (In this case, a screen capture is fine)

--
Paige Miller

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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