Creating a Report to show only the time when a circuit is active

Good afternoon,

I am working on a new report using the reporting module, and what i'm trying to accomplish is instead of having it show a set time range, I want to to show the range when a circuit is active. Is that achievable?

Thanks in advanced.

That would be Duration On. I had a hard time finding documentation on it, this link explains it a bit, regardless if you use this function or not.

https://docs.inductiveautomation.com/display/DOC81/system.tag.queryTagHistory

Thank you, when I try and enter this into the Data section of the Report Module it doesn't recognize this expression.

Use tag history data source,

image