Before things became even more complicated.
Before the Python scripts, GitHub repositories and Streamlit applications, there was Excel. And shortly after that, Power BI.
By then, I had already spent a few years recording my personal finances through journal entries, a general ledger and a set of financial statements. Excel did a respectable job of keeping everything in order. It could tell me how much I had earned, spent, saved, and occasionally wasted.
The problem was that spreadsheets, despite being very good at storing numbers, aren’t particularly enthusiastic about showing you the bigger picture.
So I started experimenting with Power BI.
The idea was straightforward enough: take the accounting data I had already prepared, connect it to a reporting model, and turn the numbers into something more interesting to look at.
Soon there were dashboards, monthly comparisons, expense breakdowns, and tree diagrams showing how money moved from income to expenses, and how time was spent.
It was quite satisfying to see several years of transactions suddenly appear as a few colourful charts. Whether the charts justified the amount of time spent building them was another question.
Eventually, I published the Power BI reports on my personal website. For the first time, my financial records could be explored through a browser rather than an Excel workbook.
Of course, that didn’t last as the final version.
I wanted more flexible interactions, more control over the calculations, and better ways to explore individual transactions. So the project gradually moved towards Python, Plotly and Streamlit.
Still, Power BI deserves its place here. It was the first time I saw my accounting records turn into something that felt like an actual application.
Below is the earlier dashboard, preserved as part of the project’s history.
It still works. Which is more than I can say for some of my earlier ideas.
个人财务可视化系统——Power BI 时期
在事情变得更加复杂之前。
在 Python、GitHub 和 Streamlit 出现之前,最开始只有 Excel。后来又多了 Power BI。
那时候,我已经用 Excel 记了几年账。从会计分录到总账,再到资产负债表、利润表和现金流量表,基本建立起了一套完整的个人财务记录体系。
Excel 的表现一直不错。它可以告诉我赚了多少钱,花了多少钱,存下多少钱,以及有多少钱花得现在想起来多少有点莫名其妙。
只是表格看得多了,总觉得还缺点什么。
于是我开始研究 Power BI。
最初的想法很简单:既然数据已经整理好了,不如把它们连起来,做几个能交互的图表。这样既能查看不同月份的财务状况,也能看看收入、支出、储蓄和投资之间究竟是什么关系。
后来就有了各种报表、月度对比、费用分类,以及……时间流向,饮食分布。
几年积累下来的流水,最后变成屏幕上的几张彩色图表,确实挺有成就感。再后来,我把 Power BI 报表嵌入了自己的个人网站。这样一来,终于可以不用每次都打开 Excel,也能在浏览器里查看自己的财务情况。
本来以为做到这里就差不多了。
但用着用着,又想增加更灵活的筛选、更细致的交易明细,以及一些 Power BI 当时没能完全满足我要求的交互方式。于是开始接触 Python、Plotly 和 Streamlit,慢慢把这个系统搬到了新的平台上。
不过,我还是想把这个版本留在这里。
毕竟,这是我第一次真正把自己的会计记录变成一个可以在网页上操作的东西。
下面保留的是当时的 Power BI 报表。