BookmarkSubscribeRSS Feed
LS
Calcite | Level 5 LS
Calcite | Level 5
Hi,

Is there a way to drop columns from the output table when I am using the Query Builder in EG?

Thank you
4 REPLIES 4
Technolero
Pyrite | Level 9
Under the select tab in the Query Builder, only add the columns (variables) that you want to keep in the output table.
LS
Calcite | Level 5 LS
Calcite | Level 5
Hi,

Thank you for the tip.
Maybe I didn't ask it quite well.
I am using a SAS Data Set that has one column(column A), which I use to derive two other columns(calculated columns).
I just don't need column A to be carried over to the resulting Data Set.

Thank you
Technolero
Pyrite | Level 9
In the Query Builder's Select Data tab, only add your computed columns (which can reference column A). You do not need to add column A in your selection.
LS
Calcite | Level 5 LS
Calcite | Level 5
Sure...
I thought I had to drag all columns that my query will refer to....
It works all right now...
Thank you for your help and have a nice weekend,

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

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