III. Adding statistical metrics
Add statistical metrics for a quick and visual data analysis
Last updated
Add statistical metrics for a quick and visual data analysis
Last updated
Weโll add a couple of statistical metrics for additional data visualization. Here's what we're going to obtain:
First, weโll add a metric that displays the number of Customers per Country:
Find a Metric component and put it on the canvas.
In the Data field, assign the loadCustomers action by referencing it as {{actions.loadCustomers.data}}
.
Rename the Metric into Customers per Country.
Set up the metric fields: Customer name is a leading metric, grouped by the Count. Additional field can be removed. The metric should be grouped by Countryโs value.
As a next metric, weโll add the one that shows Credit Limit by Customer.
Place another Metric on canvas and assign loadCustomers action to it by referencing it as {{actions.loadCustomers.data}}
Rename the metric into Credit Limit by Customer.
Next, configure the metric fields: select ะกredit Limit, averaged. It should be grouped by customer name value
Great! You have added some statistical metrics. Next up, weโll add a Form to add new Customer records and send them to the data source.