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
© 2024 UI Bakery
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.