Desktop productivity for business analysts and programmers

How to drop a column from the output table using the Query Builder

Reply
Occasional Contributor LS
Occasional Contributor
Posts: 15

How to drop a column from the output table using the Query Builder

Hi,

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

Thank you
Contributor
Posts: 55

Re: How to drop a column from the output table using the Query Builder

Under the select tab in the Query Builder, only add the columns (variables) that you want to keep in the output table.
Occasional Contributor LS
Occasional Contributor
Posts: 15

Re: How to drop a column from the output table using the Query Builder

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
Contributor
Posts: 55

Re: How to drop a column from the output table using the Query Builder

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.
Occasional Contributor LS
Occasional Contributor
Posts: 15

Re: How to drop a column from the output table using the Query Builder

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,
Ask a Question
Discussion stats
  • 4 replies
  • 140 views
  • 0 likes
  • 2 in conversation