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,

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1025 views
  • 0 likes
  • 2 in conversation