Skip to content

Commit 1ae1b04

Browse files
authored
docs: Elaborate on pre-aggregation usage in views
1 parent 701e196 commit 1ae1b04

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/content/Schema/Reference/view.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,12 @@ To learn more about using `public` to control visibility based on security
336336
context, read the [Controlling access to cubes and views
337337
recipe][ref-recipe-control-access-cubes-views].
338338

339+
## Using views with pre-aggregations
340+
341+
Pre-aggregations defined for original Cube members would still work when used in view queries.
342+
Please note that pre-aggregations use the same leaf members matching algorithm used for Cubes.
343+
As a consequence, all measures and dimensions included in pre-aggregation should be leaf members in order to be matched by view query.
344+
339345
[ref-recipe-control-access-cubes-views]:
340346
/recipes/controlling-access-to-cubes-and-views
341347
[ref-schema-joins-direction]: /schema/fundamentals/joins#directions-of-joins

0 commit comments

Comments
 (0)