Jump to content

Best way of automatically adding row ID


Nikita Belooussov

Recommended Posts

Hi there,

Spotfire has an in-built RowId() function I would use for this. So create a calculated column in the data table of interest (File->Data->Add Calculated Column, or File->Data->Column Properties then Insert->Calculated Column from drop down on top right, or if you are using Spotfire 7 - the Insert menu then insert calculated column), and type in the command:

RowId()

This creates a unique ID for every row, and each time new data is read it automatically generates new ids for the new rows.

Hope this helps.

 

Thanks

Colin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...