Ivan Pereira
03/13/2023, 5:14 PMtable_surgeries_fact
patient_sk -> dim_patient -> date_birth_sk -> dim_date
surgery_date_sk -> dim_date
….
If the date is applied to all fields, then is also applied to the date_birth and it could explain some numbers we are seeing.
What’s your recommendation? Having date/datetime fields instead of dim_date will work better with GD engine?
Can we fix this on the Logical Model?Moises Morales
03/13/2023, 5:45 PMdd-mm-yyyy
mm-dd-yyyy
yyyy-mm-dd
dd-MMM-yyyy
MMM-dd-yyyy
yyyy-MMM-dd
MMM dd, yyyy
If you are importing a table/view that contains dates, not one but two datasets will be added to your LDM: one Date dataset for the dates, and the other one with the rest of information from the table/view. These two datasets will be automatically connected with a relationship, and the Date dataset will become a reference in that other dataset. I recommend checking the resources below:
Dates in Logical Data Models | GoodData Free
Using Date Dimensions in GoodData | The GoodData CommunityJakub Sterba
03/13/2023, 6:54 PMIvan Pereira
03/13/2023, 7:01 PMIvan Pereira
03/13/2023, 7:01 PMJakub Sterba
03/13/2023, 7:07 PM