[SL-1725] [Feature] Reference a measure from another semantic model. #1038
Labels
enhancement
New feature or request
Medium priority
Created by Linear-GitHub Sync
Metricflow
Created by Linear-GitHub Sync
triage
Tasks that need to be triaged
Is this your first time submitting a feature request?
Describe the feature
I want to be able to reference a measure in another semantic model at a different entity grain. For example, say I have model called
caregiver_visits
and another model calledvisits
.visits
contains a measurevisit_id__scheduled_duration_mins
which I want to aggregate at to thecaregiver_visits
entity. I should be able to express that in the spec. An example of what that might look like is:Querying the total_scheduled_duration_hours metric would resolve to something like the following SQL
Describe alternatives you've considered
The alternative right now is to create an import CTE in the caregiver_visits model, and reference the measure directly in the caregiver_visits semantic model.
From SyncLinear.com | SL-1725
The text was updated successfully, but these errors were encountered: