let
ExcelSource =
Excel.Workbook(
File.Contents("C:\FilterParameter.xlsx")
, null, true),
FilterDay_Table =
ExcelSource{[Item="FilterDay",Kind="Table"]}[Data],
ChangedType =
Table.TransformColumnTypes(
FilterDay_Table,
{{"Parameter", type text}}
),
Day = ChangedType{0}[#"Parameter"],
Output =
Web.Contents(
"https://data.gov.uk/api/3/action/package_search",
[Query=[q=Day]]
),
ImportedJSON = Json.Document(Output,65001)
in
ImportedJSON