Data Warehousing and Machine Learning

Content of This Blog

Data Warehousing

  1. Modern Data Warehouse
  2. Why Data Lake
  3. Data Warehouse for Asset Management
  4. Data Warehouse Data Modelling
  5. Star Schema or Snowflake
  6. Using a Data Warehouse for CRM
  7. Why do we need a data warehouse?
  8. Data Warehousing Interview with Astera
  9. Loading Late Arriving Dimension Rows
  10. Late Data Warehouse Loading
  11. Big Volume Data Warehouse
  12. Junk Dimension Revisited
  13. Transactional Fact Table
  14. Rating Dimension
  15. Numerical Attributes
  16. Day Measures
  17. One or Two Fact Tables
  18. One or Two Dimensions
  19. A dimension with only one attribute
  20. Storing Percentage Measure in the Fact Table
  21. Primary Key in Accumulating Snapshot Fact Tables
  22. Join Brings More Rows
  23. Normalised Data Warehouse (1)
  24. Normalised Data Warehouse (2)
  25. Disk Space in Data Warehousing
  26. Why a 400 GB Data Warehouse Requires 20 TB of Disks
  27. Reasons for Creating a Data Mart from a Data Warehouse
  28. Creating a Data Mart from a Data Warehouse: Four Questions
  29. Data type of Is_Current Flag column
  30. Transaction Dimension
  31. Data Warehousing and Business Intelligence
  32. SQL 2008 Data Warehousing Features
  33. SQL 2008 DW Features (Presentation at Microsoft)
  34. Parallel Data Warehouse (what a clever name)
  35. Change Tracking in SQL Server Data Warehousing
  36. Change Data Capture in SQL Server Data Warehousing
  37. Merge Statement in SQL Server Data Warehousing
  38. Bitmap Filter (Star Join Query Optimisation)
  39. Primary Key and Clustered Index on the Fact Table
  40. Impact of Clustering the Fact Key to Query Performance
  41. Standardising Entity and Column Names
  42. General Performance Considerations for “INSERT SELECT”
  43. Preserving the History of the Facts
  44. Data Warehousing Interview Questions (2)
  45. Data Warehousing Books
  46. Normalising a Fact Table
  47. Denormalising a Fact Table
  48. Mixed Grain Fact Table
  49. Non Aggregatable Measure
  50. A Measure or An Attribute
  51. Putting Higher Grain Attributes into a Separate Dimension
  52. Time Dimension
  53. The Primary Key of a Fact Table with the Grain the same as a Dimension
  54. When To Snowflake
  55. Dimensions with Multi Value Attributes
  56. The Word “Fact” – Terminology Clarification
  57. Measures on a Dimension Tables
  58. How To Deal With Status
  59. Linking 2 Fact Tables
  60. Data Warehousing Books
  61. Data Architect, Data Warehouse Architect and BI Solution Architect
  62. Storing History on 3rd Normal Form (3NF)
  63. Building a Data Warehouse at the Same Time as the Operational System
  64. Stored Procedure vs ETL Tool
  65. ETL and Data Integration
  66. IIS in Data Warehousing
  67. Where To Put an Attribute (DW)
  68. Reviewing a Dimensional Model
  69. Who’s Who in Data Warehousing
  70. Differences between Data Warehousing and BI
  71. Role of a DW Designer/Dimensional Modeller in the ETL Development Phase of a DW/BI Project
  72. Data Sourcing
  73. Slowly Changing Dimension (SCD) Type 0
  74. Bridge Table with Multiple Instances
  75. Bridge Table with Date
  76. Populating Unknown Measure with a Zero or NULL
  77. Expiry Date column in SCD Type 2 Dimension
  78. Using Accumulated Snapshot Fact Table to Monitor Status
  79. SCD Type 2 – Initialising a New Attribute
  80. A Data Warehouse Must Always Reflect the Values in the Source System
  81. UNK in Data Warehousing
  82. Top 2 things I missed in SQL Server and Oracle
  83. Two Methods of Reporting
  84. Wherescape RED
  85. Testing Your Data Warehouse
  86. The Principle of “Do It Upstream” in Data Warehousing
  87. Updating Past Data
  88. When is a number not a measure?
  89. Parent SK in the Fact Table
  90. City and Rank
  91. Effective and Expiry Dates in Type 2 Dimensions
  92. Adding a New Attribute and Measure
  93. Name of Surrogate Key Columns
  94. Data Type Changes in the Source System
  95. A Data Warehouse with no Surrogate Keys
  96. System Interfaces Contract
  97. Month Attributes in the Date Dimension
  98. Delete Takes A Long Time
  99. Fact or Dimension
  100. Not All Surrogate Keys Define the Fact Table Grain
  101. Hadoop in Data Warehousing
  102. Data Warehouse vs Data Virtualisation
  103. Delete All Rows in Dimension Table
  104. The Main Weakness of Snowflake Schema
  105. Initial Data Load
  106. Why Do We Need a Data Warehouse?
  107. Seven Methods of Data Integration
  108. Building a Data Warehouse and BI on Low Budget
  109. Dedup
  110. Banding and Grouping in Data Warehousing
  111. Connecting Fact Tables
  112. Real Time Data Warehouse
  113. Data Extraction Method
  114. Populating Fact Tables
  115. Estimating the Size of Dimension and Fact Tables
  116. Indexing Fact Tables in SQL Server
  117. Flip Flopping in Dimension Tables
  118. Indexing Fact Tables
  119. Measure or Attribute
  120. DimMonth, DimQuarter and DimYear
  121. The ABC of Data Warehousing
  122. Accumulative Snapshot Fact Table
  123. Six Dimension Types
  124. Dimodelo
  125. Effektor
  126. Instrument Dimension
  127. Investment Performance
  128. Data Sourcing

