HomeInterview QuestionsWhat are the different types of dimensions that ca…

What are the different types of dimensions that can be used in a data warehouse?

🟡 Medium Conceptual Junior level
1Times asked
Jun 2026Last seen
Jun 2026First seen

💡 Model Answer

In dimensional modeling, dimensions describe the context of facts and are typically categorized into several types:

  1. Conformed Dimensions – shared across multiple fact tables or data marts, ensuring consistent semantics (e.g., a common Date dimension used by sales and inventory facts).
  2. Degenerate Dimensions – derived from a fact table’s primary key or transaction number, often stored as a simple attribute rather than a separate dimension table (e.g., an Order Number in a Sales Fact).
  3. Junk Dimensions – consolidate many low‑cardinality flags or attributes into a single dimension to reduce clutter (e.g., a Junk dimension containing Yes/No flags for various product attributes).
  4. Role‑Playing Dimensions – the same dimension used in different contexts, such as a Date dimension used for Order Date, Ship Date, and Delivery Date.
  5. Slowly Changing Dimensions (SCD) – handle changes over time, with types like SCD‑1 (overwrite), SCD‑2 (historical record), or SCD‑3 (add new attribute).

Choosing the right type depends on business requirements, query patterns, and data governance needs.

This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.

🎤 Get questions like this answered in real-time

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers — invisible to screen sharing.

Get Assisting AI — Starts at ₹500