Forum Discussion

tormi's avatar
tormi
Icon for Helper I rankHelper I
3 years ago
Solved

Income and expense: same or separate fact table?

Hi all.   Spending alot of time on videos and training, here and on Google. Still I have issues on deciding on my fact, dimension and relationships planning. My main issue is understanding wether u...
  • lbendlin's avatar
    3 years ago

    In my opinion keeping the fact tables separate (and not directly linking between them) is the cleanest approach. Alternatively you could have a single fact table where you add a "fact type" column with the values of "Income" and "Expense" and then use the appropriate filters.  But that will get messy quickly with larger datasets, especially when the facts are updated with different cadence.

    I think your approach is sound and you should continue with it.