-
-
Save stockholmux/acf93cd407bae01e6048c66cdbe1e694 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FT.AGGREGATE shipments "@box_area:[300 +inf]" | |
APPLY "year(@shipment_timestamp / 1000)" AS shipment_year | |
GROUPBY 1 @shipment_year REDUCE COUNT 0 AS shipment_count | |
SORTBY 2 @shipment_count DESC | |
LIMIT 0 3 | |
APPLY "format(\"%sk+ Shipments\",floor(@shipment_count / 1000))" AS shipment_count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment