Skip to content

AFAS SB Power BI dashboard

We extract data from your SB accounting records, retain their history and build a single Power BI model from them, as we did when we brought together data sources for Vivara.

With one data model, every Vivara department, from finance to marketing, can analyse its data

Vivara wanted its data in one central location, with the highest data quality. We developed a data platform with a bespoke data model that retrieves data daily from sources including SAP, Magento and SharePoint. Power BI is one of the tools used in this case study.

Read the case study

Why is the AFAS SB homepage no longer enough for me?

The homepage shows your turnover, financial result and largest customers for each set of accounts. With a second limited company, an online shop or a time-tracking system, you want to see those figures side by side, across several years and in your own layout.

Book a call

An AFAS SB dashboard depends on the connector bundle and your own historical data

Discuss your accounting entities

Connection via the SB API

A dedicated connection in the SB App Center using the Financial dashboarding bundle: accounting entities, general ledger accounts, periods and balances by period.

Historical data you can keep

The bundle reads the current financial year. We store balances by period in a database, much as our platform for Vivara stores data daily.

One model for all accounting entities

General ledger, periods and accounting entities in one Power BI model with consistent DAX measures, so each company and the overall total use the same definitions.

Refresh and management

A fixed refresh schedule in the Power BI service, secure storage for the token or OAuth credentials, and an owner for each report. Your team can manage it, or we can.

Your Excel lists alongside SB are our starting point; the connection comes later

  1. Questions and accounts

    The decisions you want to make, which accounts are involved and which figures you currently track by hand.

  2. Connection and first report

    We set up the connection, store the data and check an initial report against the SB home page.

  3. Refreshing and expanding

    Data refresh goes live. Then sources such as your online shop or time-tracking system are added to the same model.

Are SB’s standard reports still enough for us?

Talk it through with us

A good fit if

You use AFAS SB, your organisation is growing, and you want to compare sets of accounts or financial years, or combine your figures with another source. The home page and Excel exports are no longer enough.

Not a good fit if

You have one set of accounts and mainly look at this year’s revenue and profit. SB’s home page already shows these, with a period selector for comparing periods.

What determines the scope

The number of sets of accounts, whether you want to include previous financial years, which other sources you want to add, and whether your team will take over management.

What if we move to AFAS Profit later?

The data source changes: Profit provides data through BI models and an OData connector, while SB uses its own REST API. You can largely keep your definitions and reports in Power BI; you’ll need to adapt the data-loading step.

The SB home page, an Excel export or your own Power BI dashboard?

The SB home page

Choose this if you want to see how each set of accounts is doing: revenue, profit or loss, cash and cash equivalents, and your largest customers, with a period selector.

An Excel export

Choose this if you only need to produce a report occasionally. SB exports any view to a file and also provides general ledger balances, an audit file and an RGS mapping table.

A Power BI dashboard connected to SB

Choose this if you want to combine accounts, years or data sources and have the figures refresh automatically. We recommend this once monthly reporting becomes a regular task in Excel.

We previously brought ERP, online shop and other sources together in a single data model for Vivara

Data Science Lab has worked with data and AI since 2016 and is a Microsoft Partner for Fabric. For Vivara, we brought data from SAP, Magento and SharePoint together on one platform, with a data model for all departments.

Book an introductory meeting

Your accounts in SB and what you’re missing: what we’ll discuss in our first conversation

Stef Stoelwinder

Stef Stoelwinder

Business Development

Stef is your first point of contact. In our first conversation, we’ll discuss your accounts, your current reports and which figures you’re missing.

Which sets of accounts and financial years would you like in one overview?

Tell us how many sets of accounts you have and what you currently track in Excel. We’ll reply by email or arrange an initial meeting.

Enter a valid email address.

Let us know how we can help you.

Frequently asked questions

Yes, through a custom connection in the SB App Center. This lets you read data from SB via the AFAS REST API. You choose a connector bundle, which determines what data you can read, and an authorisation method: a token, which AFAS calls the simplest option, or OAuth, which is harder to set up but more secure to use.

The data goes into a database or directly into Power BI. To see how we build a dashboard around a decision, read about Power BI dashboards.

That depends on the bundle. Financial dashboarding reads accounting entities, the financial period table, general ledger accounts, financial years, general ledger balances by period and the profit and loss statement for the current financial year. Relationship management reads organisations, individuals and contacts. Other bundles are designed for writing data, such as journal entries or sales invoices.

Choose the bundle carefully: AFAS says you cannot change it afterwards. If you need a different bundle, you must add a new connection.

AFAS Profit has BI models and an OData connector, with ready-made Power BI templates. AFAS describes these for Profit. The new AFAS SB uses its own REST API and connector bundles, so for a small business dashboard on SB, you build the data-loading step yourself. Note that AFAS Profit Small Business is the older package and is not the same as SB.

If you use Profit for payroll and HR, read about the AFAS Payroll Power BI dashboard.

In Power BI, the accounting entity becomes a dimension, so you can view figures for each company or in aggregate. If the entities use different charts of accounts, you map them to a single structure. The reference chart of accounts (RGS) helps with this: in the RGS mapping table, SB places balances alongside the corresponding RGS categories.

For accountants, SB has the Admin Center. A custom connection you add there is available across all accounting entities for all clients. If you have many clients using other packages, see our pages on Twinfield and Exact Online.

Because the Financial dashboarding bundle reads balances by period for the current financial year. If you want to compare this year with last year or see a trend over several years, you need to store the balances in a database yourself. Each refresh then retrieves only the current financial year and adds it to the historical data.

This also reduces the data-loading workload: you do not have to retrieve everything from SB each time.

As often as you schedule it, up to the limit Power BI allows. On shared capacity with a Pro licence, that is eight scheduled refreshes per day; on Premium or Fabric capacity, up to 48. Schedule the step that reads from SB just before the refresh.

If the database is in the cloud, such as Azure SQL, you do not need an on-premises gateway, provided Power BI can reach the source directly.

Start with authorisation for the connection. AFAS says OAuth is more secure to use than a token. If you choose a token, store it in a vault such as Azure Key Vault, not in a Power BI file.

In Power BI itself, you manage access through workspaces and an app, and use row-level security (RLS) if a branch manager should only see their own accounting entity.

For how we set up Power BI as a whole, see Power BI consultant.

When you have one accounting entity and the SB home page answers your questions. For annual accounts, SB has annual reporting with an annual review. In that case, Power BI mainly adds management work.

If your question is about management information more generally, such as margins, cash flow and budgets, read about the financial dashboard or see how we build business intelligence. If a lighter solution is a better fit, we will say so.