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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to schedule PowerBI Desktop file Data Refresh and Publishing

I have a db in sql with a large data set and I am importing the data to PowerBI.

The fact table have over 13 million transactions; another table is TransactionEntry with about 25 million rows of data.

I connect them with TrxID, with 1 to MANY relationship.

In addition, I have the following smaller tables ITEM, STORES, DEPARTMENT, DESCRIPTION, CATEGORY tables.

Sales Data is imported starting from 2016 till date.


I made my report with PowerBI Desktop. And PUBLISHED my file to PowerBI Service so I can share it with the team.

 

My question is :

Since we work in retail, the sales data updates everyday, my current practice is that I REFERESH DATA everyday on PowerBI file and then PUBLISH the file to PowerBI Service. this takes 1 hour on an avarage. 

 

Is there a way to automate the REFRESH DATA and then PUBLISH process?

 

Thank you for your support and help

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , As per what I got from the description.

 

I think you have install a gateway and schedule refresh in power bi service too.

 

https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-data#data-refresh

https://radacad.com/the-power-bi-gateway-all-you-need-to-know

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks Amit,

I have the gateway in pleace. but the real problem is that i have to REFRESH data in the PBi Desktop file before Publishing.

How can i automate the first step i.e REFRESH data in the PBi Desktop file?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.