Deep Dive: How the Dashboard Aggregates Your Portfolio Metrics
A technical explanation of how Landager's dashboard dynamically aggregates data from Properties, Units, Leases, Payments, Expenses, and Maintenance into the real-time metrics you see.
The Main Dashboard presents you with simple numbers. Behind those simple numbers is a real-time aggregation pipeline that dynamically calculates everything from scratch every time you load the page.
Understanding this pipeline helps you appreciate why data accuracy across your portfolio matters so much.
The Data Sources
Your dashboard doesn't store its own pre-calculated metrics. Instead, it reads from six live data sources every time you open the page:
1. Properties Table
→ Contributes: Total Properties count.
2. Units Table
→ Contributes: Total Units count, Occupied Units count (filtered by status), and the derived Occupancy Percentage.
3. Tenants Table
→ Contributes: Total Tenants count, Active Tenants count (filtered by active lease ownership).
4. Leases Table
→ Contributes: Total Leases count, Expected Revenue (sum of rent amounts on all Active leases).
5. Payments Table
→ Contributes: Collected Revenue (sum of payment amounts with "Completed" status in the current calendar month).
6. Maintenance Table
→ Contributes: Open Maintenance Requests count (filtered by "Open" or "In Progress" status).
The Aggregation in Action
Here is a simplified flow of what happens when you click "Dashboard":
- The server queries each of the six tables above in parallel.
- It applies the appropriate filters (e.g., "only Active leases", "only this month's payments").
- It performs the mathematical aggregations (counts, sums, percentages).
- It returns the compiled metrics object to your browser in a single response.
- Your browser renders those numbers into the visual cards, progress bars, and charts you see.
This entire pipeline executes in milliseconds, which is why the dashboard always displays the most current state of your data—there is no caching delay.
Why This Matters for You
Because every metric on the dashboard is dynamically calculated from live source data:
- If you fix a typo in a lease's rent amount, the Expected Revenue card will instantly correct itself on your next page load.
- If you log a missing payment, the Collected Revenue card updates immediately.
- If you accidentally delete a property, the Total Properties count drops instantly.
There is no "sync button." There is no hourly refresh. The dashboard is a living mirror of your database, which means the quality of your dashboard metrics is entirely determined by the quality of your data entry.
Lest biex tissimplifika n-negozju tal-kiri tiegħek?
Ingħaqad ma' eluf ta' sidien indipendenti li tejbu n-negozju tagħhom ma' Landager.
Qari Relatat
How Everything Connects in Landager
Understand the Landager data architecture and how Properties, Units, Tenants, Leases, Payments, Expenses, and Maintenance Requests work together to give you a complete portfolio overview.
The Main Dashboard Overview
A comprehensive guide to the Landager dashboard. Learn how to read your high-level analytics, occupancy metrics, and total portfolio value at a single glance.
The Lease Ledger: Expected vs. Collected
Understand how the lease ledger calculates your Expected Revenue based on active lease terms, and how it compares that to your actual Collected Payments.

