Periscope Data Documentation

Connecting to Periscope

First Time Connecting

Connection Definitions

Common Connection Errors

Private Network SSH Tunnels

Integrations

Overview

Getting Started

Keyboard Shortcuts

Charts & Dashboards

Chart Overview

Chart Options

Dashboard Overview

Refresh Mechanics

Organizing Charts

Organizing Dashboards

Table-like Charts

Table Overview

Cohort Grids

Pivot Tables

Graph-like Charts

Overview & General Settings

Chart Types and Settings

Mixing Chart Types

Map Charts

Map Chart Overview

Heatmaps

Clusters and Bubbles

Satellite Maps

GeoJSON

Other Charts & Customizations

Pie Charts

Image Charts

Chart Annotations

Site Administration

Adding Users

Removing Users

User Types

User Groups

Two-Factor Authentication

Managing User Permissions

Dashboard Permissions

Site Preferences

Query Management

Color Themes

Dashboard Refresh Management

Usage Data

Periscope Cache

Caching Strategies

Querying the Periscope Cache

Cross-Database Joins

CSV Upload

Materializing Views

SQL Formatters

Using SQL Formatters

Composing SQL Formatters

Dollars and Percentages

Time Zone Formatters

Date Aggregation

Date Parts

Basic Filters

Custom Filters

Date Range Filters

Aggregation Filter

Adding, Moving, and Hiding Filters

Advanced Filters

Default Filters

Drilldowns

Parent-Child Filters

Matching Filter Values

Time Zone Conversions

Direct Replacement

User Friendly Names

Views

SQL Views

Joining to Views

More SQL Tools

SQL Snippets

Parameterized SQL Snippets

SQL Alerts

Automatic Joins

Version History

Sharing and Embedding

Sharing Dashboards Externally

Email Reports

Easy Embedding

Embed API

Embed API Options

CSV Download

Public CSV URL

Slack API

Slack Linking Reports

Data Management

Adding and Deleting Datasource

Spaces: Data-Level Permissions

Improving Query Throughput

Revoking Table Permissions

Salesforce Datasource

Schema Browser

SSO Integrations

Overview

Okta

OneLogin

Google Apps

CSV Download

Downloading query results can be a great way to leverage data that's been analyzed in Periscope in external tools. CSVs are a common way to import data into sophisticated statistical analysis software such as R and Python. The CSV download has a maximum size of 100MB and the query must complete within 4 minutes.

Note: This feature is currently in beta testing. If you would like to be added to the beta, please contact your account manager.

Downloading the Data from a Chart

Business users will often want to see the data behind a chart and explore it themselves. To download the SQL results from a chart, locate the menu in the upper-right of the chart object and click into the menu.

From there, the button to download will return the data as a CSV file in the downloads folder. For helpful context, the user is notified of the number of rows that will be downloaded. When the download has been started, a bar will appear at the bottom of the screen to show all downloads in progress.

It is important to keep in mind most browsers can only handle visualizations of up to 5MB, so to keep dashboards running smoothly, visualizations results are capped. The Limit Rows bar of the SQL editor can be used to control the amount of data visualized, while allowing CSV downloads to include full unlimited result sets. To adjust the number of rows visualized, change the number in the limit box in the query editor.

Downloading the Results from the Query Editor

Full SQL Results from the Query Editor

Users with Periscope edit privileges may find it faster and easier to grab the results of queries on the fly as they edit their SQL. The RUN button in the SQL editor is also a drop down menu, offering the user the ability to download the results.

For example, from the SQL Views tab, click create a new view, then type out the query you wish to download the results for. On the bar below the query, the Limit Rows check box and input field will affect the results returned in the Preview pane. Clicking RUN will return the results to the preview pane so that you can ensure that the data returned is in the appropriate form. When the user is ready to download the query results, click on the arrow on the RUN button and a Download option will appear. When the Download button is clicked, all of the results from the query will be downloaded as a CSV file.

Similar to downloading the results from a chart, a bar will appear at the bottom of the screen to show all downloads in progress. Once the file has been successfully downloaded, it will be located in the downloads folder as a CSV file.

Selection of SQL Results from the Query Editor

Just as part of the query can be ran within the SQL editor, so can the results set from a selection of SQL be downloaded. To do so, select the portion of SQL to be ran and click the arrow next to Run Selected. This will offer the option to Download Selected, which when clicked, will initiate a download of the results from the selected SQL.