Data Architecture

  1. Code Decode Table
  2. Responsibilities of Data Architects
  3. Varchar(255)
  4. Physical Data Modelling (PDM)
  5. Painful-to-Retrieve Data Structures
  6. Distinct-Attribute Rows in Dimension Tables
  7. 3 Things in Date Dimension
  8. EAV Fact Tables
  9. Data Types for Common Columns
  10. Data Interface (How to Manage a DW Project)
  11. The Problem with Data Quality
  12. Different Measures for Different Products
  13. Data Lake vs Data Warehouse
  14. Definition of Big Data and Data Warehousing
  15. Choosing between Big Data and Data Warehousing
  16. Hierarchy with Multiple Parents
  17. Relational vs Non Relational Databases
  18. Data Type
  19. Data Files – Delimiter and Qualifier

SQL Server

  1. Find Which Partitioning Function Is Used by a Table
  2. Select count(*) For a Very Big Table
  3. SQL Server Editions
  4. Copy a Table
  5. Informatica Metadata Manager Can Now Read SSAS Cubes and SSRS Reports Metadata
  6. How Long Did It Run?
  7. Class Does Not Support Aggregation
  8. SQL Server 2008 Backup Compression
  9. The Database Does Not Have a Valid Owner
  10. Using Pivot for 2 Value Columns
  11. Q&A on: Resizing TempDB
  12. Editions and Prices of Visual Studio 2010
  13. Creating Test Data on SQL Server 2008
  14. Updating a Table Based on Itself
  15. Collation Conflict When Querying a Linked Server
  16. Inserting Multiple Rows in One SQL Statement
  17. T-SQL: Exists versus In
  18. T-SQL: Exists versus In – Performance Comparison
  19. Null in Date Column
  20. LINQ2SQL and TSQL and CLR
  21. Concat NULL Yields NULL
  22. Make yourself sysadmin on SQL 2008 Express
  23. Formatting Dates in SQL Server 2012
  24. Data Consistency in Oracle and SQL Server
  25. SQL Server 2014 Installation
  26. SQL Server Scripts Library
  27. Temporal Tables in SQL Server 2016
  28. Alt Key in SSMS
  29. U-SQL
  30. About NOLOCK
  31. Column Store Index
  32. What’s in Azure?

