An ERP or SaaS platform can hold the data your team needs while offering no obvious Power BI connector. Deltek, a line-of-business ERP, and many smaller cloud services are common examples. Even when a connector exists, it may not expose every object, fit your refresh schedule, or cover the authentication model you need.
The reliable approach is to inspect the source first, choose the simplest supported ingestion path, and make refresh behavior visible. This guide covers native connectors, REST APIs, Fabric Dataflow Gen2, pipelines, database access, and incremental loading.
Start with the source contract
Before building a query, identify the product edition and API version, tenant or regional base URL, entities and fields, authentication flow, request quotas, page size, and how records expose updates and deletions. Ask whether the ERP provides a supported reporting database, ODBC driver, or scheduled export. These details vary by product and sometimes by module.
For Dynamics 365 workloads backed by Dataverse, check the Power Query Dataverse connector before writing API code. Other Dynamics products may expose different paths. For Deltek or another ERP, verify the exact product and deployment because database and API access vary. A connector is useful only when its objects, credentials, and refresh behavior satisfy the report.
Choose the connection pattern
| Pattern | Use it when | Check before committing |
|---|---|---|
| Native Power BI or Power Query connector | It supports the required product, objects, and refresh mode | Object coverage, OAuth ownership, refresh limits, and licensing |
| ODBC or SQL through a gateway | The ERP exposes a supported database, especially on premises | Use read-only reporting views, confirm gateway mapping, and avoid querying production transaction tables heavily |
Power Query Web connector with Web.Contents |
A small, bounded API extract fits a Power Query workflow | OAuth support in the target host, pagination, throttling, privacy behavior, and refresh credentials |
| Fabric Dataflow Gen2 with Web API | Analysts need low-code Power Query transformations and reusable staged data | The Web API connection's supported authentication types and the chosen destination behavior |
| Fabric pipeline with REST Copy activity | Loads need orchestration, paging rules, retries, and a landing destination | The endpoint's JSON shape, supported auth, pagination contract, and API quotas |
| Notebook or custom connector | The API needs unusual signing, cursor logic, or specialized backoff | Ownership, deployment, secret storage, and operational support |
Do not choose by product name alone. Validate the connection in the exact Fabric or Power BI environment that will own scheduled refresh. A local Desktop query can succeed while its service refresh fails because credentials, gateway access, dynamic URLs, or OAuth renewal differ.
Use Web.Contents for a small, stable API
Power Query's Web.Contents can call an endpoint and pass options such as RelativePath, Query, and Headers. Keeping a stable base URL and placing endpoint details in these options can make a query easier for the Power Query engine to identify and refresh. It does not implement a vendor's OAuth lifecycle for you.
Keep client secrets and refresh tokens out of M source code. Use a supported connection or credential mechanism for the target host. For OAuth, confirm who performs the authorization, how access tokens are renewed, and whether unattended refresh is supported. A manually pasted bearer token is not a durable scheduled-refresh design.
For pagination, follow the API's actual contract: it may return a next-link URL, a cursor, a page number, or a continuation token. Stop only when the API indicates there is no next page. Respect Retry-After or vendor-specific throttling responses, add bounded retries for transient failures, and make schema changes visible rather than silently dropping fields.
Stage shared data with Dataflow Gen2
When several reports need the same ERP entities, a shared ingestion layer prevents each semantic model from calling the source independently. Dataflow Gen2 uses Power Query for transformations and can write to supported destinations such as Fabric Lakehouse tables and Fabric Warehouse. Configure the destination for each query and verify whether its write behavior should replace, append, or otherwise maintain the target data.
Use a Lakehouse when OneLake tables and file-based staging suit the team's workflow. Choose a Warehouse when the serving layer is SQL-first. Keep source identifiers, source modification timestamps, ingestion timestamps, and a run identifier so that late updates and failed runs can be diagnosed. Separate raw or lightly shaped data from curated tables when that makes replay and reconciliation easier.
Dataflow Gen2's Web API connection has its own documented authentication options. Do not assume it supports every OAuth grant a vendor offers. If the API's token exchange is unsupported or awkward in the chosen connection, use a supported Fabric pipeline pattern or a managed integration layer rather than embedding credentials in query text.
Use a pipeline when orchestration matters
Fabric's REST Copy activity supports REST requests, JSON responses, and pagination rules. It is often a better fit when a load spans several endpoints, needs request intervals, or needs to be orchestrated with dependencies and retries. Check that the connector's authentication type matches the vendor's flow; more complex APIs may require a separate token activity or another approved credential pattern.
For an on-premises SQL or ODBC source, configure an on-premises data gateway on a stable machine that can reach the database. Map the service connection to the intended data source and use a least-privilege read-only account. Avoid creating a direct database dependency when the ERP vendor does not support that access path.
Make the load incremental at the source
Incremental refresh is not a magic switch that makes any API incremental. For a Power BI semantic model, the policy uses RangeStart and RangeEnd date/time parameters. The source query must apply those boundaries effectively. With a web API, the parameters can be incorporated into the HTTP request if the endpoint supports date filtering. If Power Query downloads every record and filters locally, the API still pays the cost of a full extract.
For a Fabric landing table, store a watermark such as the last successful modified timestamp or opaque cursor. Request changes since that watermark, then upsert by stable source ID. Use a lookback window when updates can arrive late, and periodically reconcile against a broader extract. Track deletions with a vendor tombstone, deletion feed, or explicit reconciliation; a normal changed-since query may never return hard-deleted records.
For semantic model incremental refresh, define RangeStart and RangeEnd with the required date/time type and use a half-open interval (>= RangeStart and < RangeEnd) to avoid overlap between partitions. Verify that the filter reaches the source. Query folding is common with relational databases; for web APIs, build and test the request parameters directly and monitor the rows and calls returned.
Monitor the integration, not just the report
Track each source and entity by run: outcome, start and end time, duration, rows read and written, API calls, quota or throttling responses, watermark, and last successful data timestamp. Show freshness separately from the time a semantic model refreshed; a model can refresh successfully while its upstream dataflow loaded stale source data.
Alert on failed runs, repeated throttling, unexpected row-count drops, and freshness beyond the business threshold. Keep a small run-history table so operators can compare duration and volume over time. The demonstration dashboard above uses synthetic values and illustrates these operational indicators; it is not connected to a real ERP or API.
A practical rollout checklist
- Confirm the exact ERP edition, API region, scopes, quotas, entities, and update/deletion semantics.
- Test the least complex supported connector and unattended refresh in the target workspace.
- Select Dataflow Gen2 for analyst-owned transformations, a pipeline for orchestration, or a database connector and gateway for supported SQL/ODBC access.
- Land stable IDs, source timestamps, and run metadata in a Lakehouse or Warehouse destination.
- Implement source-side incremental filters or a durable watermark, with retries and deletion handling.
- Build a curated semantic model and verify refresh partitions, freshness, permissions, and monitoring.
The goal is not simply to make an API return rows once. It is to build a refresh path that respects the source, survives unattended execution, and makes stale data easy to spot. For a Power BI integration review, see our Power BI consulting services.
Technical references: Dataflow Gen2 REST connections, REST Copy activity, Web.Contents, incremental refresh overview, Dataverse connector, and Dataflow Gen2 destinations.