Power Query refreshing too slow

gargamalebarbosa

Board Regular
Joined
Aug 4, 2022
Messages
118
Office Version
  1. 365
Platform
  1. 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,

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"
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
It may have to do with your internet speeds and the size of the file you are importing. Have you tried on a computer that is linked to a different Internet connection that has a faster download speed?
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,182
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top