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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.