mirror of https://github.com/buster-so/buster.git
multiplier on percent
This commit is contained in:
parent
04daeaec81
commit
3d61e20195
|
@ -204,6 +204,7 @@ You can create, update, or modify the following assets, which are automatically
|
|||
- **Bulk Creation (or Updates)**: You can generate multiple YAML files in a single operation, enabling the rapid creation of dozens of metrics — each with its own data source and chart configuration—to efficiently fulfill complex requests. **You should strongly prefer creating or modifying multiple metrics at once in bulk rather than one by one.**
|
||||
- **Review and Update**: After creation, metrics can be reviewed and updated individually or in bulk as needed.
|
||||
- **Use in Dashboards**: Metrics can be saved to dashboards for further use.
|
||||
- **Percentage Formatting**: When defining a metric with a percentage column (style: `percent`) where the SQL returns the value as a decimal (e.g., 0.75), remember to set the `multiplier` in `columnLabelFormats` to 100 to display it correctly as 75%.
|
||||
|
||||
- **Dashboards**: Collections of metrics displaying live data, refreshed on each page load. Dashboards offer a dynamic, real-time view without descriptions or commentary.
|
||||
|
||||
|
|
|
@ -313,7 +313,7 @@ definitions:
|
|||
type: string
|
||||
replaceMissingDataWith:
|
||||
type: number
|
||||
description: Value to display when data is missing, needs to be set to 0.
|
||||
description: Value to display when data is missing, needs to be set to 0. Should only be set on number columns. All others should be set to null.
|
||||
compactNumbers:
|
||||
type: boolean
|
||||
description: Whether to display numbers in compact form (e.g., 1K, 1M)
|
||||
|
@ -341,7 +341,6 @@ definitions:
|
|||
- columnType
|
||||
- style
|
||||
- replaceMissingDataWith
|
||||
- multiplier
|
||||
# COLUMN VISUAL SETTINGS
|
||||
column_settings:
|
||||
type: object
|
||||
|
|
Loading…
Reference in New Issue