Building a metric in the New Builder is very similar to building a metric in the old builder, just faster and easier.
The basic steps are:
- Get the data
- Transform the data
- Chart it
- Save it
Get the Data
When you click 'Add Metric' you will be taken straight to the Add Data page. Here you can see all the data sources you have already connected to Grow, and connect new ones.
Pick the data source you want to use or click 'View all datasources' to see a list of all the data sources you can use with Grow.
Here you can sort by popularity, alphabetically, or by category.
Pick the data source you want to use and you will enter the Smart Builder.
You can chose an existing connection to that data source or create a new one, and then pick what data you want to pull back. (In these screenshots we'll get users over the last 30 days, by day.)
Fill out the required parameters and click 'Get Data'.
The looks like the data we want. We now move to the next step, transforming the data.
Transform the Data
On the left hand side is the transform pipeline. Let's group by week. Click the 'Add Transform' button and pick the Group transform.
Now the top middle area shows the details of the Group Transform. This is the working area. Fill out the Transform settings and hit 'Run'.
Once that transform has finished running you can now move onto the next step of Charting.
Switch over to the Chart side of the build by clicking on the "Chart" tab at the top of the builder, or click 'Build Chart' or 'Create your Chart' in the Chart Mini Preview at the bottom left.
Now you just need to select data. You can use the 'Add value' button on the left hand side, or click the floating button on the chart.
Once you click on a column of data, Grow will try to guess what you want your Date or Category labels to be. By default it will pick the first date column if there is one. If that is wrong you can switch it with one click.
Now you just need to save it.
Give the chart a title, a description and pick which dashboard it should appear on. Now you are done!