To create a Datasource(DS) simply click the Create (+) button in the Explore section of the Sidebar.
Clicking All Datasets will take you to a Table view of all DSs currently connected to your account.
The creation form will demand you choose
a Database(DB)(Administration to connect new DBs);
a Schema, which may be left empty if not applicable to your DB; and
a Table that exists in it.
To edit a DS you must first open it. Once in the exploration window tab, clicking the DS will open the Editing menu. The arrow button next to it offers additional options. The plus button expands information about the DS.
The Datasource Editor is divided into 4 parts:
- Settings: Datasource Settings.
- Columns: Additional information and options on Columns.
- Calculated Columns: Add, Edit, or Delete Calculated Columns.
- Metrics: Aggregate functions.
Physical Table: Your choice of Database, Schema, and Table.
Description: Add a description of your chart here.
Default URL: URL redirect when coming from the Datasource List. May be used to redirect to a different chart, filtered views etc.
Autocomplete Query Predicate: Define a limit to Autocomplete values presented when typing.
Owners: Owners added here gain full access to this query and chart.
SQL: Write additional SQL, using your initial query as database.
Cache Timeout: Define the time in seconds until the next Cache refresh. All charts refresh every 24 hours by default. 3600 (60 * 60 Seconds) will refresh this chart hourly.
Hours Offset: Timezone offset to its database.
Table parameters: Add parameters in JSON Syntax to make them available in your SQL Query.
User interface for calculating columns with the same functionality a SQL statement. Adding a column here will provide the same operands and a quick preview of your column when applying it to the data.