Skip to content

Textual Facts

Although fact tables primarily contain numeric measures, sometimes a fact or measure may have a textual value associated with a specific business event.

Consider the fact table for an Employee Swipe Card log. While an individual card swipe does not generate a numeric quantity to sum, it does produce a specific textual result for that exact moment in time.

swipe_dateswipe_timeemployee_namecard_reader_locationswipe_status
Jan 108:00AliceFront DoorGranted
Jan 108:05BobFront DoorDenied
Jan 108:06BobFront DoorGranted

Here, the swipe_status column is a textual fact because it captures the discrete outcome of a specific event. While you cannot sum this column, it can still be analyzed by counting the occurrences (for example, counting the total number of Granted or Denied swipes).

💡 Textual Fact or Dimension?

The key distinction is what the text value describes. If it describes the outcome or state of a specific business event, it can be modeled as a textual fact. If it describes an entity itself and provides descriptive context for filtering or grouping, it belongs in a dimension table instead.