Refresh, Gateways, Credentials and Failure Recovery
Understand it in simple language
Import models need refresh to see source changes. A gateway can bridge supported sources in a private network to the service. It must run on a suitable, reachable machine with valid permissions and current configuration. Changing a local file path or password can break refresh.
Refresh history identifies the time, status and error. A reliable system has an owner, alert route, recovery steps and a freshness indication on the report. A successful refresh is not proof that the source delivered today's data.
Do it step by step
For approved on-premises training data, install/configure an on-premises data gateway according to your organization's policy. In semantic model settings map the source to the gateway connection, set credentials and schedule refresh. Run Refresh now and inspect history. Change one source row, refresh and verify the expected number. Document timezone, expected completion time and escalation contact. Browser lab: Diagnose a failed refresh.
Check your result
What should happen when today's source extract is missing but refresh succeeds? Flag stale source data rather than declaring the report fresh.
If something goes wrong
An expired credential requires updating the authorized connection and rerunning refresh; repeatedly clicking Refresh will not repair authentication.
Practice data and learning method
Industry practice collection: downloadable retail, finance, HR and operations datasets, dictionaries, full walkthroughs and answer sheets. The cases contain multiple years, multiple related tables, deliberate data defects and known-answer checks. Progress from the small foundation files below to these cases; do not reuse the foundation totals for the larger datasets.
Download Sales.csv, Products.csv, and the dataset guide. These files contain synthetic training data, not real customers. Use the Power BI virtual labs for guided browser practice. Each lab states its supported operations. Then repeat the procedure above in the actual Microsoft tools and save evidence of your result. Try another filter or an intentionally incorrect setting and explain what changed before moving on.
Guided practicals for this topic
Virtual lab · Microsoft Power BI · 20 min
Diagnose a failed refresh
The scheduled refresh failed after the source account password changed. The gateway is online. Error: invalid credentials.
Continue learning from Microsoft
Power BI documentation · DAX reference · Power Query M reference · Power BI analyst skills map. Features, licensing, menus and availability can change; check the relevant official page for your environment.
Practise this topic
Hands-on virtual lab
Apply what you just read in a realistic, guided simulation. Free with a verified account.
Create a free account to track your progress and unlock virtual labs.