Sales Management Customer Relationship Human Resources Business Performance BI & Data Quality IT Tools & Vendors

Sign-in   Register
Establishing 'Making it Happen' as a 'Formal & Predictable' Discipline
Principles and Rules Listing Page

Aggregation Queries on slowly changing Dimensions

There are various ways to have the aggregate queries on dimensional tables. However, one needs to have some other tricks for slowly changing dimensions.
 
This page of 'Principles and Rules' is linked to:  Data Warehousing, Data Analysis/OLAP, BI platform Tools Evaluation,

Refer to Slowly Changing Dimensions and Dimensional Model schema for a context.

There are many aggregate queries done on dimensional tables, like number of customers using a given product, or number of offices selling through third party channels, or number of sales agents who have joined in last 12 months.

This is easy if the dimensional attribute over which the query is done is not a slowly changing dimension. For example, the count of customers who were belonging to a given location/state, or count of "inactive" customers in a given month, quarter, date.

One way is:

Build Status_begin_date and status_end_date for a given attribute change in the dimensional table. For example you can have the begin-date and end-date for a customer status (active or inactive). If you run a query on the number of customers who were active on May 31, 2006, the query will filter out all the records where the "customer status" is "Active" and where the begin_date <= May 31, 2006 and end_date is >= May 31. With the above logic, you have to make sure that every time an attribute changes, a new record is created for the gives dimension..The begin date has to be one day+ status_end_date of the previous record. This is essentially the slowly changing dimension (method 2).


Quick Feedback- Was this information helpful ?
Relevant Links to this page
Principles & Rules → Add extra buffer for ETL phase → Principles & Rules → Homework before interviews is must (Business Requirements Phase in Data Warehouse) → Principles & Rules → Excel is the competition, which should be challenged → Principles & Rules → Avoid Pure MOLAP → Practice Techniques → Field Tips Series- Streamlining & Cost-Reduction in Business Intelligence- Consolidate Data-Marts → Practice Techniques → Field Tips Series- Streamlining & Cost-Reduction in Business Intelligence- Licensing & Maintenance Contracts → Practice Techniques → Field Tips Series- Streamlining & Cost-Reduction in Business Intelligence- Governance & Standards → Practice Techniques → Field Tips Series- Streamlining & reducing cost of Business Intelligence- Evaluate Open Source → Principles & Rules → Master Data Management- Making a Right Start → Practice Techniques → How to integrate stand-alone BI environments- Gradual Approach → Principles & Rules → Business owned applications are a reality- Manage it → Principles & Rules → New Data Standards- What about existing data and applications? → Principles & Rules → Handle Each Time-stamp in the Fact Table as a separate dimension → Principles & Rules → Keep Aggregates and Details data in different Fact tables → Principles & Rules → Some considerations for Infrastructure in Data Warehouse → Principles & Rules → For Core BI platform go for a single, established and robust player → Principles & Rules → Don't be guided only by the business requirements for your Business Intelligence → Practice Techniques → Using Synonyms and Views → 
 
Back
 
Relevant links to this page
Add extra buffer for ETL phase
Homework before interviews is must (Business Requirements Phase in Data Warehouse)
Excel is the competition, which should be challenged
Avoid Pure MOLAP
Field Tips Series- Streamlining & Cost-Reduction in Business Intelligence- Consolidate Data-Marts
Field Tips Series- Streamlining & Cost-Reduction in Business Intelligence- Licensing & Maintenance Contracts
Field Tips Series- Streamlining & Cost-Reduction in Business Intelligence- Governance & Standards
Field Tips Series- Streamlining & reducing cost of Business Intelligence- Evaluate Open Source
Master Data Management- Making a Right Start
How to integrate stand-alone BI environments- Gradual Approach
Business owned applications are a reality- Manage it
New Data Standards- What about existing data and applications?
Handle Each Time-stamp in the Fact Table as a separate dimension
Keep Aggregates and Details data in different Fact tables
Some considerations for Infrastructure in Data Warehouse
For Core BI platform go for a single, established and robust player
Don't be guided only by the business requirements for your Business Intelligence
Using Synonyms and Views
Additional Channels
Principles & Rules
Free Templates
Glossary
Key Performance Indicators

Most Popular Zones with list of pages crossing 25000 hits  →→→ 
Maximising Sales Performance
Sales Channel Partner Acquisition
telemarketing Sales Lead Generation
Sales representation and experience
Sales product Mix Profitability
Sales Compensation Analysis
Read more...
  Customer Relationship Management
Customer Segmentation Parameters
Exit barriers for Customer Retention
Customer Segmentation approach
Customer Segmentation Data Management
Customer Value and Profitability Data Management
Read more...
  Human Resources & Leadership
Roles and Level based Competency Segregation
Develop Self and Others
Maximize the output first and then the potential
Strategic Business Plan
Competencies Definitions
Read more...
 
 
Business Performance & Planning
Individual goal Sheet
Dashboard Health Checklist
External Info Assessment Report
Scorecards need manual finish
Financial Business Plan
Read more...
  Business Intelligence & Data Quality
Data Warehouse Business Requirements Gathering Phase
Normalization in Dimensional modeling
Data Management Stake-holding Matrix
Customer Data Augmentation and Enrichment
Data Quality Policy
Read more...
  IT Vendors & Tools Management
OLAP Dimensional Model Tuning
Data Profiling and Monitoring
Vendor Company structure Evaluation
OLAP Scalability
Data Quality Tools Integration
Read more...