# Insert, Import, Duplicate and Delete Rows

### Insert Rows

#### Insert a single row

Using the **Insert Row** option, you can insert new, blank rows into the table manually.

{% hint style="info" %}
Use the [**Import**](https://docs.powertable.com/explore-powertable/working-with-powertable/basic-table-operations/bulk-import-rows) option to insert or update rows with data from an external file.
{% endhint %}

![](/files/d65b6ceaed95638e170157dd4b5859c4f7c2f30b)

1. Click on **Insert Row** directly to insert a single row.
2. Use the dropdown menu next to the **Insert Row** option to choose whether you want to insert a single row or multiple rows at once.
3. Clicking on **Insert Row** inserts a single row.

![](/files/fac7310f8763587198406459a7fd08ac85fa98e4)

*Insert a single row*

#### Insert multiple rows

1. Click on **Insert Multiple Rows** to insert multiple records. Enter the number of rows you wish to insert and click **Insert** to add them all at once.

![](/files/c2ece9382ededdc57c5bb7f26b09e08f09742bc2)

*Insert multiple rows*

1. You can also insert rows using a form as shown below.

![](/files/0d93faf3dad4ce4d2ae904dc8fe551d1df6d0421)

{% hint style="info" %}
A maximum of 1000 rows can be inserted at a time.
{% endhint %}

{% hint style="info" %}
You can establish access control to define who can add new rows to the table. To know more, please refer to [this section.](https://docs.powertable.com/explore-powertable/access-control/row-permissions#id-1.-add-new-rows)
{% endhint %}

#### Insert using form

It can be a tedious process to manually insert or update several rows. In such cases, you can bulk import the data directly from an external file.

![](/files/f63f54d65adbb864e0b726d7fa7f5887116051d5)

### Import bulk data

PowerTable allows you to insert and update multiple rows at once by importing CSV or Excel files. The rows are updated based on matching primary keys from the file.

1. To import new rows, click **Import** on the toolbar that opens the 'Import from file' pop-up.
2. Click on the space to upload an Excel or a CSV file.
3. Select the required file from the systems folder and click **Upload.**
4. You can view the uploaded data.

* Records with existing primary keys are updated.
* Records with new primary keys are inserted as new rows.
* Mismatches are flagged as errors that can be resolved by clicking on logs.

![](/files/ab0a0bca14ceec5ad4db8fde869fc4b9dbec1096)

{% hint style="info" %}

1. Ensure the XLSX/CSV file that you import contains the necessary primary key fields and other mandatory fields configured in the 'Columns' section.
2. The maximum number of new rows that can be inserted at once is 20000.
   {% endhint %}

### Copy Rows

PowerTable allows you to copy records to the clipboard for pasting into external applications like Excel or Word.

Select one or more rows you want to copy and click on the **Copy to Clipboard** ico&#x6E;**.**

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2F0q7eQdnS2rcMrGF2VGmG%2Fimage.png?alt=media&#x26;token=44602816-9297-45d0-98ce-072d2547759a" alt=""><figcaption><p>Copy to clipboard</p></figcaption></figure>

### Duplicate Rows

If you have to create similar records, you can duplicate rows and edit a few attributes.

1. Select one or more rows and click on **Duplicate** to duplicate the rows.

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FQf2fTVnMLkTput98FnRa%2Fimage.png?alt=media&#x26;token=2fefe28e-9cdd-440d-bf66-cd6c2007f526" alt=""><figcaption><p>Duplicate row</p></figcaption></figure>

You'll be prompted to edit unique primary keys after duplication, as they will also be copied.

### Delete Rows

You can select one or more rows in the table and click on **Delete** to delete them.

![](/files/48bf0b91ba97c8e358a7002f70792146f7e16297)

#### Delete a single row

![](/files/92cd871b6c03d069b01b09edbbb8c0b1920c86a2)

#### Deleting multiple rows

After clicking on **Proceed** in the confirmation pop-up, the selected rows are deleted.

If you have set up an approval workflow, the deletion process will go through this workflow before the actual deletion occurs. You can also choose to perform a soft delete or permanently delete the data, as explained in [this section.](https://docs.powertable.com/explore-powertable/access-control/row-permissions#delete-type)

{% hint style="info" %}
You can establish access control to define who can delete rows in the table. For configuration instructions, please refer to [this section.](https://docs.powertable.com/explore-powertable/access-control/row-permissions#id-3.-delete)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fabricplan.com/powertable-sheets/how-tos/insert-import-duplicate-and-delete-rows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
