Using math column

Hi,

Using math column, how do I implement auto-increment?

Thanks

Can you give more information please?

In a glide table, I use the math type. In the configuration field how do I implement auto-increment?

You just said the same thing but in other words. Do you mean that you want to have an “ID” auto-incremented for each row?

1 Like

Some other values. NOT “rowID”!

NOT an ID of sorts. Just some value.

zero++

this is what I’m trying to do.

and zero is a previous column in the table. Using math

Use Case 1: – We need to generate a Part Number, or an Order Number

Increment is an action which you can use on a component that is compatible with actions. Through this increment action, you perform +x to a number (x can be positive, negative, an integer, a decimal, etc.)

If you want to automatically increment across an entire column, let’s say column A is a columns of numbers:

  1. Create a column B with your increment. This column B can be a number column, a template column, a single value column. If you are unfamiliar with these column types, you can look them up in Glide Docs.
  2. Create a column C which is a computed math column: configure as A+B. Column C will be the results of column A incremented by column B, row by row.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.