cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thampton
Helper III
Helper III

Error: Changing data type returned from Web API

I am having trouble converting a value returned from a web API into a Date data type. The query & error are below. I would like to convert it to date so i can create a relationship to my calendar table. 

 

let
Source = Json.Document(Web.Contents("WEB API URL")),
#"Parsed JSON" = Json.Document(Source),
#"Converted to Table" = Record.ToTable(#"Parsed JSON"),
#"Expanded Value" = Table.ExpandRecordColumn(#"Converted to Table", "Value", {"Field Names"})
in
#"Expanded Value"

 

DataFormat.Error: We couldn't parse the input provided as a Date value.

 

Any ideas?

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.