This page in Notion could be the one where you have your table.

Demo - tracking expenses

Demo - categories and subcategories