The delete rows function in Spotfire Analyst, available via right clicking in a visualization > Marked Rows > Delete (see
Marking in Visualizations reference) is only persisted for the current session when the data table is linked to source, as it is does not keep record of which rows were deleted (like is shown for deleted columns). See
Remove or delete rows in Spotfire community article for more details.
Suppose an example where a data table is populated by a data function and you are appending rows to the existing data table, with a data function like:
optable = rbind(inptable,append)
where:
- optable = final output data table
- inptable = the same optable
- append = the data frame object containing the rows that needs to be appended
So the rbind function will insert rows from the "append" data frame to the "inptable" and output the result to "optable".
This forms a cycle as rows are getting appended to the same table and so the "Refresh table automatically" option will be unchecked in Edit Parameters. Trying to check that option, will throw the cyclic dependency error, like:
For example, if you have 20 rows in inptable and you append 30 rows, then optable would now have 50 rows.
If you delete 10 rows from optable (by marking 10 rows in the data table > Right click visualization > Visualization Properties > Marked Rows > Delete) so that optable has 40 rows, then save the .dxp, and reopen it you observe that optable again has 50 rows instead of 40 rows.