Forum Discussion
Perform function on list of items in m code
Hi papi0506 ,
sorry, wrote if from the head. Please try the following:
Json.Document(Web.Contents("https://api/statistics/devices/id/" & [AccountId] ))- papi05062 years agoFrequent Visitor
Thank you, your suggestion looks to have helped the call progress but the results mention that we cannnot convert a value of record type to number. I had to use text.from to help pass a previous error to the current results.
still get a tablereturns a record, but wants to convert it to a number?- papi05062 years agoFrequent Visitor
ImkeFThank you, very much. after clearing some cache and results, I was able to get a 404, so the command is working properly I just need to work on the call and why its returning 404, not a power querie issue.
Thank you so much.
same call and worked 🙂
#"Added Custom" = Table.AddColumn(AccountListAsTable, "Results", each Json.Document(Web.Contents("https://api/statistics/devices/id/" & Text.From([IDS] as any),[Headers = [#"Authorization" = Auth2]])))