I am using the Thingworx apps v9.1 and once i setup a machine, shift, and KPI elements, my scheduler calculates the KPIs every 5 minutes. so far they work great, but if i want to get a KPI for date range outside of my current shift.
Currently, Effectiveness calculates PRI x PQ / APT (for the current shift)
I want to be able to query the KPI values outside of the shift.
Thank you for posting your question to the PTC Community.
I do not believe there is a simple way to do what you are asking, but you can calculate KPIs using Job Orders rather than shifts if you want. Documentation around this can be found here: Mfg Apps 9.1 - Calculating KPIs Using Job Orders Rather Than Shifts
Please let me know if this provides an alternative to your end goal.
Also, here is the parent HelpCenter Topic for Configuring and Customizing KPIs if you want to review the over all documentation further.
Thank you for your quick response! unfortunately we only run our production stats with schedules, not job orders. i would appreciate any support.
also, i did noticed there is a service under the "Thing:PTC.Factory.StatusExpressionUtils" called "GetKPIsForRange" but i am not sure how to look at this data. is it Epoch?
I have requested a SME with more experience with KPIs to review, but I do not believe what you are asking is a feature of Mfg Apps by default (out-of-box functionality) and would require customization which I cannot provide assistance with.