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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
powerbbbuuuuu
Frequent Visitor

powerBI dashboard not refreshing

Hi

 

I am using web.contents to get data from the web. When I do the data refresh in PowerBI desktop, it works and the latest data would be showing in my powerBI desktop.

 

Howeverm when I do the scheudle refresh on PowerBI reports ( dashboard), the message says its succeed. But the latest data is not showing in the report.

 

What might be the issue here?

 

8 REPLIES 8
V-lianl-msft
Community Support
Community Support

Hi @powerbbbuuuuu ,

 

This thread may also help. Add credentials to web.contents and set up anonymous connection.

https://community.powerbi.com/t5/Power-Query/Data-source-does-not-update-in-web-Power-BI/td-p/182262 

 

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

Hi @powerbbbuuuuu ,

 

Is this problem sloved?
If not, please let me know.

 

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

Ajinkya369
Resolver III
Resolver III

Hey @powerbbbuuuuu ,

 

Yes please install the gateway from the link given below:

https://powerbi.microsoft.com/en-us/gateway/

 

Please follow the instructions given in this documenation to install the gateway:

https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem

 

If your problem is solved then please accept this as solution.

 

Thank you

amitchandak
Super User
Super User

@powerbbbuuuuu , publish to web/embedded data or when open on power bi service data is nor refreshed.

 

I faced this with published/share to the web dashboard was not showing the latest data yesterday, but it is correctly reflecting today.

 

Power bi desktop and when I open on service from workspace link. it was working.  Not the published link. But today publish link also showing the latest data.

 

 

AllisonKennedy
Super User
Super User

Can you confirm you are doing the schedule refresh on the dataset and not just refreshing the dashboard? What function are you using after web.contents and do you have a gateway?

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

@AllisonKennedy 

Thanks for the quick response.

 

Yes, the refresh scheudle was set on the datasets.

 

The code looks like: Source = Json.Documents(Web.Contents( "In there, It's just the urls that calls the API for data")).

 

Currently, there is no gateway set. Is this the issue?

Hi @powerbbbuuuuu ,

 

1. Install the on premises gateway

2.Use the on-premises data gateway app
3. When configuring the source, use "Anonymous credentials" AND mark "Skip test connection"

 

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

You should be able to see the refresh history on the dataset, what does that look like? https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-data#:~:text=You%20can%20find%20a%20l....

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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