> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/platform/insight-analytics/analytics-types/time-period-comparison.md).

# Time Period Comparison

(not yet implemented)

With a *Time Period comparison* analytic you can compare data from a single meter, but over multiple time periods simultaneously, for example compare the main electric incommer this month with main electric incommer last month.

To set up a *Time Period comparison*, select it from the *Analytics type* selector **\[A]**

<figure><img src="https://2013058394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqGnkz52o2zVUsEGEZGk%2Fuploads%2FYs2fclajKeUSNzGIFa0A%2FInsight%20Analytics%2009%20-%20Analytics%20type%20selector%20(2).png?alt=media&amp;token=47dac07d-815d-4307-aec4-5308e9717ca3" alt=""><figcaption></figcaption></figure>

You will be prompted to select multiple Time Periods in the [*Time Period picker*](/collection/platform/insight-analytics/the-insight-analytics-interface/time-period-picker.md) **\[C]**, and the chart will show the data from the selected meter over the specified time periods as a line, bar or “donut” graph as specified by the *Chart type* selector in the the *Chart options bar* **\[B]**

{% hint style="info" %}
Custom time periods are not available in Time Period Comparison so you must choose a set time period of days, weeks, months or years.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.buildings.ability.abb/collection/platform/insight-analytics/analytics-types/time-period-comparison.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
