---
title: "How to add a row number with augments - Cloud"
canonical: "https://support.appfire.com/space/TBL/74812684/How%20to%20add%20a%20row%20number%20with%20augments%20-%20Cloud"
format: markdown
---
> Macro (aura-html)

# <span style="color: #000000">Overview</span>

<span style="color: #000000">This page shows how you can use augments to </span><span style="color: #000000">add a column of row numbers</span><span style="color: #000000"> in a CSV table, except for the header row.</span>

# <span style="color: #000000">Macro browser input</span>

### <span style="color: #000000">Select this macro</span>

|  |  |
| --- | --- |
| <span style="color: #000000">**Macro name**</span> | <span style="color: #000000">*Advanced Table - CSV Table*</span> |
| <span style="color: #000000">**Macro syntax (Old editor)**</span> | <span style="color: #000000">{csv}</span> |
| <span style="color: #000000">**Macro syntax (New editor - case insensitive)**</span> | <span style="color: #000000">*/CSV (Comma Separated Values)*</span> |

### <span style="color: #000000">Define these parameters/values</span>

|  |  |
| --- | --- |
| <span style="color: #000000">***Output format***</span> | <span style="color: #000000">*wiki*</span> |
| <span style="color: #000000">***Columns to display***</span> | <span style="color: #000000">*,Product,Sales*</span> |
| <span style="color: #000000">***Augments to data row values***</span> | <span style="color: #000000">*%#%*</span> |

### <span style="color: #000000">Screenshot</span>

![Advanced Tables CSV data used to add row numbers](media://9ca2374c-c8c3-4844-b13b-ca2499a40f88)

# <span style="color: #000000">Wiki markup input (Old editor)</span>

```plaintext
{csv:columns=,Product, Sales|augments=%#%}
Product, Sales
ABC, 1000
XYZ, 2000
{csv}
```

# <span style="color: #000000">Example result</span>

![Advanced Tables row number augment output in a table](media://9fc13172-a62d-4a8d-a524-f9e0b961162d)

> ⚠️ ### Persistent row number
> ⚠️ 
> ⚠️ <span style="color: #000000">This row number is added to the macro generated HTML table just as if it was in the original CSV data. This is different from the </span><span style="color: #000000">*Auto number each row*</span><span style="color: #000000"> option in the macro editor for the table which is a browser display option only. If the augment is specified, the row numbers are also exported along with the table.</span>

# <span style="color: #000000">Other examples</span>

<span style="color: #000000">Visit our</span> [full list of product examples](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74814716) <span style="color: #000000">for additional inspiration!</span>