Jeremy Moore
05/14/2024, 5:58 PMJeremy Moore
05/14/2024, 5:58 PMIvana Gasparekova
05/14/2024, 6:08 PMJeremy Moore
05/14/2024, 6:18 PMjourney
and another called journeyInstances
a journeyInstances
has one journey
by way of a journeyInstances
.journeyId
field. The modeler is complaining however that both entities have createdAt
and updatedAt
fieldsJeremy Moore
05/14/2024, 6:19 PMJeremy Moore
05/14/2024, 6:20 PMJeremy Moore
05/14/2024, 6:20 PMJeremy Moore
05/14/2024, 6:22 PMIvana Gasparekova
05/14/2024, 6:26 PMJeremy Moore
05/14/2024, 6:32 PMJeremy Moore
05/14/2024, 6:32 PMJeremy Moore
05/14/2024, 6:33 PMJeremy Moore
05/14/2024, 6:38 PMIvana Gasparekova
05/14/2024, 6:39 PMMichal Hauzírek
05/14/2024, 10:42 PMCreatedAt
you are therefore not filtering by a specific createdAt
field in your specific table. And this can cause ambiguities.
In your case if user used something from journeyInstance
and filtered it by createdAt date
, the system would return very different results if it was filtered by journeyInstance.createdAt
and journey.createdAt
. But modelled like this, it is telling the system that these two are the same - a shared dimension.
If createdAt of a journey
can be different than createdAt
of that joiurney’s journeyinstance
it is recommended to create a separate date dimensions and link them to corresponding datasets (i.e. JourneyCreatedAt
, `JourneyInstanceCreatedAt`…). This will allow you to filter/slice your visualizations by any of the specific dates without ambiguity.
(if you need to have the createdAt dates in your logical model for reporting at all)