Article - CS226000

How to display correct historical data when querying multiple properties using QueryPropertyHistory service in ThingWorx

Modified: 16-Jun-2025   


Applies To

  • ThingWorx Platform 5.4 N/A to 9.6

Description

  • Using QueryPropertyHistory the data displayed for properties at all the timestamps even though there was no historical data logged during that time period
  • How to avoid duplicate data from being displayed when querying more than one property at a time with QueryPropertyHistory?
  • How does QueryPropertyHistory works by design?
  • How to display specific data using QueryPropertyHistory?
  • The returned number of QueryPropertyHistory will not match maxItems
    • If maxItems value is set to 2, the service returns more than 2 rows
This is a printer-friendly version of Article 226000 and may be out of date. For the latest version click CS226000