I have a columns DATE, TIME (only hour number) and GROSSVALUE
DATE TIME GROSSVALUE
2018-09-12 13 734564
2018-09-12 12 234324
How to use Scorecard to display GROSSVALUE for the current and previous hour?
IF currently is 2018-09-12 (and any time between 13:00 to 13:59)
EXAMPLE:
--------------
CURRENT
________________
| |
| 734564 |
|______________|
PREVIOUS
________________
| |
| 234324 |
|______________|
Does the BigQuery LAG() function get what you're after? Something like: