Report not found

There was a problem finding this report.

Report

Session Count by Plan Type and Device Type

Sessions by Device Type and Plan Type
June 14, 2016 · Refreshed over 2 years ago
Description
A query with a basic double group by

Collaborators

Run History
SELECT device_type ,CASE WHEN plan is null THEN 'none' ELSE plan END ,COUNT(session_id) FROM heap.sessions AS sessions INNER JOIN heap.users AS users ON sessions.user_id = users.user_id GROUP BY 1, 2 LIMIT 100
SELECT device_type ,CASE WHEN plan is null THEN 'none' ELSE plan END ,COUNT(session_id) FROM heap.sessions AS sessions INNER JOIN heap.users AS users ON sessions.user_id = users.user_id GROUP BY 1, 2
<div class="mode-header embed-hidden"> <h1>{{ title }}</h1> <p>{{ description }}</p> <h5>To use with Heap data, modify your query from heap.table_name to main_production.table_name</h5> </div> <div class="mode-grid container"> <div class="row"> <div class="col-md-12"> <mode-chart id="chart_991389f62d52" dataset="dataset" options="chart_options"></mode-chart> </div> </div> <div class="row"> <div class="col-md-12"> <mode-python id="python_be51cfaeb942" options="python_options"></mode-python> </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