Ryan Peters
09/20/2024, 3:13 PMcase_interaction_id
field, and it's showing up 6 times in the model. Is there something I've just completely missed to set this up so there's exactly one?Julius Kos
09/20/2024, 4:20 PMYou can have only one primary key per dataset, but you can have multiple other datasets in the LDM with references to that primary key. Any single reference in a dataset can point back to only one primary key.So if you need to reference a single pk from multiple datasets, you can use the foreign keys in them to reference it. I’m not aware with your data model but that can be a standard procedure. If you’re looking for some basics regarding data modeling, I would strongly recommend you to check our university courses which are covering this topic as well: https://university.gooddata.com/courses/designing-data-models/
Ryan Peters
09/20/2024, 4:46 PMcase_interaction_id
being our PK for all sets. Because it needs to exist within both tables to functionally join, it's showing up as 2 different fields to select. I'm just curious how we prevent that.Julius Kos
09/20/2024, 6:04 PMJulius Kos
09/20/2024, 6:05 PMRyan Peters
09/20/2024, 6:57 PMJulius Kos
09/20/2024, 7:15 PMRyan Peters
09/20/2024, 7:15 PMJulius Kos
09/20/2024, 7:39 PMcase_interaction_id
as a foreign key, would that work for you?Ryan Peters
09/20/2024, 7:57 PMJoseph Heun
09/24/2024, 11:16 AM