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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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