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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Resident Rockstar
Resident Rockstar

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors