diff --git a/CareTogether.SemanticModel/definition/tables/Entity.tmdl b/CareTogether.SemanticModel/definition/tables/Entity.tmdl index af8fe0f..0df31f4 100644 --- a/CareTogether.SemanticModel/definition/tables/Entity.tmdl +++ b/CareTogether.SemanticModel/definition/tables/Entity.tmdl @@ -47,7 +47,7 @@ table Entity FILTER( 'Child Location Record', 'Child Location Record'[ChildcarePlan] <> "WithParent" && - 'Child Location Record'[Started] >= StartDate && + 'Child Location Record'[Ended] >= StartDate && 'Child Location Record'[Started] <= MIN(EndDate, CurrentDate) ) ) diff --git a/CareTogether.SemanticModel/diagramLayout.json b/CareTogether.SemanticModel/diagramLayout.json index 92ecf14..6b13c4a 100644 --- a/CareTogether.SemanticModel/diagramLayout.json +++ b/CareTogether.SemanticModel/diagramLayout.json @@ -367,7 +367,7 @@ "ordinal": 1, "scrollPosition": { "x": 0, - "y": 0 + "y": 647.08299907702633 }, "nodes": [ {