Snapshot View
The Snapshot View is a persistent sidebar widget that gives you at-a-glance financial awareness while you work in your notes.
π Featuresβ
File Status Indicatorβ
The status button at the top shows the health of your Beancount file:
- β OK β File is valid, no errors detected
- β N Errors β Click to see a notification with the full error message
- Checkingβ¦ β Validation is in progress
Key Metricsβ
Displays three high-level financial indicators pulled directly from your ledger:
- Net Worth β Total position across all Assets and Liabilities accounts, converted to your Operating Currency
- Assets β Total value of all Assets accounts in your Operating Currency
- Liabilities β Total value of all Liabilities accounts. Positive numbers represent outstanding debt; negative numbers indicate a credit or overpayment
All three values are rounded to 2 decimal places and shown in your configured Operating Currency.
Note: Commodities without price data are excluded from the totals. If you hold stocks or crypto without price directives, only the cash portion will be reflected.
Refresh Buttonβ
Reloads all three KPI values and re-validates the Beancount file on demand.
π Underlying Queriesβ
The Snapshot View uses three typed BQL queries (using your configured Operating Currency, e.g. USD):
Assets:
SELECT round(number(only('USD', convert(sum(position), 'USD'))), 2)
WHERE account ~ '^Assets'
Liabilities (sign-flipped so positive = debt):
SELECT neg(round(number(only('USD', convert(sum(position), 'USD'))), 2))
WHERE account ~ '^Liabilities'
Net Worth (Assets + Liabilities combined):
SELECT round(number(only('USD', convert(sum(position), 'USD'))), 2)
WHERE account ~ '^(Assets|Liabilities)'
The only() function returns null if the position cannot be fully converted to a single currency (e.g., missing price data for a commodity). This is why unconverted commodities are excluded rather than causing an error.
π‘ Usage Tipsβ
When to Useβ
- Daily note-taking β Keep it open while journaling to quickly reference balances
- Quick checks β Glance at net worth without opening the full dashboard
- Context switching β Maintain financial awareness while working on other tasks
Placementβ
Access the Snapshot View via:
- Command Palette:
Ctrl/Cmd + Pβ "Open Beancount Snapshot" - Right Sidebar: Drag and position the view anywhere in Obsidian's layout