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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors