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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Data Source Credentials for web

If I want to use the data source from the website how do I make it auto-refresh, because I cannot click 'data source credential' 

4 REPLIES 4
Anonymous
Not applicable

tempsnip.png

Did it work?

Hi @Anonymous ,

 

Did you use the RelativePath and Query options with Web.Contents()?

For example, use 

 

Web.Contents(
 "https://data.gov.uk/api", 
 [
  RelativePath="3/action/package_search", 
  Query=[q="cows"]
 ]
)

 

instead of

 

Web.Contents(
 "https://data.gov.uk/api/3/action/package_search?q=cows"
)

 

For more details, please refer to https://blog.crossjoin.co.uk/2016/08/23/web-contents-m-functions-and-dataset-refresh-errors-in-power-bi/

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

It is hard to tell what your data sources are from the information provided

 

Can you expand the "Gateway connection" so I can see the sources needed?

 

If you are connecting to on-premise data sources, then you need to setup the gateway, then you should be able to expand the credentials area

 

Just need a little more information to tell

 

Thanks,

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.