-- 8th December 2023:
You can now use built-in time-range variables for math expressions to get any queried data in the format of data per time-range.
Checkout Writing Expressions Documentation to learn more.