Business Intelligence

  1. Reporting and Analytics
  2. Current Trend in Business Intelligence
  3. Where To Store The Business Logic
  4. Microsoft BI Books
  5. Data Warehousing & BI Companies
  6. How to Choose the Right BI Technology to Suit Your Style
  7. SAP Hana, an in-Memory Database
  8. Business Objects Voyager (SAP BO Analysis)
  9. What is Big Data, Data Warehouse, Data Mining
  10. Tibco Spotfire
  11. Composite
  12. The 5 Stages of DWBI Journey
  13. iDashboard
  14. Using BI Tools as ETL Tools

Oracle BI

  1. Comparing Oracle 11g OLAP Option and SSAS
  2. Introduction to Oracle BI for MS BI Developer
  3. Oracle ETL Tools
  4. Bit and Pieces on Oracle
  5. Difference Between CURRENT_DATE and SYSDATE

Machine Learning

  1. Which Machine Learning Algorithm Should I Use?
  2. The Trick in Understanding Human Language
  3. Why Linear Regression is so hard
  4. Logistic Regression with PCA in Python
  5. Linear Regression in Python
  6. Handling Class Imbalance
  7. Natural Language Processing (NLP)
  8. Learning Machine Learning with Upgrad
  9. What is Convolution?
  10. What is Convolutional Neural Network (CNN)?
  11. What is CNN? (Part 2)
  12. Recurrent Neural Network (RNN) and LSTM
  13. RNN Applications
  14. Reinforcement Learning
  15. Ensembles – Odd and Even
  16. SVM with RBF Kernel
  17. Tokeniser
  18. Entropy and Information Gain in Decision Tree
  19. Can Machine Learning replace BI?
  20. Building a Neural Network
  21. Andrew Ng’s Machine Learning Course
  22. Andrew Ng’s Deep Learning Course
  23. What Machine Learning Can Be Used For
  24. What is Data Science?
  25. Data Scientist
  26. BI vs Data Science

Python by example

  1. Turtle
  2. Python: String and Array
  3. Python: List, Tuple, Dictionary, Set
  4. Python: If and For
  5. Python: List comprehension
  6. Python: Function, Lambda, Map, Filter, Reduce
  7. Pandas: Column, data type, group
  8. Plot: Boxplot, barplot, pairplot, heatmap

