Forum Discussion
Anonymous
3 years agoNot applicable
Need help fixing this query
My query is: let // Define GetCostManagementData function GetCostManagementData = (url as text, rows as list) as table => let QueryHeaders = [#"Content-Type" = "application/json", #"Authoriz...
AlienSx
3 years agoSuper User
Hello, Anonymous
recursion. So I would suggest to use @
in
if next <> null then
@GetCostManagementData(next, combinedRows)
else
Table.FromRows(combinedRows, columns)
- Anonymous3 years agoNot applicable
Now, if I add @ at the begining as you mentioned, then it gives a different error: DataFormat.Error: Invalid URI: The hostname could not be parsed.
Looks like it can't read the nextLink or something wrong with the condition