gargamalebarbosa
Board Regular
- Joined
- Aug 4, 2022
- Messages
- 118
- Office Version
- 365
- Platform
- Windows
Hi,
When refresh the query, i takes too much time. But if i cancel it than start again refreshing time is normal.
What is my mistake ?
Thank you,
When refresh the query, i takes too much time. But if i cancel it than start again refreshing time is normal.
What is my mistake ?
Thank you,
VBA Code:
let
Kaynak = Json.Document(Web.Contents("https://www.bp.com/bp-tr-pump-prices/api/PumpPrices?strCity=ANTALYA", [Headers=[#"User-Agent"="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"]])),
#"Tabloya Dönüştürüldü" = Table.FromList(Kaynak, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Genişletilen Column1" = Table.ExpandRecordColumn(#"Tabloya Dönüştürüldü", "Column1", {"DtPriceListDate", "District", "City", "Benzin", "GazYagi", "BenzinUltimate", "MotorinUltimate", "Motorin", "FuelOil", "KaloriferYakiti", "FuelOilYuksekKukurt", "LpgPrice"}, {"DtPriceListDate", "District", "City", "Benzin", "GazYagi", "BenzinUltimate", "MotorinUltimate", "Motorin", "FuelOil", "KaloriferYakiti", "FuelOilYuksekKukurt", "LpgPrice"})
in
#"Genişletilen Column1"