erDiagram
EMPLOYEES ||--o{ PAYROLL_MONTHLY : Employee_ID
EMPLOYEES ||--o{ ATTENDANCE_LEAVE_MONTHLY : Employee_ID
EMPLOYEES ||--|| BENEFITS_ENROLLMENT : Employee_ID
EMPLOYEES ||--|| LEAVE_ENTITLEMENT : Employee_ID
EMPLOYEES ||--o{ COMPLIANCE_REGISTER : Employee_ID
- Dimension:
employees - Facts:
payroll_monthly,attendance_leave_monthly,compliance_register - Snapshots:
benefits_enrollment,leave_entitlement - Reference:
law_reference,data_dictionary
- Get Data → Folder and select the
datafolder, or import the CSVs separately. - Set date columns to Date.
- Create one-to-many relationships from
employees[Employee_ID]. - Add a calendar table and relate it to payroll/attendance/compliance month columns.
- Use the measures in
power_bi_dax_measures.md.
- Upload the CSVs to Google Sheets or BigQuery.
- Use
employeesas the employee dimension source. - Blend fact tables using
Employee_ID; also match payroll/attendance month where necessary. - Use fields from
looker_studio_calculated_fields.md.
Minimum wage and tax logic are configurable. Update them with the current sector gazette and tax-year rules.