hidden: true
.
In your dbt YAML file, it’ll look something like this:
hidden: false
.
group_details
block in combination with the groups
property in your .yaml files. You can as well add descriptions to your groups using the property description
that will be displayed when hovering over the group label.
group
property to your metrics like so:
metrics
section, and your dimensions will get grouped together under your label in the dimensions
section.
description
property.
description
property.
label
property.
So, if I had a field user_id_sha64
, I could relabel it to User ID
.
format
property in your YAML file.
Here’s an example of how different rounding will affect your numbers:
Original number | Format value | How it will appear in Lightdash |
---|---|---|
121.854 | ’0.00’ | 121.85 |
121.854 | ’0.0’ | 121.9 |
121.854 | ’0’ | 123 |
Original number | Format value | How it will appear in Lightdash |
---|---|---|
1000000000 | ’0’ | 1000000000 |
1000000000 | ’0,” K“‘ | 1000000K |
1000000000 | ’0,,” M“‘ | 1000M |
revenue
field. Is that in GBP? USD?
In Lightdash, you can use the format
label to add units to your fields.
Here’s an example of how different formats will affect your values:
Original value | Format value | How it will appear in Lightdash |
---|---|---|
121.854 | ’[$£]#,##0.00’ | £121.85 |
121.854 | ’$#,##0.00’ | $121.90 |
format
to your dimensions this:
format
to your metrics this:
percent
: Formats your metric as a percentage, with the following options:
round
value to your metric to round it to a certain number of decimal placesseparator
, e.g. from .
to ,
currency
: Formats your metric as a currency
round
value to your metric to round it to a certain number of decimal placesseparator
, e.g. from .
to ,
currency
symbol, e.g. from $
to £
compact
value to compact your metric to a certain unit, e.g. from 1,000,000
to 1M
number
: Formats your metric as a number
round
value to your metric to round it to a certain number of decimal placesseparator
, e.g. from .
to ,
compact
value to compact your metric to a certain unit, e.g. from 1,000,000
to 1M
prefix
value to add a prefix to your metric, e.g. +
or -
suffix
value to add a suffix to your metric, e.g. %
Format
tab:
percent
: Formats your metric as a percentage, with the following options:
round
value to your metric to round it to a certain number of decimal placesseparator
, e.g. from .
to ,
currency
: Formats your metric as a currency
round
value to your metric to round it to a certain number of decimal placesseparator
, e.g. from .
to ,
currency
symbol, e.g. from $
to £
compact
value to compact your metric to a certain unit, e.g. from 1,000,000
to 1M
number
: Formats your metric as a number
round
value to your metric to round it to a certain number of decimal placesseparator
, e.g. from .
to ,
compact
value to compact your metric to a certain unit, e.g. from 1,000,000
to 1M
prefix
value to add a prefix to your metric, e.g. +
or -
suffix
value to add a suffix to your metric, e.g. %