Skip to main content

How to Auto Refresh Data in Power BI Report with Yeeflow Connector

Prepare and test Yeeflow queries, configure the custom connector on a gateway, map the Power BI semantic model, and verify a scheduled refresh.

Refresh a published Power BI semantic model on a schedule so its reports can use updated Yeeflow data. First confirm that the report works in Power BI Desktop with the Yeeflow connector.

Scheduled refresh and incremental refresh are different settings. You can schedule an ordinary refresh of an imported model. Creating date parameters does not by itself configure an incremental-refresh policy or a service refresh schedule. The original screenshots use Dataset, the earlier name for a semantic model.

Step 1: Create Parameters

Open the report in Power BI Desktop and select Home → Transform data. In Power Query Editor, choose Manage Parameters → New Parameter.

For a query that needs date-range filtering, create RangeStart and RangeEnd with type Date/Time. Keep the names and capitalization exact, and choose a small test period containing known source records. Microsoft parameter configuration

If you are using ordinary refresh, the published query’s date range must cover the history and new records you need. A fixed end date will not advance just because a refresh schedule is enabled.

Step 2: Modify Queries

  1. Select each relevant invoked business-list query in Power Query Editor.

  2. Replace its fixed start and end expressions, such as #datetime(...), with RangeStart and RangeEnd in the corresponding argument positions. Preserve the connector function and other arguments, including the list identifier.

  3. Preview the result. For LoadListDataByModified, the business-list date range filters on the record’s modification time, rather than creation time.

  4. Check known records inside the window, at both boundaries, in adjacent windows, and in an empty period. Compare IDs and totals with Yeeflow; resolve errors or unexpected rows before selecting Close & Apply.

Do not assume every built-in source applies these dates. The connector’s departments, locations, user groups, and positions functions accept date arguments but do not use them in their requests. Validate each source separately rather than applying the business-list procedure to every table.

Step 3: Set Incremental Refresh

Start by verifying an ordinary refresh. Only add incremental refresh after the model owner has validated the query’s source filtering and partition design.

This connector’s business-list function filters by Modified. Editing an old record can move it into a newer date window while its earlier copy remains in an unrefreshed partition. A successful refresh status alone does not prove the model is free of duplicates or stale records. Test historical edits, deletions, boundary values, and duplicate record IDs before using this design. Microsoft partition troubleshooting

For a validated design, right-click the target table in Desktop’s data pane and select Incremental refresh. Enable Incrementally refresh this table under Set import and refresh ranges, set the archive and refresh periods, then apply and save. Test each table independently. The policy takes effect through the initial and later service refreshes after publication. Microsoft incremental-refresh configuration

Step 4: Publish the Report to Power BI Online

Save the Power BI Desktop file and choose Publish, then select the intended workspace. Use a test workspace for the first service refresh.

If you are replacing an existing report/model, review its dependent reports and current settings before confirming Replace. Publication is separate from configuring the gateway and proving service refresh. Publishing a Power BI report

Step 5: Configure On-premises Gateway

The standard on-premises data gateway can run the custom connector for Power BI service refresh, even though Yeeflow is a cloud source. A working Desktop connection does not establish a working gateway connection.

  1. Have the gateway administrator install and register the standard gateway on an organization-managed Windows computer. Follow the requirements and download instructions on the official Microsoft website.

  2. Place the Yeeflow Connector on that computer, using the connector version validated with the report. In the gateway app’s Connectors section, select its folder and confirm that the connector loads. The gateway service account must be able to read that folder; follow the app’s restart prompt if shown.

  3. In Power BI service, open Settings → Manage connections and gateways. For the selected gateway cluster, enable custom connectors. Allow cloud sources through the gateway only when required for the model and permitted by your organization.

  4. Under Connections, select New, choose On-premises, select the gateway cluster, name the connection, and choose YeeflowConnector as the connection type.

  5. For the OAuth setup shown in the original guide, choose OAuth 2.0 and Edit credentials. Sign in through login.yeeflow.com with an account authorized for the required Yeeflow data, then create the connection.

The gateway connection’s credentials are managed by its administrator. They are separate from your earlier Desktop sign-in. Custom connectors also need a TestConnection implementation for gateway use; the downloadable connector contains one, but an actual connection and refresh must still be tested. Microsoft custom connector gateway guidance

Step 6: Configure Auto Refresh Settings

  1. In the target workspace, open the report’s semantic model and its settings. The older interface calls this a Dataset.

  2. In Gateway and cloud connections, map the Yeeflow source to the connection you created, and select Apply. Confirm that the gateway is online and that you can use the selected connection.

  3. Run Refresh now before enabling a schedule. Check Refresh history and compare a known new or modified record and a report total with Yeeflow.

  4. After this test passes, open Refresh → Schedule refresh. Enable the schedule, choose the frequency, time zone, and time slots allowed by your capacity, and apply the settings. Review failure-notification recipients.

Power BI refresh schedule example. Enable the schedule, choose frequency, time zone and time, keep failure notifications enabled for the owner, and select Apply.

After the first scheduled run, check refresh history again. If it fails, check gateway availability, connection mapping, credentials, then query parameters and errors. With a standard gateway, ask its administrator to check the connection credentials when the model’s credential controls are unavailable. Microsoft scheduled-refresh guidance


Treat Desktop loading, on-demand service refresh, and a successful scheduled run as separate checks. For incremental models, also verify row correctness after historical changes. Keep the model on ordinary refresh until the partition tests pass.

Did this answer your question?