Using your custom column

We’ll open the Explore tab and select our data source. Custom columns appear in the data source just as any other column would. We’ll drag the custom column into the Data Explorer.

Create your chart

Let’s switch to SQL Mode to see what the generated query looks like. The custom SQL we’ve written to generate this column is inserted directly into the query.

SQL for a custom query using a custom column