# Power BI

> Load Kite data into Power BI with the starter kit: tables, join keys, refresh and limits.

Source: https://platform.kite.sa/docs/guides/power-bi

Power BI Desktop and the Power BI service can read the API directly, with scheduled refresh and no gateway. Our starter kit is a set of Power Query (M) files, one per query, that handle the key, paging, rate limits and exports for you. Email [hello@kite.sa](mailto:hello@kite.sa) for the kit; it comes with a step-by-step guide and a test checklist.

**What it loads.** Every table carries the city slug (`city`), and where the data has them the neighborhood id (`neighborhood_id`, from GET /cities/{city}/neighborhoods) and the project id (`project_id`), so it joins to your own data. History tables hold the whole history at every refresh, so you don't need incremental refresh.

| What | Tables | Plan |
| --- | --- | --- |
| Projects and phases | `Projects`, `ProjectDetails`, `ProjectsExport` | Sandbox and Pro; exports on Enterprise |
| Unit models: full and subsidised price, units in total and available | `ProjectModels`, `ProjectModelsExport` | Sandbox and Pro; exports on Enterprise |
| Daily availability since 2026-09-26 | `ProjectAvailability` (the projects you follow), `ProjectAvailabilityExport` (every project in the city) | Sandbox and Pro; exports on Enterprise |
| Absorption and sell-through | `ProjectAbsorption`, `MarketAbsorption`, `MarketSellThrough` | Sandbox and Pro |
| Registered deals and rents by neighborhood | `Transactions` or `TransactionsExport`, `LandPrices`, `RegisteredDealStats`, `RegisteredRents`, `PropertyIndex` | Every plan, free |
| Asking prices by property type | `MarketSummary`, `Supply`, `NeighborhoodAskingPrices`, `CommercialRents`, `AskingPriceTrends` | Starter and above; trends on Growth and above |

**Setting it up.**

1. Create a data key on the platform for this report alone, so you can revoke it without breaking anything else. A test key works for trying the kit.
2. In Power BI Desktop, open **Transform data**. For each file, in the order the kit's guide gives, add a blank query, open the advanced editor, paste the file and rename the query to the file's name: the queries call each other by name.
3. Under **Manage parameters**, paste the key into `KiteApiKey`, pick the city in `KiteCity` and list the projects you follow in `KiteProjectIds`.
4. When Power BI asks how to connect to https://api.kite.sa, choose **Anonymous** and set its privacy level to **Organizational**. The key travels in the `Authorization` header, which Power BI allows only on an anonymous connection; it never appears in a URL.
5. Publish, and in the Power BI service give the semantic model the same Anonymous credential and a refresh schedule. No gateway is needed. We refresh our sources twice a day, so more than two refreshes a day buys nothing.

**Paging, rate limits and quota.** List tables page with your plan's page size, read from GET /limits. `Listings` asks for each next page after the last `updated_at` and `id` rather than with a cursor, so your plan's paging depth never stops a city-wide pull and a listing updated during the refresh can't make another one be skipped. A `429` with `rate_limited` is waited out for its `Retry-After` and retried, so tables refreshing side by side share one key's units per minute. A `429` for the month (`monthly_quota_exceeded`, `spend_cap_reached`) stops the refresh at once with our message. An export table creates one export per dataset and day, with an `Idempotency-Key`, so a second refresh the same day is not charged again.

**What a refresh costs.** With the defaults on Riyadh, about 2,350 units of market statistics, about 1,800 for the project list and about 9,000 for land listings; registered data is free, and each project you follow adds about 29 units. Exports are charged per row, once a day.

**Label every figure.** Every table has a `price_source` column. Asking prices come from advertisements and registered prices from deals and leases registered with the Ministry of Justice, the Real Estate Registry or Ejar; never title an asking figure as a sale price. Project stock is what the source still offers: a unit counts as gone when it stops being offered, which is not a sales record. Show the credit lines the kit's `Attribution` table holds on every page with registered data.
