查询不想完成 URL
Query don't want to complete the URL
我想用我可以输入的 ID 完成 URL table。
当我告诉查询从 table 中获取 URL 的缺失部分时,我收到此错误:
Expression.Error:我们无法将 Table 类型的值转换为 Record 类型。
细节:
值=[Table]
类型=[类型]
有人知道如何解决这个问题吗?
代码:
let
Id = Excel.CurrentWorkbook(){[Name="ID"]}[Content],//gets the missing part of the url
//For example I want to enter ".com"
URL = "https://www.mywebsite",//URL
Source = Json.Document(Web.Contents(URL , Id))//The file I want to get is a json document
in
Source
尝试
let Id= Excel.CurrentWorkbook(){[Name="ID"]}[Content]{0}[Column1],
URL = "https://www.mywebsite",
Source = Json.Document(Web.Contents(URL & Text.From(Id)))
in Source
我想用我可以输入的 ID 完成 URL table。 当我告诉查询从 table 中获取 URL 的缺失部分时,我收到此错误:
Expression.Error:我们无法将 Table 类型的值转换为 Record 类型。 细节: 值=[Table] 类型=[类型]
有人知道如何解决这个问题吗?
代码:
let
Id = Excel.CurrentWorkbook(){[Name="ID"]}[Content],//gets the missing part of the url
//For example I want to enter ".com"
URL = "https://www.mywebsite",//URL
Source = Json.Document(Web.Contents(URL , Id))//The file I want to get is a json document
in
Source
尝试
let Id= Excel.CurrentWorkbook(){[Name="ID"]}[Content]{0}[Column1],
URL = "https://www.mywebsite",
Source = Json.Document(Web.Contents(URL & Text.From(Id)))
in Source