Reputation: 427
I want to use IronPython scripts in Spotfire to do calculated values from specific columns in data tables, i.e. calculate the Sum([cost]) for the previous week, and then print it in the output console (getting to this stage will let me fulfill my purpose, which is to add this calculated numeric value to an email).
Any ideas on how to proceed? I am trying to refer to the column and then retrieving the values in the row collection, but after that; how can I do some aggregations, and limit the data by a timeframe?
Upvotes: 2
Views: 1636
Reputation: 758
Just add script parameters to your python code:
It has all the abilities of a calculated column to limit data and write your own expression.
Upvotes: 2