Data Source Settings and Privacy Levels
Part of the Power BI Roadmap
In short
When a file moves, a password changes or Power BI refuses to combine two sources, the fix is almost always in Data source settings. It is the control room most beginners never open.
Data source settings store credentials and file paths for each source, and privacy levels control whether data from different sources can be combined during queries.

Think of it like this
The building's key cabinet
A society office has a key cabinet with a labelled hook for every flat. When a lock changes you replace that one key. Privacy levels are the rules about which keys can be lent together: the gym key can go with anyone, but the treasurer's locker key never leaves with a visitor.
Watch it happen
Fixing a moved file
1/5Refresh fails: the file sales_2026.xlsx is no longer in D:\Reports.
The big ideas
What you need to know
Credentials per source
Power BI remembers how you signed in to each source. Edit Permissions lets you update or clear them.
Change Source in one place
Changing a path here updates every query that uses it. Much safer than editing each query.
Three privacy levels
Public, Organizational and Private. They control whether data from one source can be sent to another while combining.
Parameters for paths
Store folder paths or server names in a parameter, so switching from test to live is one edit.
See it in code
Walk through the code
1// Parameter query named DataFolder (Manage Parameters, type Text)2// Current value: "D:\Reports\"3 4let5 Source = Excel.Workbook(6 File.Contents(DataFolder & "targets_2026.xlsx"),7 null,8 true9 ),10 Targets = Source{[Item = "tblTargets", Kind = "Table"]}[Data]11in12 Targets1/3DataFolder is a text parameter created with Home, Manage Parameters.
Build file paths from a parameter. When the files move, change the parameter value once and every query follows.
Save yourself the pain
Common mistakes
Oops
Setting every source to Public or turning off privacy checks to make a Formula.Firewall error go away.
Do this instead
Set honest privacy levels. Use Organizational for internal sources so they can be combined safely.
Oops
Editing the file path inside ten different queries.
Do this instead
Use Data source settings, Change Source, or a parameter, so the path lives in one place.
Your mission
Move and repair
Quick check
What do privacy levels mainly control?
Go deeper
- 1Change a file path in Data source settings after moving a file.
- 2Read what Private, Organizational and Public levels mean.
- 3Fix a Formula.Firewall error if you meet one by adjusting how queries combine sources.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.