March 16, 2022 at 2:21 pm
Please assist? I would like to model this data(https://docs.google.com/spreadsheets/d/1-9x4ean4QleYODvu8GsAsgm8OKVjABeM/edit?usp=sharing&ouid=104129043494164133703&rtpof=true&sd=true) for Bigquery as much as possible in a denormalized data model. Bigquery favours denormalized data models. I am busing creating the data model of the data tab/table in the sheet.
The Data tab/table contains the data as it comes from CM360(data source). Journey and Mapping Tab/table is extracted from the Data Tab/table. See pdf file attached of a quick overview of current data model to be denomalized.
March 16, 2022 at 4:16 pm
Please assist? I would like to model this data(https://docs.google.com/spreadsheets/d/1-9x4ean4QleYODvu8GsAsgm8OKVjABeM/edit?usp=sharing&ouid=104129043494164133703&rtpof=true&sd=true) for Bigquery as much as possible in a denormalized data model. Bigquery favours denormalized data models. I am busing creating the data model of the data tab/table in the sheet.
The Data tab/table contains the data as it comes from CM360(data source). Journey and Mapping Tab/table is extracted from the Data Tab/table. See pdf file attached of a quick overview of current data model to be denomalized.
No pdf file attached that I can see.
Without seeing that, pick the "primary driver" table and Left Join the other tables to it.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2022 at 4:57 pm
See: https://drive.google.com/file/d/13NhT_wx0EQl2GBP1JhthqksjU0phgSFz/view?usp=sharing
Would like to denormalize this data model.
March 16, 2022 at 6:07 pm
You've got it pretty well mapped out. Like I said, pick the table that has the the primary unique information in it an left join to that to form your "de normalization". Also understand that I've never set foot into Google products like "BigQuery" and probably won't anytime in the near future.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2022 at 6:29 pm
I consider my CM Data table to be my fact table. What would my relationship cardinality be for Store detail and Zip code to Fact table?
March 16, 2022 at 6:32 pm
Like I said, a Left Outer join on the pertinent columns.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2022 at 8:27 pm
Stop and think about what a LEFT OUTER JOIN is.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply