cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sufiyanakhtar
Helper I
Helper I

Power BI report not refreshing after publishing

I have a pbix which has a DirectQuery to SQL Server table and an import mode table also from SQL Server. I have enabled Automatic refresh every 2 seconds and it works fine on Power BI desktop but after publishing the report, the data doesnt automatically refresh as on Power BI desktop unless I manually refresh.

Please help me as I want the data to be automatically refreshes every 2 secinds on the publshed report as well.

2 REPLIES 2
v-xiaosun-msft
Community Support
Community Support

Hi @sufiyanakhtar ,

 

You can set up automatic page refresh for reports that have been published to the Power BI service, provided that the data source is Direct Query.

 vxiaosunmsft_0-1664431152887.png

If you want to configure the scheduled refresh to refresh the data, you need to follow the steps below.

Since your PBIX is a Direct Query to SQL Server table and an import mode table also from SQL Server, it will be a mixed model and it will perform a data refresh.

Firstly, connect to a gateway.

Then, you can configure scheduled refresh and set refresh frequency to daily or weekly.

vxiaosunmsft_1-1664431152892.png

There are some limitations.

On shared capacity: scheduled refresh can only refresh at most 8 times/day, and the maximum refresh duration is 2h.

On Premium capacity: scheduled refresh can only refresh at most 48 times/day, and the maximum refresh duration is 5h.

 

Please refer to the following documents.

Automatic page refresh in Power BI Desktop - Power BI | Microsoft Learn

Data refresh in Power BI - Power BI | Microsoft Learn

 

Best Regards,
Community Support Team _ xiaosun

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

StefanoGrimaldi
Super User
Super User

first the auto refreshing page option will give you a refresh on the report upon the data on the model itself does not refresh the data itself, the import mode tables need to schedule the refresh on the dataset itself first enter the dataset go to programmed refresh and turn it on and se the times it will update. 

 

also datasets only auto refresh upon publising when theres a change that need the metadata and data to be reoload as when using parameters and its affected etc. 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors