Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I am having issues when I try to combine Chris Webb's explanation on RelativePath with "Anonymous authentication" (works well when I use built in Power BI Basic authentication, and don't have to pass authentication in M)
When I pass this M code:
let
Source = Json.Document(Web.Contents("BaseURL", [RelativePath= #"DateParameter"],
[Headers=[Authorization=Text.Combine({"Basic ", AuthKeyParameter})]])),
#"Converted to Table1" = Record.ToTable(Source)
in
#"Converted to Table1"
I receive: "Expression.Error: 3 arguments were passed to a function which expects between 1 and 2.".
Anyone able to help? Thanks.
Solved! Go to Solution.
Hi @EiA
You passed 3 arguments to Web.Contents...
let
Source = Json.Document(Web.Contents("BaseURL",
[
RelativePath= DateParameter,
Headers=[Authorization=Text.Combine({"Basic ", AuthKeyParameter})]
])),
#"Converted to Table1" = Record.ToTable(Source)
in
#"Converted to Table1"
Hi @EiA
You passed 3 arguments to Web.Contents...
let
Source = Json.Document(Web.Contents("BaseURL",
[
RelativePath= DateParameter,
Headers=[Authorization=Text.Combine({"Basic ", AuthKeyParameter})]
])),
#"Converted to Table1" = Record.ToTable(Source)
in
#"Converted to Table1"
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 7 | |
| 5 | |
| 5 |