metabase.sql

Home   »   metabase.sql

WITH parameters AS (
	SELECT
		CURRENT_DATE AS start_date,
		{{ status }} AS transation_status_ok,
	  {{ count_low }} AS transaction_count_low,
	  {{ count_high }} AS transaction_count_high,
	  {{ period_days }} AS account_period_days 
)

,grouped AS ( ... )

SELECT ...

Leave a Reply

Your email address will not be published. Required fields are marked *