PowerTable
Go to websiteCommunityContact Us
  • INTRODUCTION
    • Welcome to PowerTable
  • GET STARTED
    • Prerequisites
    • Supported Data Platforms
    • Admin Setup Guide (15-day Free Trial)
  • PRODUCT TOUR
    • Explore a sample app
    • Build your first app
    • Layout & User Interface
  • CREATE TABLE APP
    • Introduction
    • Import Spreadsheet Data
    • Connect to Database
    • Enter Data Manually
    • Get Data from Semantic Model
  • WORKING WITH POWERTABLE
    • Basic Table Operations
      • Edit data
      • Bulk Edit
      • Insert rows
      • Bulk Import rows
      • Delete rows
      • Duplicate rows
      • Copy rows
      • Preview Changes
    • Explore data
      • Search and filter
      • Sort and reorder
      • Show/Hide columns
      • Pin columns
      • Column Insights
    • Conditional Formatting
  • COLUMN SETUP
    • Configure Properties
      • General
      • Lookup and Relation
      • Display
    • Upload/Download Configuration
    • Add a Column
      • Add Visual Column
        • Add Formula Column
        • Add Multi-select Relationship Column
        • Add Reference Column
      • Add Database Column
  • ACCESS CONTROL
    • Manage Access
    • Row Permissions
    • Column Permissions
  • APPROVALS
    • Set up Approval Workflow
    • User Approvals
    • Rule-based Approvals
    • Approval using a Lookup Table
    • Multi-level Approvals
    • Notify Approvers via MS Teams
    • Handling Changes Before Approval
    • Review Changes - Approval process
  • WORKFLOWS, AUTOMATION & NOTIFICATIONS
    • Workflow automation
    • Send Mail notifications
    • MS Teams notifications
    • Webhooks
    • Cascade Updates
  • Pause an Automation
  • AUDIT
    • Audit logs
  • COMMENTING & COLLABORATION
    • Commenting
    • View all comments & track changes
    • Assign users & task status
  • APPEARANCE
    • Basic formatting
    • Display Settings
  • USER MANAGEMENT & LOGS
    • PowerTable Console
    • Admin Portal
      • User Management
      • Settings
        • General Settings
        • Writeback Settings
          • Settings
          • PowerTable managed DB
  • MISCELLANEOUS
    • Keyboard Shortcuts
    • Formulas & Functions
Powered by GitBook
On this page
  1. COLUMN SETUP
  2. Add a Column
  3. Add Visual Column

Add Multi-select Relationship Column

PreviousAdd Formula ColumnNextAdd Reference Column

Last updated 1 month ago

A multi-select column allows users to select and enter multiple values for a single record in the field.

PowerTable allows you to add multi-select columns sourced from related tables. You can configure the multiple entries for a field to be retrieved from another table in the database.

To insert a multi-select visual column, follow the steps below.

Let us consider adding the 'Sales Rep' column to the 'Products' table, which allows users to enter sales representatives for each product.

  1. Go to Setup > Columns.

  1. Select Add Visual Column > Add Multi-select Relationship Column.

  1. Enter the column name.

Let us add a 'Sales Rep' column that will allow users to assign multiple sales representatives to each product in the 'Products' table.

  1. The sales representative details are available in another table with the 'Sales Rep Key' field and other fields.

Note that a separate relationship table must exist in the database with these three fields—Primary ID, Product Key, Sales Rep Key.

If you do not already have a relationship table, create one manually using PowerTable (using the ‘New Table’ option)

  1. Enter the lookup table details from which you want to look up and retrieve values.

We would like to get the first names of sales representatives from the 'Sales Rep Table' and display the list in the dropdown.

  1. Let us now set up the relation table. Enter the name of the relation table, the corresponding reference column to map the lookup key values in the relation table, and the identifier column details that match the primary keys of the current and relation tables.

This stores or updates the mapping between products and sales reps in the relationship table as we assign and unassign sales reps to the products in the app. Click Save.

We have now successfully added a multi-select relationship column, which allows you to select and assign multiple sales representatives to each product.

After assigning, you can click Save and Proceed to save your changes to the database.

The relation table is also simultaneously updated based on the selected values.

Setup > Columns
Add multi-select column
Sales Rep Table
Lookup table details
Relation table details
Multi-select relationship column
Save changes