JannetteChristie
Board Regular
- Joined
- Dec 14, 2015
- Messages
- 130
- Office Version
- 365
I have the following query:
let
Source = Json.Document(Web.Contents("https://www.deeplydigital-webservices.co.uk/dutypoint/wp/wp-json/dutypoint-api/v1/booster?flow_rate=3&flow_rate_volume_unit=L&flow_rate_time_unit=S&head_pressure=2&head_pressure_unit=BAR&pump_configuration=D/S
")),
#"Converted to Table" = Record.ToTable(Source),
#"Expanded Value" = Table.ExpandRecordColumn(#"Converted to Table", "Value", {"name", "weight", "price", "efficiency", "efficiency_graph", "max_head_pressure", "tolerance", "tolerance_ok", "low_tolerance_finder", "head_pressure_graph", "power_consumption", "power_consumption_graph", "curves", "consumption_score", "model", "power_supply", "dwg_link", "pdf_link", "model_link"}, {"name.1", "weight", "price", "efficiency", "efficiency_graph", "max_head_pressure", "tolerance", "tolerance_ok", "low_tolerance_finder", "head_pressure_graph", "power_consumption", "power_consumption_graph", "curves", "consumption_score", "model", "power_supply", "dwg_link", "pdf_link", "model_link"})
in
#"Expanded Value"
How do I use vba to dynamically change the source and update the table data it produces ?
let
Source = Json.Document(Web.Contents("https://www.deeplydigital-webservices.co.uk/dutypoint/wp/wp-json/dutypoint-api/v1/booster?flow_rate=3&flow_rate_volume_unit=L&flow_rate_time_unit=S&head_pressure=2&head_pressure_unit=BAR&pump_configuration=D/S
")),
#"Converted to Table" = Record.ToTable(Source),
#"Expanded Value" = Table.ExpandRecordColumn(#"Converted to Table", "Value", {"name", "weight", "price", "efficiency", "efficiency_graph", "max_head_pressure", "tolerance", "tolerance_ok", "low_tolerance_finder", "head_pressure_graph", "power_consumption", "power_consumption_graph", "curves", "consumption_score", "model", "power_supply", "dwg_link", "pdf_link", "model_link"}, {"name.1", "weight", "price", "efficiency", "efficiency_graph", "max_head_pressure", "tolerance", "tolerance_ok", "low_tolerance_finder", "head_pressure_graph", "power_consumption", "power_consumption_graph", "curves", "consumption_score", "model", "power_supply", "dwg_link", "pdf_link", "model_link"})
in
#"Expanded Value"
How do I use vba to dynamically change the source and update the table data it produces ?