multiplier on percent

This commit is contained in:
dal 2025-04-18 09:54:18 -06:00
parent 04daeaec81
commit 3d61e20195
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
2 changed files with 2 additions and 2 deletions

View File

@ -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 configurationto 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.

View File

@ -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