ThingWorx Analytics server does requires rows of data provided as a csv file.
It will not accept a single property value.
So you would need to provide ThingWorx Analyics with a csv file containing the data.
For this you may need to write your own code or you can use DataConnect that can help to some extent.
Once ThingWorx Analytics is provided with the csv file you can use the extension or ThingWorx Analytics Builder to work on prediction models.
Note also that a common use case is to identify anomalies in property values. For this, you can use instead ThingWatcher SDK which can read a property value directly to detect anomalies.
Hope this help
Just for information I have published a blog about DataConnect that you may find of interest: