Skip to content

Update measures.mdx #8787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/pages/reference/data-model/measures.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ cubes:

### `drill_members`

<WarningBox>

`drill_members` is used for creating custom applications. It does not affect the behavior drilling in BI tools.

</WarningBox>

Using the `drill_members` parameter, you can define a set of [drill
down][ref-drilldowns] fields for the measure. `drill_members` is defined as an
array of dimensions. Cube automatically injects dimensions’ names and other
Expand Down Expand Up @@ -174,6 +180,12 @@ cubes:

### `format`

<WarningBox>

`format` does not affect the format of the data in an API response. It is used in the Cube Playground and for custom applications. It does not affect the display format of a field when viewed in a BI tool.

</WarningBox>

`format` is an optional parameter. It is used to format the output of measures
in different ways, for example, as currency for `revenue`. Please refer to the
[Measure Formats][ref-schema-ref-types-formats-measures-formats] for the full
Expand Down Expand Up @@ -540,4 +552,4 @@ join will be created automatically.
[ref-drilldowns]: /guides/recipes/data-exploration/drilldowns
[ref-naming]: /product/data-modeling/syntax#naming
[ref-playground]: /product/workspace/playground
[ref-apis]: /product/apis-integrations
[ref-apis]: /product/apis-integrations
Loading