One of the best ways to engage users with the Tulip platform is to provide them with the analytical feedback of what's being measured.
In these instances, it is useful to be able to embed analyses into your app, which allows the user to see the analytics without turning their head to a dashboard.
Embedding an Analysis In An App
In order to embed an Analysis within a step of your app, follow these steps:
1- Select Embed from the Toolbar and Analysis from the resulting dropdown list. This will create an empty embedded analysis Widget.
2- Select the Analysis Widget to choose the analysis to embed. You can either choose to create a new analysis or select an analysis that has already been created.
In the Context Pane of the Analysis Widget, you can change the size and background color of the analysis just like any other widget. Additionally, you can customize the title of the analysis and toggle the display of the Last Updated time for each chart.
Dynamic Filtering the Embedded Analysis
Once you select an Analysis, you can add dynamic filters.
This means that you can change the data being shown in the analysis based on a variable, table record, machine output and more.
Dynamic Analyses support the following data types:
These will manipulate the "Filters" section from the bottom of the Context Pane in the Analytics Builder.
In the Context Pane, select the pencil next to the Filters option.
Then, begin adding filters. These will change the data shown in the analysis every time the app is run.
Example: Current Operator Stats
Operators may only need to see their own performance. In this case, the Analysis can be set to filter to only the logged in user.
"User" "Equals" "Variable" "Logged In User"
App Analysis Filters
Date and Time
Hour of Day
Process Cycle Time
All form inputs in that app
All variables in that app
Table Analysis Filters
All Fields for that Table
Machine Analysis Filters
Parts Per Hour
Note: Analytics are set to refresh every 60 seconds by default. When embedding in an App you may choose to reduce this duration so you can see changes as they happen.
To reduce the duration, edit the analysis and change the Refresh Seconds under the Sharing menu. This can be changed to a minimum of 5 seconds.
Did you find what you were looking for?
You can also head to community.tulip.co to post your question or see if others have faced a similar question!