Adding a Sequence Number to Table Visualizations


To add row numbers, you can leverage a combination of concat and denseRank functions. Include the String and output of denseRank in the concat calculation.

The concat take only string inputs, so you may want to convert the rank output (originally integer) to string using toString(input ) function. Hope that helps.

concat(expression, expression, expression… )
denseRank([sort attribute ASC/DESC, …], [partition by attribute, …], calculation level )