Skip to content
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
6 changes: 1 addition & 5 deletions docs/pages/product/data-modeling/recipes/xirr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ cubes:
sql: payment
type: number

# Everything below this line is only needed for querying
# pre-aggregations in Cube Store
- name: date__day
sql: "{date.day}"
type: time
Expand Down Expand Up @@ -101,8 +99,6 @@ cube(`payments`, {
type: `number`
},

// Everything below this line is only needed for querying
// pre-aggregations in Cube Store
date__day: {
sql: `${CUBE.date.day}`,
type: `time`
Expand Down Expand Up @@ -198,4 +194,4 @@ All queries above would yield the same result:
[ref-query-wpp]: /product/apis-integrations/queries#query-with-post-processing
[ref-query-regular]: /product/apis-integrations/queries#regular-query
[link-tesseract]: https://cube.dev/blog/introducing-next-generation-data-modeling-engine
[ref-multi-stage-calculations]: /product/data-modeling/concepts/multi-stage-calculations
[ref-multi-stage-calculations]: /product/data-modeling/concepts/multi-stage-calculations