Analysis Services

  1. Parent Child Dimension
  2. Top 10 Tips: Building Cubes
  3. Top 10 Tips: Cube Testing
  4. The Most Useful SSAS Book
  5. Who’s Who in Analysis Services
  6. Building Cubes From Operational System (SQLBits presentation)
  7. The Unpopular SELECT Statement
  8. Date Dimension in Analysis Services (Part 1)
  9. Date Dimension in Analysis Services (Part 2)
  10. Many-to-Many in Attribute Relationship
  11. SSAS DMV (Dynamic Management View)
  12. SSAS DMV: Join Using DataSet
  13. SSAS DMV Nugget at SQL Server User Group
  14. Optimising Cube Query Performance and Processing Performance
  15. Creating Many Roles in SSAS Cubes
  16. Vertical Fact Table
  17. Creating a Dimension with Multiple Column Key
  18. Scheduled Deploy in SSAS
  19. AMO: Enumerating DSV Tables and Columns
  20. The 4.2 billion tuples limitation in SSAS
  21. Double Click Property Name
  22. Where To Put An Attribute
  23. Attempted to read or write protected memory
  24. Combining DW and ERP Data in SSAS Cubes
  25. Combining DW and ERP Data in SSAS Cubes – 5th Case
  26. Creating a dimension from a large table
  27. Concatenating attributes to form dimension key
  28. What is a cube?
  29. Cube developer
  30. What are cubes bad at?
  31. Using SSAS cubes for reconciliation
  32. Who Are Using The Cube Now?
  33. Who Uses What Cube and When
  34. Taking a cube offline
  35. Comparing Excel 2007 and ProClarity
  36. Qlikview vs PowerPivot: connecting to SSAS cube
  37. PowerPivot
  38. Multi Language Cubes
  39. Cube Translation in Excel 2007
  40. Q&A on: Browsable Folder When Restoring Cubes
  41. Renaming Attribute & Dimension
  42. Aggregate Not Shown
  43. Ratio in SSAS
  44. Updating Partition Source SQL
  45. Parser: The query contains  … parameter, which is not declared
  46. Tuning Cube Processing Performance
  47. SSAS Developer Interview Questions
  48. Q&A on: Impersonation
  49. Parent Child Dimension: extra child node
  50. Ragged Hierarchy in SSAS
  51. Where To Put an Attribute (SSAS)
  52. Many to Many Is Not Always Right
  53. Many to Many: Which Dimension is Used?
  54. Processing ROLAP Cube and ROLAP Dimension
  55. SSAS Videos
  56. Duplicate Attribute Keys in SSAS
  57. The Trio Maestro’s SSAS 2012 Tabular Book
  58. Processing SSAS Cubes using PowerShell
  59. Can I Cluster SSAS? (Minimizing Downtime at Deployment)
  60. 5 Minutes SSAS DBA
  61. SSAS Stops Logging
  62. Process Update of a Dimension
  63. Analysis Services Tabular Model


  1. Sorting
  2. Filter
  3. Existing
  4. Except
  5. Filter on Dates Before Today
  6. Tomislav’s MDX Book
  7. Half Year To Date
  8. Setting Default Date to Last Available Date
  9. Holding History – MDX for “From Date” and “To Date”
  10. Sherry Li and Tomislav’s 2012 MDX Cook Book

Power BI

  1. Power BI Q&A
  2. Dynamic Difference
  3. DAX Studio and DAX Guide
  4. DAX: Percentage of Total and Filter on 2 Columns
  5. A few DAX functions


  1. SSIS: Looping with ADO Enumerator
  2. SSIS: Debugging a Script Component
  3. SSIS: Importing Files – Read the First N Rows
  4. SSIS: Work Flow vs Stored Procedures
  5. SSIS: SQL Server Destination or OLE DB
  6. SSIS: Importing a File with Dynamic Columns
  7. Coming SSIS Articles
  8. SSIS: Export a Query Result to a File
  9. SSIS 2008 Data Profiler
  10. SSIS: Updating a Variable based on Database
  11. SSIS: Updating a Variable based on a File (Script Component)
  12. SSIS: Updating a Variable based on a File (Script Task)
  13. SSIS: Import/Export Files with Variable File Name Set at Run Time
  14. SSIS: True/False and 1/0 on Bit Columns
  15. SSIS: Loading a Big File Fast
  16. SSIS: How to Convert DateTime to Int
  17. SSIS: How to Populate a Fact Table using SSIS (part 1)
  18. SSIS: How to Populate a Fact Table using SSIS (part 2)
  19. SSIS: SCD Wizard Performance Issue
  20. SSIS: Automating DDL Changes
  21. SSIS 2012: Converting Date from Excel for Lookup
  22. Loading a Dimension Table using SSIS
  23. Six Important Features of an ETL Tool
  24. Choosing an ETL Tool
  25. SSIS: Numeric Column Loaded as NULL
  26. Memory for SSIS

