Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
how i can change nature of business & searchinput every time user input different and show the output.
let
Query2 = let
url = "XXXXXXXXXXXXXXXXX",
headers = [#"Content-Type" = "application/json"],
postData = Json.FromValue([natureOfBusiness = "Employment",searchInput = "cyber tech"]),
response = Web.Contents(
url,
[
Headers = headers,
Content = postData
]
),
jsonResponse = Json.Document(response),
jsonResponse1 = jsonResponse{0}+jsonResponse{1}+jsonResponse{2},
#"Converted to Table" = Record.ToTable(jsonResponse1)
in
jsonResponse,
#"Converted to Table" = Table.FromList(Query2, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"organization", "abbreviated", "category", "score"}, {"organization", "abbreviated", "category", "score"}),
#"Changed Type" = Table.TransformColumnTypes(#"Expanded Column1",{{"score", Int64.Type}})
in
#"Changed Type"
Dynamic query parameters are only supported for Direct Query data sources. Web.Contents is import mode only.