Forum Discussion
Mapping Dates Through Bridge Table
- 8 years ago
Hi mgallacher,
You can create a date dimension table (suppose it's named as 'DimDate') using CALENDAR() function. Then this new table will contain a column with unique date values. Then, you can create a one to many relationship between 'orders' and 'DimDate' based on date field. Also, create a one to many relationship between 'Master Data(2)' and 'DimDate'. In that case, 'DimDate' works as a bridge table.
Regards,
Yuliana Gu
Could you give a brief explanation or visual as to how you would set that up? I'm just a marketer who plays an analyst at work. I appreciate the help.
Hi mgallacher,
You can create a date dimension table (suppose it's named as 'DimDate') using CALENDAR() function. Then this new table will contain a column with unique date values. Then, you can create a one to many relationship between 'orders' and 'DimDate' based on date field. Also, create a one to many relationship between 'Master Data(2)' and 'DimDate'. In that case, 'DimDate' works as a bridge table.
Regards,
Yuliana Gu
- mgallacher8 years agoFrequent Visitor
Thank you! That solution worked well and I can create a filter from the new date table.