What is the exact difference between fact-less fact and fact table ? I have perused couple of articles but they weren't cogent
A factless fact table is a fact table that does not have any measures, i.e. any numeric fields that can be aggregated.
For example, if you are modelling product sales, you can have a Sales fact table that will contain the dimension keys and, for example, the "amount" value/measure, to record the amount sold. This allows you to run aggregations on the "amount" field to answer questions like "what's the average sales amount?" or "what was the maximum sales amount?".
However, if the same Sales table does not include the "amount" field, you can only use the table to answer questions like "how many sales did we do?". If the table has keys for the Product and Date dimensions you could answers questions like "how many sales of product X did we have in date Y?".
Factless fact tables are useful when you only care about recording that some event occurred, e.g. for counting occurrences of an event when you don't have or don't need any metrics/measures regarding that event.
I'm not 100% sure, but I think this concept originated from the Kimball methodology.
© 2022 - 2024 — McMap. All rights reserved.