There is a more recent run of this report. Click here to view it.

Report not found

There was a problem finding this report.
DATE_TRUNC() blog example part 5
October 5, 2015 · Refreshed almost 4 years ago
Description
And we can easily switch from daily to weekly aggregation.

Collaborators

Run History
SELECT DATE_TRUNC('week', occurred_at) AS week, COUNT(user_id) FROM benn.fake_fact_events WHERE event_name = 'complete_signup' AND occurred_at >= '2014-03-10' AND occurred_at <= '2014-05-26' GROUP BY 1 ORDER BY 1 DESC
SELECT DATE_TRUNC('week', occurred_at) AS week, COUNT(user_id) FROM benn.fake_fact_events WHERE event_name = 'complete_signup' AND occurred_at >= '2014-03-10' AND occurred_at <= '2014-05-26' GROUP BY 1 ORDER BY 1 DESC
<div class="mode-header embed-hidden"> <h1>{{ title }}</h1> <p>{{ description }}</p> </div> <div class="container mode-grid"> <div class="row"> <div class="col-md-12"> <mode-chart id="chart_4c21a422e898" dataset="dataset" options="chart_options"></mode-chart> </div> </div> </div>
{{ dataSourceName(params.queryId) }}

The dataset is too large to view in browser

Export

Looks like something went wrong with your query.

{{ DS.queryRuns[params.queryId].errorMessage }}
This query was cancelled