Articles / Microsoft Fabric

How to connect a bank account to Power BI without exporting statements

Short answerYou can connect a company bank account to Power BI without exporting statements, through open banking (PSD2). An authorised provider gives read-only access to the transactions, a Microsoft Fabric notebook collects them every day and a Power BI report shows income and expenses already categorised. We did this at NAVRA itself.
0statements exported by hand
07:00when transactions arrive, every day
97%of transactions categorised by rules in version 1
3–4 minuntil a correction made in the report shows on the dashboard

Why we did it

We are two partners and wanted to see what comes in, what goes out and on what, without waiting for the month-end close. Before, that meant downloading statements and sorting transactions in a spreadsheet. We also wanted to use at NAVRA what we propose to clients.

How it works

  1. BankPSD2 consent, read-only
  2. Open banking providerAuthorised API (we used Enable Banking)
  3. Fabric notebookRuns at 07:00; credentials in Azure Key Vault
  4. LakehouseBronze, silver and gold: raw, de-duplicated, categorised
  5. Power BIDirect Lake: reads new tables without a refresh

No credential lives in the code: the notebook reads them from Azure Key Vault when it runs.

  1. Give consent at the bank. You log in to the company's online banking and authorise read access to the account. The consent expires and is renewed with a new login.
  2. Collect transactions every day. A Fabric pipeline runs at 07:00 and stores the bank's response as it comes.
  3. Clean and categorise. We remove duplicates and apply simple rules: a term in the description or the counterparty sets the category. Whatever no rule catches is shown as "To categorise" and stays in the totals.
  4. Show it in Power BI. The report shows the period result, the monthly trend and expenses by category, with a clean counterparty name (for example "Microsoft") instead of the bank's text. It has two views: cash, as in the statement, and economic, with annual costs spread over 12 months.
  5. Correct it in the report. Anyone who spots a wrong category picks the right one and clicks "Save category". The dashboard shows the change within 3 to 4 minutes.

The limits we found

  • Only 90 days back. The bank's API does not return older transactions. Earlier history came from the PDF statements, once, and we checked that the balances matched every month.
  • Consent expires. You need to log in to the bank again periodically; without it, collection stops. We keep a reminder before the deadline.
  • Client accounts need a different setup. Reading only your own company's accounts works in the provider's restricted mode. Doing it for clients requires a contract with that provider.
  • Cost. Azure Key Vault costs almost nothing. The Fabric capacity is what matters. Today we run on the free trial. The cheapest option we are looking at is an F2 capacity switched on only when needed: about 1 hour per working day comes to roughly €9 a month at list prices, against about €288 a month running 24 hours. While the capacity is paused the report does not open; the numbers are in how much Microsoft Fabric costs a small business.

Frequently asked questions

Is it safe to connect the bank to a system like this?

Access is read-only and goes through open banking (PSD2): nobody can make payments this way. Credentials sit in Azure Key Vault, outside the code, and only the two partners can see the report, because it shows salaries.

Does it work with my bank?

It depends on whether your bank is covered by the open banking provider you choose. Each provider publishes its list of banks; check it before you start. Our bank, a Portuguese one, was covered.

Do I need Microsoft Fabric?

We used Fabric because it puts collection, storage and Power BI in one place, with no servers to manage. We also wanted to know the platform well before proposing it to clients.

Does AI categorise the transactions?

In version 1, rules covered 97% of transactions. We are testing AI category suggestions only for what rules miss, and only when confidence is high; the rest is left for review.

Want to see this with your company's data?

In 30 minutes we will tell you frankly whether it makes sense and what it would take. You talk to the partners.