Connect Power BI Desktop
Where your connection details are. Xero Consolidation customers: Xero Consolidation, Excel & BI, Power BI Desktop Connect. Data-syncing customers: Data Engineering, 1. Database, with Database Firewall Rules alongside it. Either page gives you the server name, database name and database login.
First time only: on the Power BI Desktop Connect page, click to add your current IP address before you connect. Your database only accepts connections from addresses you have allowed.
Then in Power BI Desktop: Get Data, SQL Server database, paste the server and database names, choose Database credentials and enter the login. Pick the views you need in the Navigator and load.
Import or DirectQuery
Import for the consolidated views and anything summarised. Fast to interact with once published. The initial load in Desktop can feel slow on large tables; it is fast in the service
DirectQuery for account transactions and other large histories, or when the report must be as fresh as the last sync
The duplicated numbers tip
The P&L views carry a row per tracking category where entities use them. Pull the view unfiltered and sum it, and entities with two tracking categories double count. Either filter to one tracking category, or use the rows without a tracking category for totals. It is the first thing to check if a total looks too big.
Refresh
Once published, schedule the dataset refresh to run after your dataSights sync completes. For intraday reporting, ask us to set up a sub-sync timed to finish before each refresh slot; see Refresh effectively in Power BI.
Restricting rows
Row-level security driven by a small people-to-departments mapping table in your database. Supercharge Power BI creation with Claude covers it.