Dimension Hierarchies #21
Replies: 3 comments 4 replies
|
The same could be said for metrics. Consider this set of metrics:
Or something from funnel analysis:
We would like to group these metrics together into a "revenue" group and a "signup funnel metrics" group. The potentialThere will be metadata that can be shared between all the metrics. The amount of boiler plate code can be significantly reduced if we can define some parameters on the group level, automatically propagating to each individual metric. For example, a general signup funnel process description and metric owner would be very appropriate on metric group level. These could then be omitted or have an override on metric level. Somewhat related to #43 and #42. If units and currencies are introduced, the need for grouping is reduced, but not eliminated (as demonstrated by the funnel example). |
|
I agree this is a useful feature, but we may want to change the title to "Dimension Hierarchies", because there is another type of hierarchy such as manager/employee that logically involve self-joins (even if they are flattened for analysis) which I think is a bit different. |
|
On the topic of hierarchies, are we considering what are sometimes called "ragged" hierarchies? For instance, in a sales organization, I might want to aggregate sales by employee, by the manager of that employee, the manager of that manager, etc all the way to the top. How would such a hierarchy be represented in this proposal? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
SML, Tableau and Power BI all define hierarchies as drill-down structures. Hierarchies also provide valuable context to LLMs and BI tools.
Proposal
Add optional hierarchies within dimension_groups:
Notes
All reactions