Forum Discussion
Yrstruly2021
5 years agoHelper V
Data Modeling - Date Table
I have this data: https://drive.google.com/file/d/1aHULztI9Q0Ho7ffoRcBceAiElOTIZVji/view?usp=sharing I need to create a connection between the Pholidays table and the rest of the tables. Please advi...
- 5 years ago
Hi,
Write this calculated column formula in the Date Table
Column = LOOKUPVALUE('PHolidays (2)'[Public Holiday],'PHolidays (2)'[Date],'Date'[Date])Now ensure that all your tables are connected only to the Date Table. Whenever you want to view any information by Public Holidays, drag that column from the Date Table (not from the PHolidays table).
Hope this helps.
Ashish_Mathur
5 years agoSuper User
Hi,
You should create a Calendar Table first. Using the LOOKUPVALUE() function, bring over the Holidays from the PHolidays table to the Calendar Table. The Calendar Table should have a relationship with the other tables.