Profile Users Fact Table

This table captures the events related to user profile creation and modification.

Databricks Table Name: profile_users

Profile Users - Entity Relationship Diagram (ERD)

Zoom in the table for more clarity. Click the table title to view its details.

Profile Usersauto_update_time_profile_users: bigintcomm_channel_android: stringcomm_channel_email: stringcomm_channel_ios: stringcomm_channel_mobile: stringcomm_channel_wechat: stringPKdim_channel_account_id: bigintdim_event_date_id: bigintdim_event_time_id: bigintPKdim_event_user_id: bigintdim_event_zone_till_id: bigintdim_latest_updated_date_id: bigintdim_latest_updated_time_id: bigintdim_modified_date_id: bigintdim_modified_time_id: bigintdim_modified_zone_till_id: bigintPKdim_source_profile_type_id: intfirst_name: stringid_email: stringid_external: stringid_mobile: stringid_unique: stringlast_name: stringunion_id: stringyear: intChannel Accountchannel: stringLKchannel_account_id: bigintauto_update_channels: bigintaccount_name: stringauto_update_org_channel_accounts: bigintdateLKdate_id: intday_of_month: intweek_of_year: intmonth: stringyear: intquarter: stringweek_number: intweek_start_date: stringweek_end_date: stringday_of_week: stringmonth_no: intmonth_no_of_year: intmonth_of_year: stringday_of_week_no: intquarter_no: intyearly_quarter_no: intdate: stringDateTimeLKtime_id: biginttime: stringhour_of_day: intminute_of_day: intday_shift: stringday_shift_no: inthour_range: stringTimeusersauto_update_merged_customer: bigintauto_update_loyalty: bigintfraud_status: stringtest_control_bucket: stringis_merged_customer: stringsubscription_status_email_bulk: stringfirst_name: stringslab_name: stringsubscription_status_wechat_bulk: stringemail: stringlast_name: stringmerged_user_id: bigintLKuser_id: bigintsubscription_status_wechat_trans: stringsubscription_status_sms_bulk: stringndnc_status: stringsubscription_status_email_trans: stringtest_control_status: stringauto_update_fraud_user: bigintis_inactive: stringsource: stringslab_number: intauto_update_users: bigintregistered_till_id: bigintauto_update_customer_enrollment: bigintslab_expiry_date: stringcustomer_external_id: stringsubscription_status_sms_trans: stringmobile: stringloyalty_type: stringauto_update_ndnc_status: bigintUsersZone_tillsstore_country: stringexternal_id_1: stringstore: stringauto_update_till_parent: bigintarea: stringstore_name: stringstore_city: stringstore_state: stringtill: stringauto_update_till_store_relation: bigintis_ffc_enabled: stringLKtill_id: biginttype: stringtill_description: stringauto_update_till: bigintstore_channel: stringexternal_id: stringis_billable: stringstore_id: bigintis_active: stringauto_update_store: bigintstore_description: stringlatitude: stringtimezone: stringexternal_id_2: stringtill_name: stringzone_name: stringZone TillsSource Profile TypeLKid: biginttype: stringSource Profile UsersProfile UsersChannel Account

Legend

PK   Primary Key

LK   Linking Key

Fact Table
Dimension Table

Profile Users Fact Table

Column NameData TypeDescriptionLinked TableAvailability for Export in the Profiles Template
auto_update_time_profile_usersbigintDate and time when the corresponding record in the communications table available at the source was last updated. It is in the Unix timestamp format._Yes; Measure Name: Auto Update Time Profile Users
comm_channel_androidstringUnique identifier if the customer's profile was created using an Android app._Yes; Measure Name: Comm Channel Android
comm_channel_emailstringEmail address associated with the customer's profile, specifically if the profile was created through an Android or iOS app._Yes; Measure Name: Comm Channel Email
comm_channel_iosstringUnique identifier if the customer's profile was created using an iOS app._Yes; Measure Name: Comm Channel Ios
comm_channel_mobilestringUnique identifier (mobile number), if the customer's profile was created using a mobile device._Yes; Measure Name: Comm Channel Mobile
comm_channel_wechatstringUnique identifier (wechat number), if the customer's profile was created using WeChat._Yes; Measure Name: Comm Channel Wechat
dim_channel_account_idbigintIdentifier for the channel where the customer's profile was created. Possible values are - Whatsapp, Web_engage, Mobile_app, Line, and WeChat. It is the primary key of this table.channel_accountYes; Dimension Name: Channel Account > Channel Account Id
dim_event_date_idbigintDate when the customer registered/ customer's profile was created.dateYes; Dimension Name: Date > Date
dim_event_time_idbigintTime when the customer registered/ customer's profile was created.timeYes; Dimension Name: Time > Time Id
dim_event_user_idbigintIdentifier for the customer details. It is the primary key of this table.usersYes; Dimension Name: User > User Id
dim_event_zone_till_idbigintIdentifier assigned to the point-of-sale (POS) terminal within a store. It distinguishes one checkout location from another within the same store.zone_tillsYes; Dimension Name: Store Hierarchy > Till Id
dim_latest_updated_date_idbigintDate when the data corresponding to this event/ row is changed in the source table.dateYes; Dimension Name: Latest Updated Date > Date
dim_latest_updated_time_idbigintTime when the data corresponding to this event/ row is changed in the source table.timeYes; Dimension Name: Latest Updated Time > Time Id
dim_modified_date_idbigintDate when modifications were made to the customer's profile.date_
dim_modified_time_idbigintTime when modifications were made to the customer's profile.time_
dim_modified_zone_till_idbigintIdentifier assigned to the point-of-sale (POS) terminal within a store. It distinguishes one checkout location from another within the same store.__
dim_source_profile_type_idintIdentifier for the source where the customer's profile was created. If the customer's profile was created in-store, the value will be 'Instore', and if not, the value will be 'Not-instore'. It is the primary key of this table.source_profile_type_
first_namestringFirst name of the customer._Yes; Measure Name: First Name
id_emailstringEmail address of the customer._Yes; Measure Name: Id Email
id_externalstringExternal ID of the customer._Yes; Measure Name: Id External
id_mobilestringMobile number of the customer._Yes; Measure Name: Id Mobile
id_uniquestringUnique identifier of the customer._Yes; Measure Name: Id Unique
last_namestringCustomer's last name._Yes; Measure Name: Last Name
union_idstringUnique identifier for the table._Yes; Measure Name: Union Id
yearintYear when the customer's profile was created._Yes; Dimension Name: Year