Home > Forum > Forms > ordinal additional column only at the report level

ordinal additional column only at the report level
0

Is it possible to add an ordinal column in reports, for example, consecutive rows numbered 1,2,3.... (in the first additional column only at the report level)

WEBCON

Hi Radek,

I have a sample solution for a calculated column that will return a ordinal number, but it is not perfect (it works in most cases, but it has its problems).

1) You need to add a calculated column of decimal number type on the report.
2) Enter "ROW_NUMBER() OVER (ORDER BY (select null))" as the formula.
3) Set "Number of decimal places" to 0

In this solution, this column should always number all rows from 1, no matter what the report returns.
Unfortunately, you cannot filter values after this column - the report will return an error.

I hope this solves your problem.
Regards.