Suppose we don't want to install the analytics on our server and want to write custom logic for mean , median , mode and standard deviation calculation on our Thingworx 9.1 portal itself..
Could you please help with the custom logic for all these so that we would become dependency free from analytics.
Thanks in advance.
The platform analytics is created for a reason.
1. The resource/ microservice size itself is in MB, and TWX script cannot handle very complex commands;
2. the microservices is running independtly from the TWX server, since the infotable operation in TWX is costly and slow, and it will take away resources from other production services
You may try to migrate the sample codes online to TWX for a try
If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.