Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
Anonymous
Not applicable

Getting API Keys for all cities

Hello all,

 

I'am trying to connect Power BI to a weather website and obtain current weather for specific cities. I have called the API key for one city, please help me do the same for all cities.

 

Thank You

2 REPLIES 2
v-micsh-msft
Microsoft Employee
Microsoft Employee

You may follow the article below:

Creating a Weather Dashboard with Power BI and API

Which offers you an example of the walkthrough, including the Cities ID.

 

Regards,

Michael

Anonymous
Not applicable

Hi Michael,

 

I have prepared my dashboard with the help of the link you have provided.I have been able to connect to different cities.But my major concern is that the users will have to go to the query editor everytime they want to see a different city. What I'am looking for is a filter for cities because going to the back end and making changes for every city is not user friendly. Can something be done so that there is no dependence on the pbix file and the developer can make the necessary arrangements for the end users?

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.