Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# misc
.DS_Store
*.pem
.idea

# debug
npm-debug.log*
Expand Down
14 changes: 8 additions & 6 deletions docs/pages/product/apis-integrations/mdx-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,26 @@ subsecond latency. Consider tuning the concurrency and quotas to achieve that.

### Date hierarchies

By default, the MDX API creates additional hierarchies for all [time dimensions][ref-time-dimensions] and organizing them in a separate folder called "Calendar" for each dimension.
This creates a Calendar hierarchy structure containing `Year`, `Quarter`, `Month`, `Week`, and `Day` levels, as well as Calendar Quarter of Year and Calendar Year hierarchies.
By default, the MDX API creates additional hierarchies for all [time dimensions][ref-time-dimensions] and organizes them in a separate folder called "Calendar" for each dimension.
The following hierarchies are created:

```
- Dimension Calendar:
- Year
- Quarter
- Month
- Week
- Day
- Dimension Calendar Weeks:
- Year
- Week
- Dimension Calendar Quarter of Year:
- Quarter
- Dimension Calendar Year
- Dimension Calendar Year:
- Year
```

These hierarchies are particularly useful in Excel because they allow you to filter your data without needing to drill down or expand all levels.
Additionally, you can combine Calendar Year or Calendar Quarter of Year as filters while placing other dimensions on the axis.
The **Calendar Quarter of Year** and **Calendar Year** hierarchies are particularly useful in Excel because they allow you to filter your data without needing to drill down or expand all levels.
You can use them as slicers while placing other dimensions on the axes.

You can set the `CUBE_MDX_CREATE_DATE_HIERARCHIES` environment variable to `false` to disable this behavior.

Expand Down
Loading