Jump to content
We've recently updated our Privacy Statement, available here. ×

Automate Calculated column in Spotfire


Shubh M

Recommended Posts

Hey Everyone

Happy new Year to Spotfire Community :-)

 

I need some help around creating calculated column/expression in Spotfire, which reads values from XLS source.

***********************************

Expression looks like:

Case

when ([Machine Name A] in ("123")) and ([startDate]>=Date(2019,8,22)) and ([startDate]=Date(2019,8,22)) and ([startDate]=Date(2019,11,3)) and ([startDate]=Date(2019,11,3)) and ([startDate]=Date(2019,9,5)) and ([startDate]=Date(2019,9,5)) and ([startDate]

Link to comment
Share on other sites

Hey Rayees,

 

Thanks for your advice on calculating exression.

 

I have written this initial peice of code which gives me the required expression, but now i have few more follow up questions where i seek your help. 

 

how can we assign a script output to document property

how can we use one scripts output as input to another script

 

I basically need to add this script output as calculated column in data table. Let me know if any more details needed from my side. 

 

Many thanks in advance. 

 

Regards, Shubs

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...