Products | Versions |
---|---|
Spotfire Analyst | All Versions |
If you have a data function which uses an input parameter with a Column as the input handler, then if you want to change the column being passed to the data function, you will need to edit the data function parameters each time the column needs to changes. Alternatively, you can use a property control to dynamically select a column and use that document property as the input parameter (for example a document property called "SelectColumn"). But in the Edit Parameters > Expression > Edit dialog, if you only select the document property, with an expression like:
[${SelectColumn}]Then upon selecting a new column in the property control, the data function may fail to execute with the error:
Could not calculate inputs. Argument 'myinputparam' could not be type checked.
[BASEBALL].$esc(${SelectColumn})Now after the property control value changes with the selection of a new column, the data function will be able to automatically update using the newly selected column.