Business Knowledge

  1. Layering in Insurance
  2. Bank Data Model
  3. Credit Default Swap (CDS)
  4. Distribution Yield vs Underlying Yield
  5. Treasury in Investment Banking
  6. Off Balance Sheet Items
  7. Securitising Cash Positions
  8. Investment Banking Books for BAs and Developers
  9. Investment Banking
  10. Credit Risk and Market Risk
  11. Asset Management Business Processes and Systems
  12. Domain Knowledge
  13. Historical Portfolio Positioning
  14. Data Warehousing / Business Intelligence for Investment Banking
  15. Swaps and Options
  16. Performance Attribution
  17. Asset Management Companies in the UK


  1. SQLBits 4 Manchester (Data Warehouse Data Modelling)
  2. SQLBits 5 Wales (Building Cubes from Operational Systems)
  3. SQLBits 7 York
  4. 4 Sessions for SQLBits 8 Brighton
  5. SQLBits 8 Brighton (Advanced Dimensional Modelling)
  6. SQLBits 9 Liverpool
  7. SQLBits 10 London
  8. SQL Server User Group Indonesia
  9. SQLBits 12 Telford
  10. SQLBits 15 Liverpool 4-7th May 2016


  1. Wooow.
    What a perfect blog about DW/BI.
    I will check it each month for new changes.
    Good luck.

    Comment by khashayar jamsahar — 29 December 2010 @ 11:21 am | Reply

  2. Hiya! I simply want to give a huge thumbs up for the great info you have got here on this post. I might be coming back to your blog for extra soon.

    Comment by Catheryn Wanczyk — 11 April 2011 @ 6:37 pm | Reply

  3. You have got a really informative blog here… thanks and keep writing…
    I was wondering how did you create this page… manually?

    Comment by theSuda — 17 May 2011 @ 6:41 am | Reply

  4. What an amazing repository for DW/BI issues!! I can’t tell you how grateful I am for you putting all this up for everyone. I will definitely be back for updates. I’m especially interested in using AMO with Powershell and your great examples of SSAS DMVs. I had never heard about it before. Thanks so much again.

    Comment by Reiner — 6 September 2011 @ 1:25 pm | Reply

  5. Very Nice collection about BI, help me alot … thanks

    Comment by neeraj1982 — 1 October 2011 @ 6:10 pm | Reply

  6. Thanks for wonderfull collection

    Comment by cemuney — 6 January 2012 @ 6:09 pm | Reply

  7. A great website!

    Comment by Dez — 28 May 2012 @ 3:33 pm | Reply

  8. I have read your book Dataware house with SQL Server. It realy super!. Thanks for sharing the information

    Comment by Uma — 23 August 2012 @ 5:34 am | Reply

  9. Very good set of articles and examples.
    Thank you.

    Comment by matteo montesi — 29 August 2012 @ 10:45 am | Reply

  10. For details DWH & BI concepts and DWH & sql interview related materials please visit on this link

    Comment by bidevloper — 25 January 2015 @ 12:38 pm | Reply

  11. There is lot information available in this blog about BI and data warehousing. Would follow this blog regularly for any update on Oracle BI side.

    Comment by sourishbanerjee — 31 July 2015 @ 8:27 am | Reply

  12. Always a pleasure to read your blog! Very useful information. Please continue your excellent blog many years…

    Comment by Hennie de Nooijer — 16 January 2017 @ 7:59 am | Reply

  13. Waw…

    Comment by yvonne sumilat — 14 July 2018 @ 4:03 am | Reply

  14. Wow, such a great blog! The blog explained best practice loading DW so clear. Really appreciate your efforts and time for writing this blog!

    Comment by Rose — 15 December 2020 @ 6:04 am | Reply

  15. Nice one.

    Comment by Oriyomi — 25 December 2020 @ 9:48 am | Reply

  16. Hi Vincent! This is probably the best nuts-and-bolts data warehousing blog out there, keep up with great work! I do have one question. In the “Populating Fact Tables” post ( you linked to loading dimension tables blog post but the link is broken ( Do you have a working link, or a backup of the blog post?

    Comment by CuriousOne — 14 August 2021 @ 8:50 pm | Reply

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at