LogoLogo
About
Tables: v2
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
Tables: v2
  • Getting Started
    • Tables Overview
  • Table Creation
    • Create a Table
    • Create a Sample Table
    • Create a Pivot Table
    • Create an Integer Table
    • Create a Table from JSON
    • Create a Combined Table
    • Get a Table from a File
  • Rows
    • Get Rows
    • Get Row Count
    • Get Row Number
    • Get Value from Row
    • Insert a Row
    • Insert an Empty Row
    • Remove Duplicate Rows
    • Set a Row to JSON
  • Columns
    • Get a Column
    • Get a Column's Values
    • Get a Column Number
    • Get Column Count
    • Get Column Stats
    • Get Column Names
    • Change a Column's Data Type
    • Delete Columns
    • Insert a Column
    • Move a Column
    • Rename a Column
    • Rename Columns
    • Round a Column's Values
    • Update a Column
  • Cells
    • Set a Cell in a Table
  • Conversions
    • Convert CSV to a Table
    • Convert a Table to CSV
    • Convert a Table to Excel
  • Manipulations
    • Clear a Table
    • Combine Tables
    • Copy a Table
    • Extract a Subtable
    • Query a Table
    • Sort a Table
    • Replace a Value
    • Replace a Value in a Column
    • Transpose a Table
Powered by GitBook
On this page
  • Overview
  • Input Concepts
  • Output Concepts
  • Examples

Was this helpful?

Export as PDF
  1. Manipulations

Extract a Subtable

Extracts a table from an existing table.

Overview

This procedure helps you create a new table from an existing one by choosing which columns and rows to keep or remove. You can include or exclude specific columns and filter rows using selection formulas.

Input Concepts

Concept
Type
Description
Default
Required

table

table

The original table from which the new table will be extracted.

No default

Yes

included columns

list of strings

Columns to include in the new table.

All

No

excluded columns

list of strings

Columns to exclude from the new table.

None

No

included row selection formula

string

Formula to select rows to include.

-

No

excluded row selection formula

string

Formula to select rows to exclude.

-

No

Output Concepts

Concept
Description

table

The extracted table

Examples

For the example below, consider the following table:

Name
Color
Taste

Apple

Red

Sweet

Banana

Yellow

Sweet

Lemon

Yellow

Sour

extract a subtable from the table where
    the included columns are "Name", "Color"
Name
Color

Apple

Red

Banana

Yellow

Lemon

Yellow

Last updated 1 month ago

Was this helpful?