Skip to content

Instantly share code, notes, and snippets.

@compustar
Created November 16, 2024 21:47
Show Gist options
  • Save compustar/42b2852af9ef0bc275e2e7a6b89733c0 to your computer and use it in GitHub Desktop.
Save compustar/42b2852af9ef0bc275e2e7a6b89733c0 to your computer and use it in GitHub Desktop.
Table Name Column Name Data Type Description Table Description Column Description Sample Value
DimAccount AccountKey int Chart of accounts information. Defines the different financial accounts used in FactFinance. Primary key for the account dimension. Chart of accounts information. Defines the different financial accounts used in FactFinance. Primary key for the account dimension. 123
DimAccount ParentAccountKey int Chart of accounts information. Defines the different financial accounts used in FactFinance. Foreign key to DimAccount. Indicates a hierarchical relationship between accounts (e.g., a sub-account and its parent account). Chart of accounts information. Defines the different financial accounts used in FactFinance. Foreign key to DimAccount. Indicates a hierarchical relationship between accounts (e.g., a sub-account and its parent account). 456
DimAccount AccountCodeAlternateKey int Chart of accounts information. Defines the different financial accounts used in FactFinance. Alternate key for the account. Chart of accounts information. Defines the different financial accounts used in FactFinance. Alternate key for the account. 789
DimAccount ParentAccountCodeAlternateKey int Chart of accounts information. Defines the different financial accounts used in FactFinance. Alternate key for the parent account. Chart of accounts information. Defines the different financial accounts used in FactFinance. Alternate key for the parent account. 101
DimAccount AccountDescription nvarchar(50) Chart of accounts information. Defines the different financial accounts used in FactFinance. Description of the account. Chart of accounts information. Defines the different financial accounts used in FactFinance. Description of the account. Sales Revenue
DimAccount AccountType nvarchar(50) Chart of accounts information. Defines the different financial accounts used in FactFinance. Type of account (e.g., Revenue, Expense, Asset). Chart of accounts information. Defines the different financial accounts used in FactFinance. Type of account (e.g., Revenue, Expense, Asset). Revenue
DimAccount Operator nvarchar(50) Chart of accounts information. Defines the different financial accounts used in FactFinance. Mathematical operator associated with the account. Not clear from the schema what this is used for. Chart of accounts information. Defines the different financial accounts used in FactFinance. Mathematical operator associated with the account. Not clear from the schema what this is used for. +
DimAccount CustomMembers nvarchar(300) Chart of accounts information. Defines the different financial accounts used in FactFinance. Custom members associated with the account. Likely used for reporting and analysis. Chart of accounts information. Defines the different financial accounts used in FactFinance. Custom members associated with the account. Likely used for reporting and analysis.
DimAccount ValueType nvarchar(50) Chart of accounts information. Defines the different financial accounts used in FactFinance. Type of value stored in the account (e.g., Monetary, Percentage). Chart of accounts information. Defines the different financial accounts used in FactFinance. Type of value stored in the account (e.g., Monetary, Percentage). Monetary
DimAccount CustomMemberOptions nvarchar(200) Chart of accounts information. Defines the different financial accounts used in FactFinance. Custom member options for the account. Similar to CustomMembers, but likely for more specific configuration. Chart of accounts information. Defines the different financial accounts used in FactFinance. Custom member options for the account. Similar to CustomMembers, but likely for more specific configuration.
DimCustomer CustomerKey int Customer information (demographics, contact details, purchase history). Primary key for the customer dimension. Customer information (demographics, contact details, purchase history). Primary key for the customer dimension. 1234
DimCustomer GeographyKey int Customer information (demographics, contact details, purchase history). Foreign key to DimGeography. Links the customer to their geographical location. Customer information (demographics, contact details, purchase history). Foreign key to DimGeography. Links the customer to their geographical location. 7890
DimCustomer CustomerAlternateKey nvarchar(15) Customer information (demographics, contact details, purchase history). Alternate key for the customer. Customer information (demographics, contact details, purchase history). Alternate key for the customer. AW0001234
DimCustomer Title nvarchar(8) Customer information (demographics, contact details, purchase history). Customer's title (e.g., Mr., Ms., Dr.). Customer information (demographics, contact details, purchase history). Customer's title (e.g., Mr., Ms., Dr.). Mr.
DimCustomer FirstName nvarchar(50) Customer information (demographics, contact details, purchase history). Customer's first name. Customer information (demographics, contact details, purchase history). Customer's first name. John
DimCustomer MiddleName nvarchar(50) Customer information (demographics, contact details, purchase history). Customer's middle name. Customer information (demographics, contact details, purchase history). Customer's middle name. A
DimCustomer LastName nvarchar(50) Customer information (demographics, contact details, purchase history). Customer's last name. Customer information (demographics, contact details, purchase history). Customer's last name. Doe
DimCustomer NameStyle bit Customer information (demographics, contact details, purchase history). Indicates whether the name is in Western style (0) or Eastern style (1). Customer information (demographics, contact details, purchase history). Indicates whether the name is in Western style (0) or Eastern style (1). 0
DimCustomer BirthDate date Customer information (demographics, contact details, purchase history). Customer's birth date. Customer information (demographics, contact details, purchase history). Customer's birth date. 1/15/1980
DimCustomer MaritalStatus nchar(1) Customer information (demographics, contact details, purchase history). Customer's marital status (e.g., M, S). Customer information (demographics, contact details, purchase history). Customer's marital status (e.g., M, S). M
DimCustomer Suffix nvarchar(10) Customer information (demographics, contact details, purchase history). Customer's suffix (e.g., Jr., III). Customer information (demographics, contact details, purchase history). Customer's suffix (e.g., Jr., III).
DimCustomer Gender nvarchar(1) Customer information (demographics, contact details, purchase history). Customer's gender (e.g., M, F). Customer information (demographics, contact details, purchase history). Customer's gender (e.g., M, F). M
DimCustomer EmailAddress nvarchar(50) Customer information (demographics, contact details, purchase history). Customer's email address. Customer information (demographics, contact details, purchase history). Customer's email address. [email protected]
DimCustomer YearlyIncome money Customer information (demographics, contact details, purchase history). Customer's yearly income. Customer information (demographics, contact details, purchase history). Customer's yearly income. $50,000.00
DimCustomer TotalChildren tinyint Customer information (demographics, contact details, purchase history). Total number of children the customer has. Customer information (demographics, contact details, purchase history). Total number of children the customer has. 2
DimCustomer NumberChildrenAtHome tinyint Customer information (demographics, contact details, purchase history). Number of children living at home with the customer. Customer information (demographics, contact details, purchase history). Number of children living at home with the customer. 1
DimCustomer EnglishEducation nvarchar(40) Customer information (demographics, contact details, purchase history). Customer's education level in English. Customer information (demographics, contact details, purchase history). Customer's education level in English. Bachelors
DimCustomer SpanishEducation nvarchar(40) Customer information (demographics, contact details, purchase history). Customer's education level in Spanish. Customer information (demographics, contact details, purchase history). Customer's education level in Spanish. Bachillerato
DimCustomer FrenchEducation nvarchar(40) Customer information (demographics, contact details, purchase history). Customer's education level in French. Customer information (demographics, contact details, purchase history). Customer's education level in French. Licence
DimCustomer EnglishOccupation nvarchar(100) Customer information (demographics, contact details, purchase history). Customer's occupation in English. Customer information (demographics, contact details, purchase history). Customer's occupation in English. Software Engineer
DimCustomer SpanishOccupation nvarchar(100) Customer information (demographics, contact details, purchase history). Customer's occupation in Spanish. Customer information (demographics, contact details, purchase history). Customer's occupation in Spanish. Ingeniero de Software
DimCustomer FrenchOccupation nvarchar(100) Customer information (demographics, contact details, purchase history). Customer's occupation in French. Customer information (demographics, contact details, purchase history). Customer's occupation in French. Ingénieur Logiciel
DimCustomer HouseOwnerFlag nchar(1) Customer information (demographics, contact details, purchase history). Indicates whether the customer owns a house (1) or not (0). Customer information (demographics, contact details, purchase history). Indicates whether the customer owns a house (1) or not (0). 1
DimCustomer NumberCarsOwned tinyint Customer information (demographics, contact details, purchase history). Number of cars the customer owns. Customer information (demographics, contact details, purchase history). Number of cars the customer owns. 2
DimCustomer AddressLine1 nvarchar(120) Customer information (demographics, contact details, purchase history). First line of the customer's address. Customer information (demographics, contact details, purchase history). First line of the customer's address. 123 Main St
DimCustomer AddressLine2 nvarchar(120) Customer information (demographics, contact details, purchase history). Second line of the customer's address. Customer information (demographics, contact details, purchase history). Second line of the customer's address. Apt 4B
DimCustomer Phone nvarchar(20) Customer information (demographics, contact details, purchase history). Customer's phone number. Customer information (demographics, contact details, purchase history). Customer's phone number. 555-1212
DimCustomer DateFirstPurchase date Customer information (demographics, contact details, purchase history). Date of the customer's first purchase. Customer information (demographics, contact details, purchase history). Date of the customer's first purchase. 3/8/2022
DimCustomer CommuteDistance nvarchar(15) Customer information (demographics, contact details, purchase history). Customer's commute distance. Customer information (demographics, contact details, purchase history). Customer's commute distance. 10 Miles
DimCurrency CurrencyKey int Currency information (codes and names). Primary key for the currency dimension. Currency information (codes and names). Primary key for the currency dimension. 100
DimCurrency CurrencyAlternateKey nchar(3) Currency information (codes and names). Currency code (ISO standard). Currency information (codes and names). Currency code (ISO standard). USD
DimCurrency CurrencyName nvarchar(50) Currency information (codes and names). Full name of the currency. Currency information (codes and names). Full name of the currency. US Dollar
DimDate DateKey int A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Primary key for the date dimension. A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Primary key for the date dimension. 20240724
DimDate FullDateAlternateKey date A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Date value. A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Date value. 7/24/2024
DimDate DayNumberOfWeek tinyint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the week (1=Sunday, 7=Saturday). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the week (1=Sunday, 7=Saturday). 3
DimDate EnglishDayNameOfWeek nvarchar(10) A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the week (English). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the week (English). Wednesday
DimDate SpanishDayNameOfWeek nvarchar(10) A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the week (Spanish). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the week (Spanish). Miércoles
DimDate FrenchDayNameOfWeek nvarchar(10) A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the week (French). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the week (French). Mercredi
DimDate DayNumberOfMonth tinyint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the month. A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the month. 24
DimDate DayNumberOfYear smallint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the year. A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Day of the year. 205
DimDate WeekNumberOfYear tinyint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Week number of the year. A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Week number of the year. 30
DimDate EnglishMonthName nvarchar(10) A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Month name (English). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Month name (English). July
DimDate SpanishMonthName nvarchar(10) A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Month name (Spanish). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Month name (Spanish). Julio
DimDate FrenchMonthName nvarchar(10) A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Month name (French). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Month name (French). Juillet
DimDate MonthNumberOfYear tinyint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Month number of the year. A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Month number of the year. 7
DimDate CalendarQuarter tinyint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Calendar quarter (1-4). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Calendar quarter (1-4). 3
DimDate CalendarYear smallint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Calendar year. A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Calendar year. 2024
DimDate CalendarSemester tinyint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Calendar semester (1-2). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Calendar semester (1-2). 2
DimDate FiscalQuarter tinyint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Fiscal quarter (1-4). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Fiscal quarter (1-4). 4
DimDate FiscalYear smallint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Fiscal year. A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Fiscal year. 2024
DimDate FiscalSemester tinyint A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Fiscal semester (1-2). A date dimension table. Contains a wealth of information about dates, including day of week, month, quarter, year, fiscal periods, etc. Extremely useful for time-based analysis. Fiscal semester (1-2). 2
DimDepartmentGroup DepartmentGroupKey int Hierarchy of departments within the organization. Primary key for the department group dimension. Hierarchy of departments within the organization. Primary key for the department group dimension. 10
DimDepartmentGroup ParentDepartmentGroupKey int Hierarchy of departments within the organization. Foreign key to DimDepartmentGroup. Represents the parent department group in a hierarchy. Hierarchy of departments within the organization. Foreign key to DimDepartmentGroup. Represents the parent department group in a hierarchy. 20
DimDepartmentGroup DepartmentGroupName nvarchar(50) Hierarchy of departments within the organization. Name of the department group. Hierarchy of departments within the organization. Name of the department group. Sales
DimEmployee EmployeeKey int Employee information (name, hire date, department, etc.). Primary key for the employee dimension. Employee information (name, hire date, department, etc.). Primary key for the employee dimension. 12345
DimEmployee ParentEmployeeKey int Employee information (name, hire date, department, etc.). Foreign key to DimEmployee. Represents the manager or supervisor of the employee. Employee information (name, hire date, department, etc.). Foreign key to DimEmployee. Represents the manager or supervisor of the employee. 67890
DimEmployee EmployeeNationalIDAlternateKey nvarchar(15) Employee information (name, hire date, department, etc.). Alternate key for the employee (National ID). Employee information (name, hire date, department, etc.). Alternate key for the employee (National ID). 987654321
DimEmployee ParentEmployeeNationalIDAlternateKey nvarchar(15) Employee information (name, hire date, department, etc.). National ID of the parent employee. Employee information (name, hire date, department, etc.). National ID of the parent employee. 123456789
DimEmployee SalesTerritoryKey int Employee information (name, hire date, department, etc.). Foreign key to DimSalesTerritory. Links the employee to their sales territory. Employee information (name, hire date, department, etc.). Foreign key to DimSalesTerritory. Links the employee to their sales territory. 5
DimEmployee FirstName nvarchar(50) Employee information (name, hire date, department, etc.). Employee's first name. Employee information (name, hire date, department, etc.). Employee's first name. Jane
DimEmployee LastName nvarchar(50) Employee information (name, hire date, department, etc.). Employee's last name. Employee information (name, hire date, department, etc.). Employee's last name. Smith
DimEmployee MiddleName nvarchar(50) Employee information (name, hire date, department, etc.). Employee's middle name. Employee information (name, hire date, department, etc.). Employee's middle name. B
DimEmployee NameStyle bit Employee information (name, hire date, department, etc.). Indicates whether the name is in Western style (0) or Eastern style (1). Employee information (name, hire date, department, etc.). Indicates whether the name is in Western style (0) or Eastern style (1). 0
DimEmployee Title nvarchar(50) Employee information (name, hire date, department, etc.). Employee's job title. Employee information (name, hire date, department, etc.). Employee's job title. Sales Representative
DimEmployee HireDate date Employee information (name, hire date, department, etc.). Date when the employee was hired. Employee information (name, hire date, department, etc.). Date when the employee was hired. 5/10/2023
DimEmployee BirthDate date Employee information (name, hire date, department, etc.). Employee's birth date. Employee information (name, hire date, department, etc.). Employee's birth date. 3/22/1990
DimEmployee LoginID nvarchar(256) Employee information (name, hire date, department, etc.). Employee's network login ID. Employee information (name, hire date, department, etc.). Employee's network login ID. jane.smith
DimEmployee EmailAddress nvarchar(50) Employee information (name, hire date, department, etc.). Employee's email address. Employee information (name, hire date, department, etc.). Employee's email address. [email protected]
DimEmployee Phone nvarchar(25) Employee information (name, hire date, department, etc.). Employee's phone number. Employee information (name, hire date, department, etc.). Employee's phone number. 555-5678
DimEmployee MaritalStatus nchar(1) Employee information (name, hire date, department, etc.). Employee's marital status (e.g., M, S). Employee information (name, hire date, department, etc.). Employee's marital status (e.g., M, S). S
DimEmployee EmergencyContactName nvarchar(50) Employee information (name, hire date, department, etc.). Name of the employee's emergency contact. Employee information (name, hire date, department, etc.). Name of the employee's emergency contact. David Lee
DimEmployee EmergencyContactPhone nvarchar(25) Employee information (name, hire date, department, etc.). Phone number of the employee's emergency contact. Employee information (name, hire date, department, etc.). Phone number of the employee's emergency contact. 555-9876
DimEmployee SalariedFlag bit Employee information (name, hire date, department, etc.). Indicates whether the employee is salaried (1) or not (0). Employee information (name, hire date, department, etc.). Indicates whether the employee is salaried (1) or not (0). 1
DimEmployee Gender nchar(1) Employee information (name, hire date, department, etc.). Employee's gender (M or F). Employee information (name, hire date, department, etc.). Employee's gender (M or F). F
DimEmployee PayFrequency tinyint Employee information (name, hire date, department, etc.). How often the employee is paid (e.g., 1=Monthly, 2=Bi-weekly). Employee information (name, hire date, department, etc.). How often the employee is paid (e.g., 1=Monthly, 2=Bi-weekly). 2
DimEmployee BaseRate money Employee information (name, hire date, department, etc.). Employee's base pay rate. Employee information (name, hire date, department, etc.). Employee's base pay rate. $60,000.00
DimEmployee VacationHours smallint Employee information (name, hire date, department, etc.). Number of vacation hours the employee has. Employee information (name, hire date, department, etc.). Number of vacation hours the employee has. 80
DimEmployee SickLeaveHours smallint Employee information (name, hire date, department, etc.). Number of sick leave hours the employee has. Employee information (name, hire date, department, etc.). Number of sick leave hours the employee has. 40
DimEmployee CurrentFlag bit Employee information (name, hire date, department, etc.). Indicates whether the employee is currently employed (1) or not (0). Employee information (name, hire date, department, etc.). Indicates whether the employee is currently employed (1) or not (0). 1
DimEmployee SalesPersonFlag bit Employee information (name, hire date, department, etc.). Indicates whether the employee is a salesperson (1) or not (0). Employee information (name, hire date, department, etc.). Indicates whether the employee is a salesperson (1) or not (0). 1
DimEmployee DepartmentName nvarchar(50) Employee information (name, hire date, department, etc.). Name of the employee's department. Employee information (name, hire date, department, etc.). Name of the employee's department. Sales
DimEmployee StartDate date Employee information (name, hire date, department, etc.). Start date of the employee's current position. Employee information (name, hire date, department, etc.). Start date of the employee's current position. 5/10/2023
DimEmployee EndDate date Employee information (name, hire date, department, etc.). End date of the employee's current position (if applicable). Employee information (name, hire date, department, etc.). End date of the employee's current position (if applicable).
DimEmployee Status nvarchar(50) Employee information (name, hire date, department, etc.). Current employment status of the employee. Employee information (name, hire date, department, etc.). Current employment status of the employee. Active
DimEmployee EmployeePhoto varbinary(max) Employee information (name, hire date, department, etc.). Employee's photo. Employee information (name, hire date, department, etc.). Employee's photo. (Binary data)
DimGeography GeographyKey int Geographical information (city, state, country, postal code). Primary key for the geography dimension. Geographical information (city, state, country, postal code). Primary key for the geography dimension. 12
DimGeography City nvarchar(30) Geographical information (city, state, country, postal code). City name. Geographical information (city, state, country, postal code). City name. London
DimGeography StateProvinceCode nvarchar(3) Geographical information (city, state, country, postal code). State/province code. Geographical information (city, state, country, postal code). State/province code. CA
DimGeography StateProvinceName nvarchar(50) Geographical information (city, state, country, postal code). State/province name. Geographical information (city, state, country, postal code). State/province name. California
DimGeography CountryRegionCode nvarchar(3) Geographical information (city, state, country, postal code). Country/region code. Geographical information (city, state, country, postal code). Country/region code. US
DimGeography EnglishCountryRegionName nvarchar(50) Geographical information (city, state, country, postal code). Country/region name (English). Geographical information (city, state, country, postal code). Country/region name (English). United States
DimGeography SpanishCountryRegionName nvarchar(50) Geographical information (city, state, country, postal code). Country/region name (Spanish). Geographical information (city, state, country, postal code). Country/region name (Spanish). Estados Unidos
DimGeography FrenchCountryRegionName nvarchar(50) Geographical information (city, state, country, postal code). Country/region name (French). Geographical information (city, state, country, postal code). Country/region name (French). États-Unis
DimGeography PostalCode nvarchar(15) Geographical information (city, state, country, postal code). Postal code. Geographical information (city, state, country, postal code). Postal code. 90210
DimGeography SalesTerritoryKey int Geographical information (city, state, country, postal code). Foreign key to DimSalesTerritory. Links the geography to a sales territory. Geographical information (city, state, country, postal code). Foreign key to DimSalesTerritory. Links the geography to a sales territory. 1
DimGeography IpAddressLocator nvarchar(15) Geographical information (city, state, country, postal code). IP address locator. Geographical information (city, state, country, postal code). IP address locator. 192.168.1.1
DimOrganization OrganizationKey int Organizational structure information, including parent-child relationships. Primary key for the organization dimension. Organizational structure information, including parent-child relationships. Primary key for the organization dimension. 321
DimOrganization ParentOrganizationKey int Organizational structure information, including parent-child relationships. Foreign key to DimOrganization. Indicates the parent organization in a hierarchy. Organizational structure information, including parent-child relationships. Foreign key to DimOrganization. Indicates the parent organization in a hierarchy. 654
DimOrganization PercentageOfOwnership nvarchar(16) Organizational structure information, including parent-child relationships. Percentage of ownership of the parent organization. Organizational structure information, including parent-child relationships. Percentage of ownership of the parent organization. 51%
DimOrganization OrganizationName nvarchar(50) Organizational structure information, including parent-child relationships. Name of the organization. Organizational structure information, including parent-child relationships. Name of the organization. Adventure Works Cycles
DimOrganization CurrencyKey int Organizational structure information, including parent-child relationships. Foreign key to DimCurrency. Indicates the currency used by the organization. Organizational structure information, including parent-child relationships. Foreign key to DimCurrency. Indicates the currency used by the organization. 100
DimProduct ProductKey int Product information (name, description, cost, price, etc.). Primary key for the product dimension. Product information (name, description, cost, price, etc.). Primary key for the product dimension. 45678
DimProduct ProductAlternateKey nvarchar(25) Product information (name, description, cost, price, etc.). Alternate product key or product code. Product information (name, description, cost, price, etc.). Alternate product key or product code. BK-M68B-42
DimProduct ProductSubcategoryKey int Product information (name, description, cost, price, etc.). Foreign key to DimProductSubcategory. Links the product to its subcategory. Product information (name, description, cost, price, etc.). Foreign key to DimProductSubcategory. Links the product to its subcategory. 24
DimProduct WeightUnitMeasureCode nchar(3) Product information (name, description, cost, price, etc.). Unit of measure for weight. Product information (name, description, cost, price, etc.). Unit of measure for weight. LBS
DimProduct SizeUnitMeasureCode nchar(3) Product information (name, description, cost, price, etc.). Unit of measure for size. Product information (name, description, cost, price, etc.). Unit of measure for size. IN
DimProduct EnglishProductName nvarchar(50) Product information (name, description, cost, price, etc.). Product name (English). Product information (name, description, cost, price, etc.). Product name (English). Mountain Bike
DimProduct SpanishProductName nvarchar(50) Product information (name, description, cost, price, etc.). Product name (Spanish). Product information (name, description, cost, price, etc.). Product name (Spanish). Bicicleta de Montaña
DimProduct FrenchProductName nvarchar(50) Product information (name, description, cost, price, etc.). Product name (French). Product information (name, description, cost, price, etc.). Product name (French). Vélo de Montagne
DimProduct StandardCost money Product information (name, description, cost, price, etc.). Standard cost of the product. Product information (name, description, cost, price, etc.). Standard cost of the product. $200.00
DimProduct FinishedGoodsFlag bit Product information (name, description, cost, price, etc.). Indicates if the product is a finished good (1) or a work in progress (0). Product information (name, description, cost, price, etc.). Indicates if the product is a finished good (1) or a work in progress (0). 1
DimProduct Color nvarchar(15) Product information (name, description, cost, price, etc.). Product color. Product information (name, description, cost, price, etc.). Product color. Black
DimProduct SafetyStockLevel smallint Product information (name, description, cost, price, etc.). Safety stock level for the product. Product information (name, description, cost, price, etc.). Safety stock level for the product. 100
DimProduct ReorderPoint smallint Product information (name, description, cost, price, etc.). Reorder point for the product. Product information (name, description, cost, price, etc.). Reorder point for the product. 50
DimProduct ListPrice money Product information (name, description, cost, price, etc.). List price of the product. Product information (name, description, cost, price, etc.). List price of the product. $300.00
DimProduct Size nvarchar(50) Product information (name, description, cost, price, etc.). Product size. Product information (name, description, cost, price, etc.). Product size. 42
DimProduct SizeRange nvarchar(50) Product information (name, description, cost, price, etc.). Product size range. Product information (name, description, cost, price, etc.). Product size range. M
DimProduct Weight float Product information (name, description, cost, price, etc.). Product weight. Product information (name, description, cost, price, etc.). Product weight. 25.5
DimProduct DaysToManufacture int Product information (name, description, cost, price, etc.). Number of days to manufacture the product. Product information (name, description, cost, price, etc.). Number of days to manufacture the product. 5
DimProduct ProductLine nchar(2) Product information (name, description, cost, price, etc.). Product line code. Product information (name, description, cost, price, etc.). Product line code. M
DimProduct DealerPrice money Product information (name, description, cost, price, etc.). Dealer price of the product. Product information (name, description, cost, price, etc.). Dealer price of the product. $250.00
DimProduct Class nchar(2) Product information (name, description, cost, price, etc.). Product class code. Product information (name, description, cost, price, etc.). Product class code. H
DimProduct Style nchar(2) Product information (name, description, cost, price, etc.). Product style code. Product information (name, description, cost, price, etc.). Product style code. U
DimProduct ModelName nvarchar(50) Product information (name, description, cost, price, etc.). Product model name. Product information (name, description, cost, price, etc.). Product model name. Mountain-200
DimProduct LargePhoto varbinary(max) Product information (name, description, cost, price, etc.). Large photo of the product. Product information (name, description, cost, price, etc.). Large photo of the product. (Binary data)
DimProduct EnglishDescription nvarchar(400) Product information (name, description, cost, price, etc.). Product description (English). Product information (name, description, cost, price, etc.). Product description (English). High-performance mountain bike.
DimProduct FrenchDescription nvarchar(400) Product information (name, description, cost, price, etc.). Product description (French). Product information (name, description, cost, price, etc.). Product description (French). Vélo de montagne haute performance.
DimProduct ChineseDescription nvarchar(400) Product information (name, description, cost, price, etc.). Product description (Chinese). Product information (name, description, cost, price, etc.). Product description (Chinese). ????????
DimProduct ArabicDescription nvarchar(400) Product information (name, description, cost, price, etc.). Product description (Arabic). Product information (name, description, cost, price, etc.). Product description (Arabic). ????? ????? ????? ??????
DimProduct HebrewDescription nvarchar(400) Product information (name, description, cost, price, etc.). Product description (Hebrew). Product information (name, description, cost, price, etc.). Product description (Hebrew). ????? ???? ???? ??????? ??????
DimProduct ThaiDescription nvarchar(400) Product information (name, description, cost, price, etc.). Product description (Thai). Product information (name, description, cost, price, etc.). Product description (Thai). ??????????????????????????????
DimProduct GermanDescription nvarchar(400) Product information (name, description, cost, price, etc.). Product description (German). Product information (name, description, cost, price, etc.). Product description (German). Hochleistungs-Mountainbike.
DimProduct JapaneseDescription nvarchar(400) Product information (name, description, cost, price, etc.). Product description (Japanese). Product information (name, description, cost, price, etc.). Product description (Japanese). ???????????
DimProduct TurkishDescription nvarchar(400) Product information (name, description, cost, price, etc.). Product description (Turkish). Product information (name, description, cost, price, etc.). Product description (Turkish). Yüksek performansl? da? bisikleti.
DimProduct StartDate datetime Product information (name, description, cost, price, etc.). Start date when the product was available. Product information (name, description, cost, price, etc.). Start date when the product was available. 1/1/2023
DimProduct EndDate datetime Product information (name, description, cost, price, etc.). End date when the product was discontinued (if applicable). Product information (name, description, cost, price, etc.). End date when the product was discontinued (if applicable).
DimProduct Status nvarchar(7) Product information (name, description, cost, price, etc.). Current status of the product. Product information (name, description, cost, price, etc.). Current status of the product. Current
DimProductCategory ProductCategoryKey int Product category information (e.g., Bikes, Accessories, Clothing). Primary key for the product category dimension. Product category information (e.g., Bikes, Accessories, Clothing). Primary key for the product category dimension. 1
DimProductCategory ProductCategoryAlternateKey int Product category information (e.g., Bikes, Accessories, Clothing). Alternate key for the product category. Product category information (e.g., Bikes, Accessories, Clothing). Alternate key for the product category. 1
DimProductCategory EnglishProductCategoryName nvarchar(50) Product category information (e.g., Bikes, Accessories, Clothing). Product category name (English). Product category information (e.g., Bikes, Accessories, Clothing). Product category name (English). Bikes
DimProductCategory SpanishProductCategoryName nvarchar(50) Product category information (e.g., Bikes, Accessories, Clothing). Product category name (Spanish). Product category information (e.g., Bikes, Accessories, Clothing). Product category name (Spanish). Bicicletas
DimProductCategory FrenchProductCategoryName nvarchar(50) Product category information (e.g., Bikes, Accessories, Clothing). Product category name (French). Product category information (e.g., Bikes, Accessories, Clothing). Product category name (French). Vélos
DimProductSubcategory ProductSubcategoryKey int Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Primary key for the product subcategory dimension. Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Primary key for the product subcategory dimension. 1
DimProductSubcategory ProductSubcategoryAlternateKey int Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Alternate key for the product subcategory. Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Alternate key for the product subcategory. 1
DimProductSubcategory EnglishProductSubcategoryName nvarchar(50) Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Product subcategory name (English). Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Product subcategory name (English). Mountain Bikes
DimProductSubcategory SpanishProductSubcategoryName nvarchar(50) Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Product subcategory name (Spanish). Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Product subcategory name (Spanish). Bicicletas de Montaña
DimProductSubcategory FrenchProductSubcategoryName nvarchar(50) Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Product subcategory name (French). Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Product subcategory name (French). Vélos de Montagne
DimProductSubcategory ProductCategoryKey int Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Foreign key to DimProductCategory. Links the subcategory to its parent category. Product subcategory information (e.g., Road Bikes, Mountain Bikes, Helmets). Foreign key to DimProductCategory. Links the subcategory to its parent category. 1
DimPromotion PromotionKey int Information about sales promotions. Primary key for the promotion dimension. Information about sales promotions. Primary key for the promotion dimension. 1234
DimPromotion PromotionAlternateKey int Information about sales promotions. Alternate key for the promotion. Information about sales promotions. Alternate key for the promotion. 5678
DimPromotion EnglishPromotionName nvarchar(255) Information about sales promotions. Promotion name (English). Information about sales promotions. Promotion name (English). Summer Sale
DimPromotion SpanishPromotionName nvarchar(255) Information about sales promotions. Promotion name (Spanish). Information about sales promotions. Promotion name (Spanish). Rebajas de Verano
DimPromotion FrenchPromotionName nvarchar(255) Information about sales promotions. Promotion name (French). Information about sales promotions. Promotion name (French). Soldes d'été
DimPromotion DiscountPct float Information about sales promotions. Discount percentage for the promotion. Information about sales promotions. Discount percentage for the promotion. 0.1
DimPromotion EnglishPromotionType nvarchar(50) Information about sales promotions. Promotion type (English). Information about sales promotions. Promotion type (English). Percentage Discount
DimPromotion SpanishPromotionType nvarchar(50) Information about sales promotions. Promotion type (Spanish). Information about sales promotions. Promotion type (Spanish). Descuento porcentual
DimPromotion FrenchPromotionType nvarchar(50) Information about sales promotions. Promotion type (French). Information about sales promotions. Promotion type (French). Remise en pourcentage
DimPromotion EnglishPromotionCategory nvarchar(50) Information about sales promotions. Promotion category (English). Information about sales promotions. Promotion category (English). Seasonal
DimPromotion SpanishPromotionCategory nvarchar(50) Information about sales promotions. Promotion category (Spanish). Information about sales promotions. Promotion category (Spanish). Estacional
DimPromotion FrenchPromotionCategory nvarchar(50) Information about sales promotions. Promotion category (French). Information about sales promotions. Promotion category (French). Saisonnier
DimPromotion StartDate datetime Information about sales promotions. Start date of the promotion. Information about sales promotions. Start date of the promotion. 6/1/2024
DimPromotion EndDate datetime Information about sales promotions. End date of the promotion. Information about sales promotions. End date of the promotion. 7/31/2024
DimPromotion MinQty int Information about sales promotions. Minimum quantity required to qualify for the promotion. Information about sales promotions. Minimum quantity required to qualify for the promotion. 1
DimPromotion MaxQty int Information about sales promotions. Maximum quantity eligible for the promotion. Information about sales promotions. Maximum quantity eligible for the promotion.
DimReseller ResellerKey int Information about resellers. Primary key for the reseller dimension. Information about resellers. Primary key for the reseller dimension. 4242
DimReseller GeographyKey int Information about resellers. Foreign key to DimGeography. Geographic location of the reseller. Information about resellers. Foreign key to DimGeography. Geographic location of the reseller. 54
DimReseller ResellerAlternateKey nvarchar(15) Information about resellers. Alternate key for the reseller. Information about resellers. Alternate key for the reseller. RES004242
DimReseller Phone nvarchar(25) Information about resellers. Reseller's phone number. Information about resellers. Reseller's phone number. 555-123-4567
DimReseller BusinessType varchar(20) Information about resellers. Type of reseller business. Information about resellers. Type of reseller business. Bike Shop
DimReseller ResellerName nvarchar(50) Information about resellers. Name of the reseller. Information about resellers. Name of the reseller. Bob's Bikes
DimReseller NumberEmployees int Information about resellers. Number of employees at the reseller. Information about resellers. Number of employees at the reseller. 10
DimReseller OrderFrequency char(1) Information about resellers. How often the reseller places orders (e.g., M=Monthly). Information about resellers. How often the reseller places orders (e.g., M=Monthly). M
DimReseller OrderMonth tinyint Information about resellers. Month in which the reseller typically places orders. Information about resellers. Month in which the reseller typically places orders. 12
DimReseller FirstOrderYear int Information about resellers. Year of the reseller's first order. Information about resellers. Year of the reseller's first order. 2020
DimReseller LastOrderYear int Information about resellers. Year of the reseller's last order. Information about resellers. Year of the reseller's last order. 2024
DimReseller ProductLine nvarchar(50) Information about resellers. Product line carried by the reseller. Information about resellers. Product line carried by the reseller. Mountain Bikes
DimReseller AddressLine1 nvarchar(60) Information about resellers. First line of the reseller's address. Information about resellers. First line of the reseller's address. 456 Oak St
DimReseller AddressLine2 nvarchar(60) Information about resellers. Second line of the reseller's address. Information about resellers. Second line of the reseller's address. Suite 100
DimReseller AnnualSales money Information about resellers. Reseller's annual sales. Information about resellers. Reseller's annual sales. $1,000,000.00
DimReseller BankName nvarchar(50) Information about resellers. Name of the reseller's bank. Information about resellers. Name of the reseller's bank. First National Bank
DimReseller MinPaymentType tinyint Information about resellers. Minimum payment type accepted by the reseller. Information about resellers. Minimum payment type accepted by the reseller. 1
DimReseller MinPaymentAmount money Information about resellers. Minimum payment amount accepted by the reseller. Information about resellers. Minimum payment amount accepted by the reseller. $50.00
DimReseller AnnualRevenue money Information about resellers. Reseller's annual revenue. Information about resellers. Reseller's annual revenue. $1,200,000.00
DimReseller YearOpened int Information about resellers. Year the reseller opened for business. Information about resellers. Year the reseller opened for business. 2018
DimSalesReason SalesReasonKey int Reasons for sales transactions. Primary key for the sales reason dimension. Reasons for sales transactions. Primary key for the sales reason dimension. 1
DimSalesReason SalesReasonAlternateKey int Reasons for sales transactions. Alternate key for the sales reason. Reasons for sales transactions. Alternate key for the sales reason. 1
DimSalesReason SalesReasonName nvarchar(50) Reasons for sales transactions. Name of the sales reason. Reasons for sales transactions. Name of the sales reason. Price
DimSalesReason SalesReasonReasonType nvarchar(50) Reasons for sales transactions. Type or category of the sales reason. Reasons for sales transactions. Type or category of the sales reason. Promotion
DimSalesTerritory SalesTerritoryKey int Sales territory information (region, country, group). Primary key for the sales territory dimension. Sales territory information (region, country, group). Primary key for the sales territory dimension. 1
DimSalesTerritory SalesTerritoryAlternateKey int Sales territory information (region, country, group). Alternate key for the sales territory. Sales territory information (region, country, group). Alternate key for the sales territory. 1
DimSalesTerritory SalesTerritoryRegion nvarchar(50) Sales territory information (region, country, group). Region of the sales territory. Sales territory information (region, country, group). Region of the sales territory. Northwest
DimSalesTerritory SalesTerritoryCountry nvarchar(50) Sales territory information (region, country, group). Country of the sales territory. Sales territory information (region, country, group). Country of the sales territory. United States
DimSalesTerritory SalesTerritoryGroup nvarchar(50) Sales territory information (region, country, group). Group or category of the sales territory. Sales territory information (region, country, group). Group or category of the sales territory. North America
DimSalesTerritory SalesTerritoryImage varbinary(max) Sales territory information (region, country, group). Image or map of the sales territory. Sales territory information (region, country, group). Image or map of the sales territory. (Binary data)
DimScenario ScenarioKey int Different financial scenarios (e.g., Budget, Actual, Forecast). Primary key for the scenario dimension. Different financial scenarios (e.g., Budget, Actual, Forecast). Primary key for the scenario dimension. 1
DimScenario ScenarioName nvarchar(50) Different financial scenarios (e.g., Budget, Actual, Forecast). Name of the financial scenario. Different financial scenarios (e.g., Budget, Actual, Forecast). Name of the financial scenario. Actual
FactAdditionalInternationalProductDescription ProductKey int Supplemental product descriptions in various languages. Foreign key to DimProduct. Links the description to a product. Supplemental product descriptions in various languages. Foreign key to DimProduct. Links the description to a product. 45678
FactAdditionalInternationalProductDescription CultureName nvarchar(50) Supplemental product descriptions in various languages. Locale or language of the description (e.g.,"fr-FR" for French - France). Supplemental product descriptions in various languages. Locale or language of the description (e.g.,"fr-FR" for French - France). de-DE
FactAdditionalInternationalProductDescription ProductDescription nvarchar(max) Supplemental product descriptions in various languages. Product description in the specified language. Supplemental product descriptions in various languages. Product description in the specified language. Beschreibung des Produkts auf Deutsch.
FactCallCenter FactCallCenterID int Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Primary key for the FactCallCenter table. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Primary key for the FactCallCenter table. 123456
FactCallCenter DateKey int Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Foreign key to DimDate. Date of the call center activity. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Foreign key to DimDate. Date of the call center activity. 20240724
FactCallCenter WageType nvarchar(15) Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Type of wage (e.g., Hourly, Salary). Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Type of wage (e.g., Hourly, Salary). Hourly
FactCallCenter Shift nvarchar(20) Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Work shift (e.g., Morning, Evening). Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Work shift (e.g., Morning, Evening). Morning
FactCallCenter LevelOneOperators smallint Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of level 1 operators. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of level 1 operators. 5
FactCallCenter LevelTwoOperators smallint Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of level 2 operators. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of level 2 operators. 2
FactCallCenter TotalOperators smallint Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Total number of operators. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Total number of operators. 7
FactCallCenter Calls int Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of calls received. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of calls received. 100
FactCallCenter AutomaticResponses int Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of calls handled by automated systems. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of calls handled by automated systems. 20
FactCallCenter Orders int Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of orders taken. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of orders taken. 30
FactCallCenter IssuesRaised smallint Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of issues raised by customers. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Number of issues raised by customers. 10
FactCallCenter AverageTimePerIssue smallint Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Average time spent per issue (in minutes). Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Average time spent per issue (in minutes). 5
FactCallCenter ServiceGrade float Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Service grade or satisfaction score. Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Service grade or satisfaction score. 4.5
FactCallCenter Date datetime Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Date and time of the call center activity (redundant, as DateKey provides the date). Call center operational metrics like number of operators, calls handled, orders taken, and service grades. Date and time of the call center activity (redundant, as DateKey provides the date). 7/24/2024 9:00
FactCurrencyRate CurrencyKey int Stores currency exchange rates over time. Essential for converting sales data to a common currency. Foreign key to DimCurrency. The currency for which the rate is given. Stores currency exchange rates over time. Essential for converting sales data to a common currency. Foreign key to DimCurrency. The currency for which the rate is given. 100
FactCurrencyRate DateKey int Stores currency exchange rates over time. Essential for converting sales data to a common currency. Foreign key to DimDate. The date of the exchange rate. Stores currency exchange rates over time. Essential for converting sales data to a common currency. Foreign key to DimDate. The date of the exchange rate. 20240724
FactCurrencyRate AverageRate float Stores currency exchange rates over time. Essential for converting sales data to a common currency. Average exchange rate for the day. Stores currency exchange rates over time. Essential for converting sales data to a common currency. Average exchange rate for the day. 1.1
FactCurrencyRate EndOfDayRate float Stores currency exchange rates over time. Essential for converting sales data to a common currency. End-of-day exchange rate. Stores currency exchange rates over time. Essential for converting sales data to a common currency. End-of-day exchange rate. 1.11
FactCurrencyRate Date datetime Stores currency exchange rates over time. Essential for converting sales data to a common currency. Date and Time. Redundant as it is covered by DateKey Stores currency exchange rates over time. Essential for converting sales data to a common currency. Date and Time. Redundant as it is covered by DateKey 7/24/2024
FactFinance FinanceKey int Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Primary key for the finance fact table. Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Primary key for the finance fact table. 98765
FactFinance DateKey int Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimDate. The date of the financial transaction. Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimDate. The date of the financial transaction. 20240723
FactFinance OrganizationKey int Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimOrganization. The organization associated with the transaction. Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimOrganization. The organization associated with the transaction. 321
FactFinance DepartmentGroupKey int Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimDepartmentGroup. The department group associated with the transaction. Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimDepartmentGroup. The department group associated with the transaction. 10
FactFinance ScenarioKey int Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimScenario. The financial scenario (Budget, Actual, Forecast). Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimScenario. The financial scenario (Budget, Actual, Forecast). 1
FactFinance AccountKey int Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimAccount. The account associated with the transaction. Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Foreign key to DimAccount. The account associated with the transaction. 123
FactFinance Amount float Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. The monetary amount of the transaction. Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. The monetary amount of the transaction. 1000
FactFinance Date datetime Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Date of the financial transaction (redundant, see DateKey). Financial data, likely related to budgeting, actuals, and forecasting, broken down by organization, department, scenario, account, and date. Date of the financial transaction (redundant, see DateKey). 7/23/2024
FactInternetSales ProductKey int Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimProduct. Product sold. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimProduct. Product sold. 45678
FactInternetSales OrderDateKey int Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimDate. Order date. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimDate. Order date. 20240722
FactInternetSales DueDateKey int Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimDate. Due date. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimDate. Due date. 20240822
FactInternetSales ShipDateKey int Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimDate. Ship date. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimDate. Ship date. 20240726
FactInternetSales CustomerKey int Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimCustomer. Customer who placed the order. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimCustomer. Customer who placed the order. 1234
FactInternetSales PromotionKey int Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimPromotion. Promotion applied to the order. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimPromotion. Promotion applied to the order. 1234
FactInternetSales CurrencyKey int Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimCurrency. Currency of the transaction. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimCurrency. Currency of the transaction. 100
FactInternetSales SalesTerritoryKey int Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimSalesTerritory. Sales territory where the order originated. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Foreign key to DimSalesTerritory. Sales territory where the order originated. 1
FactInternetSales SalesOrderNumber nvarchar(20) Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Unique sales order number. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Unique sales order number. SO12345
FactInternetSales SalesOrderLineNumber tinyint Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Line number within the sales order. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Line number within the sales order. 1
FactInternetSales RevisionNumber tinyint Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Revision number of the sales order. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Revision number of the sales order. 0
FactInternetSales OrderQuantity smallint Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Quantity of products ordered. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Quantity of products ordered. 2
FactInternetSales UnitPrice money Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Unit price of the product. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Unit price of the product. $250.00
FactInternetSales ExtendedAmount money Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Extended amount (UnitPrice * OrderQuantity). Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Extended amount (UnitPrice * OrderQuantity). $500.00
FactInternetSales UnitPriceDiscountPct float Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Percentage discount applied to the unit price. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Percentage discount applied to the unit price. 0.05
FactInternetSales DiscountAmount float Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Discount amount. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Discount amount. $25.00
FactInternetSales ProductStandardCost money Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Standard cost of the product. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Standard cost of the product. $200.00
FactInternetSales TotalProductCost money Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Total cost of the products (ProductStandardCost * OrderQuantity). Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Total cost of the products (ProductStandardCost * OrderQuantity). $400.00
FactInternetSales SalesAmount money Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Sales amount after discounts. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Sales amount after discounts. $475.00
FactInternetSales TaxAmt money Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Tax amount. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Tax amount. $30.00
FactInternetSales Freight money Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Freight or shipping cost. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Freight or shipping cost. $15.00
FactInternetSales CarrierTrackingNumber nvarchar(25) Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Tracking number from the shipping carrier. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Tracking number from the shipping carrier. 1Z9999999999999999
FactInternetSales CustomerPONumber nvarchar(25) Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Customer's purchase order number. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Customer's purchase order number. PO1234
FactInternetSales OrderDate datetime Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Date and time the order was placed. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Date and time the order was placed. 7/22/2024 10:00
FactInternetSales DueDate datetime Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Date and time the order is due. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Date and time the order is due. 8/22/2024 10:00
FactInternetSales ShipDate datetime Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Date and time the order was shipped. Sales data from online channels. Includes details like order quantity, unit price, discounts, and associated costs. Key measures are sales amount, tax, and freight. Date and time the order was shipped. 7/26/2024 12:00
FactInternetSalesReason SalesOrderNumber nvarchar(20) Links sales orders to reasons for the sale (e.g., promotion, return, etc.). Foreign key to FactInternetSales. Sales order number. Links sales orders to reasons for the sale (e.g., promotion, return, etc.). Foreign key to FactInternetSales. Sales order number. SO12345
FactInternetSalesReason SalesOrderLineNumber tinyint Links sales orders to reasons for the sale (e.g., promotion, return, etc.). Foreign key to FactInternetSales. Line number within the sales order. Links sales orders to reasons for the sale (e.g., promotion, return, etc.). Foreign key to FactInternetSales. Line number within the sales order. 1
FactInternetSalesReason SalesReasonKey int Links sales orders to reasons for the sale (e.g., promotion, return, etc.). Foreign key to DimSalesReason. Reason for the sale. Links sales orders to reasons for the sale (e.g., promotion, return, etc.). Foreign key to DimSalesReason. Reason for the sale. 1
FactProductInventory ProductKey int Tracks product inventory levels over time. Contains units in, units out, and balance. Foreign key to DimProduct. Product in inventory. Tracks product inventory levels over time. Contains units in, units out, and balance. Foreign key to DimProduct. Product in inventory. 45678
FactProductInventory DateKey int Tracks product inventory levels over time. Contains units in, units out, and balance. Foreign key to DimDate. Date of the inventory movement. Tracks product inventory levels over time. Contains units in, units out, and balance. Foreign key to DimDate. Date of the inventory movement. 20240724
FactProductInventory MovementDate date Tracks product inventory levels over time. Contains units in, units out, and balance. Date of the inventory movement (should match the DateKey). Tracks product inventory levels over time. Contains units in, units out, and balance. Date of the inventory movement (should match the DateKey). 7/24/2024
FactProductInventory UnitCost money Tracks product inventory levels over time. Contains units in, units out, and balance. Unit cost of the product. Tracks product inventory levels over time. Contains units in, units out, and balance. Unit cost of the product. $150.00
FactProductInventory UnitsIn int Tracks product inventory levels over time. Contains units in, units out, and balance. Number of units received into inventory. Tracks product inventory levels over time. Contains units in, units out, and balance. Number of units received into inventory. 100
FactProductInventory UnitsOut int Tracks product inventory levels over time. Contains units in, units out, and balance. Number of units shipped out of inventory. Tracks product inventory levels over time. Contains units in, units out, and balance. Number of units shipped out of inventory. 50
FactProductInventory UnitsBalance int Tracks product inventory levels over time. Contains units in, units out, and balance. Current balance of units in inventory. Tracks product inventory levels over time. Contains units in, units out, and balance. Current balance of units in inventory. 500
FactResellerSales ProductKey int Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimProduct. Product sold. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimProduct. Product sold. 75315
FactResellerSales OrderDateKey int Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimDate. Date of the order. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimDate. Date of the order. 20231225
FactResellerSales DueDateKey int Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimDate. Due date of the order. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimDate. Due date of the order. 20240125
FactResellerSales ShipDateKey int Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimDate. Date the order was shipped. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimDate. Date the order was shipped. 20231229
FactResellerSales ResellerKey int Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimReseller. Reseller who made the sale. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimReseller. Reseller who made the sale. 4242
FactResellerSales EmployeeKey int Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimEmployee. Employee who managed the sale. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimEmployee. Employee who managed the sale. 12345
FactResellerSales PromotionKey int Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimPromotion. Promotion applied to the order. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimPromotion. Promotion applied to the order. 7890
FactResellerSales CurrencyKey int Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimCurrency. Currency of the transaction. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimCurrency. Currency of the transaction. 100
FactResellerSales SalesTerritoryKey int Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimSalesTerritory. Sales territory where the order occurred. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Foreign Key to DimSalesTerritory. Sales territory where the order occurred. 5
FactResellerSales SalesOrderNumber nvarchar(20) Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Unique sales order number. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Unique sales order number. RSO65432
FactResellerSales SalesOrderLineNumber tinyint Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Line number within the sales order. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Line number within the sales order. 1
FactResellerSales RevisionNumber tinyint Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Revision number of the sales order. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Revision number of the sales order. 1
FactResellerSales OrderQuantity smallint Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Number of units ordered. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Number of units ordered. 5
FactResellerSales UnitPrice money Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Price per unit. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Price per unit. $500.00
FactResellerSales ExtendedAmount money Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Total amount for the line item (UnitPrice * OrderQuantity). Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Total amount for the line item (UnitPrice * OrderQuantity). $2,500.00
FactResellerSales UnitPriceDiscountPct float Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Discount percentage applied to the unit price. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Discount percentage applied to the unit price. 0.1
FactResellerSales DiscountAmount float Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Amount of the discount. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Amount of the discount. $250.00
FactResellerSales ProductStandardCost money Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Standard cost of the product. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Standard cost of the product. $300.00
FactResellerSales TotalProductCost money Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Total cost of the products (ProductStandardCost * OrderQuantity). Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Total cost of the products (ProductStandardCost * OrderQuantity). $1,500.00
FactResellerSales SalesAmount money Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Total sales amount after discounts. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Total sales amount after discounts. $2,250.00
FactResellerSales TaxAmt money Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Tax amount on the sale. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Tax amount on the sale. $150.00
FactResellerSales Freight money Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Freight or shipping cost. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Freight or shipping cost. $50.00
FactResellerSales CarrierTrackingNumber nvarchar(25) Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Tracking number from the shipping carrier. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Tracking number from the shipping carrier. 1Z8888888888888888
FactResellerSales CustomerPONumber nvarchar(25) Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Customer's purchase order number. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Customer's purchase order number. PO54321
FactResellerSales OrderDate datetime Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Date and time of the order. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Date and time of the order. 12/25/2023 8:00
FactResellerSales DueDate datetime Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Date and time the order is due. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Date and time the order is due. 1/25/2024 8:00
FactResellerSales ShipDate datetime Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Date and time the order was shipped. Sales data from reseller channels, similar to FactInternetSales but includes the employee involved in the sale. Date and time the order was shipped. 12/29/2023 10:00
FactSalesQuota SalesQuotaKey int Stores sales quotas for employees by date and time period. Primary key for the sales quota fact table. Stores sales quotas for employees by date and time period. Primary key for the sales quota fact table. 1000
FactSalesQuota EmployeeKey int Stores sales quotas for employees by date and time period. Foreign key to DimEmployee. Employee for whom the quota is set. Stores sales quotas for employees by date and time period. Foreign key to DimEmployee. Employee for whom the quota is set. 12345
FactSalesQuota DateKey int Stores sales quotas for employees by date and time period. Foreign key to DimDate. Date of the sales quota. Stores sales quotas for employees by date and time period. Foreign key to DimDate. Date of the sales quota. 20240101
FactSalesQuota CalendarYear smallint Stores sales quotas for employees by date and time period. Calendar year for the quota. Stores sales quotas for employees by date and time period. Calendar year for the quota. 2024
FactSalesQuota CalendarQuarter tinyint Stores sales quotas for employees by date and time period. Calendar quarter for the quota. Stores sales quotas for employees by date and time period. Calendar quarter for the quota. 1
FactSalesQuota SalesAmountQuota money Stores sales quotas for employees by date and time period. Sales amount quota. Stores sales quotas for employees by date and time period. Sales amount quota. $100,000.00
FactSalesQuota Date datetime Stores sales quotas for employees by date and time period. Date of the sales quota (redundant, see DateKey). Stores sales quotas for employees by date and time period. Date of the sales quota (redundant, see DateKey). 1/1/2024
FactSurveyResponse SurveyResponseKey int Captures customer survey responses related to product categories and subcategories. Primary key for the survey response fact table. Captures customer survey responses related to product categories and subcategories. Primary key for the survey response fact table. 54321
FactSurveyResponse DateKey int Captures customer survey responses related to product categories and subcategories. Foreign key to DimDate. Date of the survey response. Captures customer survey responses related to product categories and subcategories. Foreign key to DimDate. Date of the survey response. 20240720
FactSurveyResponse CustomerKey int Captures customer survey responses related to product categories and subcategories. Foreign key to DimCustomer. Customer who provided the response. Captures customer survey responses related to product categories and subcategories. Foreign key to DimCustomer. Customer who provided the response. 1234
FactSurveyResponse ProductCategoryKey int Captures customer survey responses related to product categories and subcategories. Foreign key to DimProductCategory. Product category related to the survey. Captures customer survey responses related to product categories and subcategories. Foreign key to DimProductCategory. Product category related to the survey. 1
FactSurveyResponse EnglishProductCategoryName nvarchar(50) Captures customer survey responses related to product categories and subcategories. Name of the product category (English). Redundant, should be derived from DimProductCategory. Captures customer survey responses related to product categories and subcategories. Name of the product category (English). Redundant, should be derived from DimProductCategory. Bikes
FactSurveyResponse ProductSubcategoryKey int Captures customer survey responses related to product categories and subcategories. Foreign key to DimProductSubcategory. Product subcategory related to the survey. Captures customer survey responses related to product categories and subcategories. Foreign key to DimProductSubcategory. Product subcategory related to the survey. 2
FactSurveyResponse EnglishProductSubcategoryName nvarchar(50) Captures customer survey responses related to product categories and subcategories. Name of the product subcategory (English). Redundant, should be derived from DimProductSubcategory. Captures customer survey responses related to product categories and subcategories. Name of the product subcategory (English). Redundant, should be derived from DimProductSubcategory. Road Bikes
FactSurveyResponse Date datetime Captures customer survey responses related to product categories and subcategories. Date of the survey response (redundant, see DateKey). Captures customer survey responses related to product categories and subcategories. Date of the survey response (redundant, see DateKey). 7/20/2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment