Forum Discussion
Anonymous
2 years agoNot applicable
Expression Help .Error: 3 arguments were passed to a function which expects between 1 and 2.
Hi, I am getting this unspecific error on my syntax in Advanced Editor in Power Query. I edited filter directly in Advanced Editor (I want to filter file path based on the current date) and I...
- 2 years ago
pls try this
(trgtrls as text) as table=> let Source = Json.Document(Web.Contents("https://API/test?", [RelativePath="TargetReleaseIds="&(trgtrls)&"&ReleaseId=0", Headers=[Authorization="token", #"Content-Type"="application/json"]] )), #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error), #"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"Id"}), #"Changed Type" = Table.TransformColumnTypes(#"Expanded Column1",{{"Id", Int64.Type}}) in #"Changed Type"
Ahmedx
2 years agoSuper User
pls try this
(trgtrls as text) as table=>
let
Source = Json.Document(Web.Contents("https://API/test?",
[RelativePath="TargetReleaseIds="&(trgtrls)&"&ReleaseId=0",
Headers=[Authorization="token", #"Content-Type"="application/json"]]
)),
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"Id"}),
#"Changed Type" = Table.TransformColumnTypes(#"Expanded Column1",{{"Id", Int64.Type}})
in
#"Changed Type"