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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1057 views
  • 0 likes
  • 2 in conversation