Daily Till Summary Fact Table

This facts table captures the daily transactions conducted at a specific point of sale (POS) terminal (till). It captures the information such as sales, points redeemed, returns, and loyalty activities, allowing businesses to analyze POS-specific performance.

Databricks Table Name: daily_till_summary

Daily Till Summary - Entity Relationship Diagram (ERD)

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

Daily Till SummaryPKdim_event_date_id: bigintPKdim_event_zone_till_id: bigintnot_interested_bill_count: bigintpoints_redeemed: doubletotal_bills: bigintmember_returns: bigintpoints_returned: doubletotal_sales: doublenon_loyalty_sales: doublenon_member_returns: bigintextra_sales: doublenumber_of_non_loyalty_bills: bigintnon_loyalty_sales_from_lineitem: doublenumber_of_loyal_repeat_customers: bigintpoints_redeemers: biginttest_responder_sales: doubleloyalty_sales: doublenumber_of_non_loyal_repeat_customers: bigintnew_non_loyal_transacted_customers: bigintnon_member_sales: doublenot_interested_sales: doubleloyalty_sales_from_lineitem: doublecoupons_issued: bigintcoupons_redeemed: bigintpoints_expired: doublemember_sales: doublenew_loyal_transacted_customers: bigintnumber_of_loyalty_bills: bigintpoints_issued: doubleyear: intdateLKdate_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: stringDateZone_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: stringzone_name: stringZone TillsDaily Till Summary

Legend

PK   Primary Key

LK   Linking Key

Fact Table
Dimension Table

Daily Till Summary Fact Table

Column NameData TypeDescriptionLinked Table
dim_event_date_idbigintDate of the transaction. It is the primary key of the table.date
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. It is the primary key of the table.zone_till
not_interested_bill_countbigintNumber of bills generated from purchases of not-interested customers._
points_redeemeddoubleTotal points redeemed by the transactions made through the till (Point of sale counter)._
total_billsbigintTotal number of bills generated through the till._
member_returnsbigintTotal count of returns from members._
points_returneddoubleTotal points reverted because of return transactions._
total_salesdoubleTotal sales generated at the till including taxes and discounts._
non_loyalty_salesdoubleSales generated from non-loyalty customers._
non_member_returnsbigintCount of returns made by non-members._
extra_salesdoubleThe total sales amount generated from bills where points were redeemed at the till._
number_of_non_loyalty_billsbigintNumber of bills generated for non-loyalty customers._
non_loyalty_sales_from_lineitemdoubleTotal sales from all the line items purchased by non-loyalty customers._
number_of_loyal_repeat_customersbigintTotal number of loyalty customers who have made more than one purchase._
points_redeemersbigintNumber of customers who redeemed points._
test_responder_salesdoubleSales generated from customers who responded to campaign messages (test group)._
loyalty_salesdoubleSales generated from transactions made by loyalty customers._
number_of_non_loyal_repeat_customersbigintNumber of non-loyalty customers who made repeated transactions._
new_non_loyal_transacted_customersbigintCount of customers who are not part of any loyalty program and have made their initial purchases._
non_member_salesdoubleSales generated from purchases done by non-loyalty members._
not_interested_salesdoubleSales generated from not-interested customers._
loyalty_sales_from_lineitemdoubleTotal sales from all the line items purchased by loyalty customers._
coupons_issuedbigintTotal number of coupons issued through the till._
coupons_redeemedbigintTotal number of coupons redeemed through the till._
points_expireddoubleThe total points that expired on a given date, which were originally awarded from the same till in the past._
member_salesdoubleSales generated from loyalty customers._
new_loyal_transacted_customersbigintCount of customers who have newly enrolled in a loyalty program and have made their initial purchases._
number_of_loyalty_billsbigintNumber of bills generated by loyalty customers._
points_issueddoubleTotal points issued through transactions made at the particular till._
yearintYear of the transaction._