Showing results for 
Search instead for 
Did you mean: 
Not applicable

Historical weather data in power BI

Hello all,


I'am comparing current sales with the previous year' sales. I would like to see if the weather conditions could be the reason for the change in sales. Thus i would like to know the current weather and previos year weather for a particular city. I have been able to connect to the current weather using API keys but I'am not able to do the same for historical weather data. Please guide.

Community Support
Community Support



You may try to modify code in The Advanced Editor.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not applicable

Hi Sam,


I'am trying to connect to historical WEATHER data.

Helpful resources

Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!