Jump to content

How to create a 'signal from condition' using formula tool

Dylan Ooi

Recommended Posts


I am currently trying to build a dashboard on Seeq using a script on excel, however everything needs to be done as a formula. So I was wondering if anyone knew how to create a 'signal from condition' using only the formula tool in 1 line of code.


Link to comment
Share on other sites

Hi Dylan, 

you can use the aggregate function for this:

$signal.aggregate(average(), ($signal > 90).removeLongerThan(1wk), durationKey())

In this example the average of the signal is calculated whenever its value is above 90 and the result is drawn as a line over the duration of each capsule. You can find more information on the function and its parameters inside formula documentation.

Hope this helps.



  • Like 1
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...