RTPPM KPI Downtime Model Configuration using AMU property to configure as downtime tag. versions 9.6

For some reason my downtime kpi is not showing up. I configured the downtime model and added the shift event to the machine and ran the KPI Engine sql query. And the availability isn't showing up. I check the timeslice table to see if there is data but it's empty. There is entries in timesliceschedule table. I am not sure where I went wrong. I am using binding to an AMU property instead of a tag because how we are tracking of this machine is on or off is based on a temperature range. So I made a AMU attribute/property called status that returns "Running" or "Stopped " when the temp changes. I configured status with a DummyTag with an address of S0050 and use a service to update the status to return the "Running" or "Stopped" based the datachange event of the AMU attribute/property called Temp. (This idea come from this article: https://community.ptc.com/t5/ThingWorx-Developers/How-AMU-attribute-logging-works/m-p/930097#M65531)
so I am not sure if there is a better way for this to work for both RTPPM and AMU. My goal is to use the temp data tag that I have to determine if the machine is running or not. (Eg, if temp is within the limits configured in Characterisitcs, then return Running. Else out of the range return Stopped). Let me know if you can think of a better way for me to does this to work for both RTPPM and AMU.
I ran queryPorpertyHistory and I see rows but I don't see some columns populated. Compare to another machines who Availbility KPI is working.



