Daniel Resendez Posted December 14, 2022 Share Posted December 14, 2022 Purpose is to have a time series and track these values weekly and create graphs. The values are overwritten every time the data refreshes. I do not wish to store the data however on a weekly basis due to the large number of rows. Just wish to store the values outputted weekly in the cross-table calculations when the data is refreshed. Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted December 20, 2022 Share Posted December 20, 2022 Hello,This might not be the best way of doing this, but here are some random thoughts on the topic:For running operations on a schedule, I would look into using TIBCO Spotfire Automation Services (https://docs.tibco.com/pub/spotfire_server/12.1.1/doc/html/TIB_sfire_autsvcs_UserGuide/autoservices/topics/overview.html)Example of how to export visualization data from IronPython script: https://community.spotfire.com/s/article/How-to-Export-Table-Cross-Table-visualization-data-in-csv-file-using-TIBCO-Spotfire-Using-IronPython-ScriptingExample of database writeback from IronPython script: https://community.spotfire.com/s/article/Using-net-System-Data-SqlClient-module-for-database-writeback-in-TIBCO-Spotfire-using-IronPythonThe Custom DateTime Function (https://community.spotfire.com/s/article/Custom-DateTime-Data-Function-for-TIBCO-Spotfire) could be used to run the script when the analysis is opened. From the description: "The main goal of the Custom DateTime Data Function for TIBCO Spotfire® is to enable the running of IronPython scripts on Analysis Open, Filter and Marking changes". Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now