Skip to content

Select columns

Description

The Select Columns activity filters and retains only a specific set of columns from the input dataset. It removes all other columns, allowing you to simplify the dataset, reduce noise, and focus only on the fields relevant to your analysis or downstream workflow steps.

This activity is useful when dealing with large datasets with many columns, especially when only a subset is required for further processing or reporting.

Use this activity to:

  • Reduce the size of datasets by removing unnecessary columns
  • Extract only relevant data fields before passing them to another system or transformation
  • Prepare data for visualization or export with focused attributes

Use case: When importing a sales performance file containing 20+ columns, a workflow might only need the dealer name, location, and sales numbers. Use this activity to extract only the necessary columns before summarizing or exporting.

Input

TypeStatus
DataRequired

Output

Output TypeFormatDescription
DataTableDataset containing only the selected columns.

Configuration Fields

Field NameDescription
Columns to SelectA list of column names to retain in the output. All columns not listed here will be excluded. The order of columns in the output matches the order specified in this list.

Sample Input

SI NoReport DateGroup NameDir CodeDealer NameFacility TypeCountryRegionStateCityModelBodyVariantFuelCCSales TargetSales ActualRevenue
12023-02-28GRP-AN_001Asia AutomobileShowroomIndiaNorthJammu & KashmirSrinagarGlowHatchbackLXIPetrol100010
22023-03-31GRP-AN_001Asia AutomobileShowroomIndiaNorthJammu & KashmirSrinagarGlowHatchbackLXIPetrol100010154000000

Sample Configuration

FieldValue
Columns to SelectSI No, Dealer Name, Facility Type, Country, Region, State, City

Sample Output

SI NoDealer NameFacility TypeCountryRegionStateCity
1Asia AutomobileShowroomIndiaNorthJammu & KashmirSrinagar
2Asia AutomobileShowroomIndiaNorthJammu & KashmirSrinagar
3Asia AutomobileShowroomIndiaNorthJammu & KashmirSrinagar
4Asia AutomobileShowroomIndiaNorthJammu & KashmirSrinagar
5Asia AutomobileShowroomIndiaNorthJammu & KashmirSrinagar

The output retains only the columns specified in the configuration, simplifying the dataset for downstream processing.