Home Tutorials Power BI Tutorial File handling and publishing
File handling and publishing

File handling and publishing


Publishing to the Power BI Service

Description: Publishing is the process of moving your report from your local computer (Power BI Desktop) to the cloud (Power BI Service). This transition transforms a local file into a secure, accessible web-based asset that can be viewed in a browser or on mobile devices.

Why: While reports are built in Desktop, they are meant to be consumed in the Service. Publishing is the "gateway" to the collaborative features of Power BI, such as sharing with colleagues, pinning visuals to high-level dashboards, and setting up automated security roles.


The Publishing Workflow

Before you begin, ensure you have an active Power BI account and an internet connection:

  1. Finalize: Save your .pbix file in Power BI Desktop and ensure your visuals are looking exactly as you want them.
  2. Click Publish: Locate the Publish button on the far right of the "Home" ribbon.
  3. Select Destination: Choose a Workspace. Beginners usually start with "My Workspace," while teams use "App Workspaces" for collaboration.
  4. Access: Once the "Success" message appears, click the link to open the report in your web browser.

Pro-Tip: Once a report is published, you can use the "Pin to Dashboard" feature in the Service. This allows you to pick the most important visuals and put them on a single-page summary for executive viewing.

Scheduled Refresh

Description: Scheduled Refresh is a feature in the Power BI Service that automatically updates your report's data at specific times. Instead of manually clicking "Refresh" every day, the Service connects to your data source (like a SQL database or a cloud-hosted Excel file) and pulls in the latest information on its own.

Why: Business decisions need current data. Without a scheduled refresh, your dashboards would quickly become outdated. This feature ensures that when a manager opens a report on Monday morning, they are seeing the sales from Sunday night without any manual intervention from the analyst.


How It Works

The refresh process depends on where your data is stored:

Data Source Refresh Method
Cloud Sources (e.g., SharePoint, Azure SQL) Power BI connects directly to these in the cloud.
On-Premises Sources (e.g., Local Excel, Local SQL) Requires a Gateway to act as a bridge between your computer and the cloud.

Setting the Schedule

  • Frequency: You can set reports to refresh Daily or Weekly. Users with a Pro license can refresh up to 8 times per day.
  • Time Zones: Always ensure you set the refresh time to your specific time zone so the data is ready before your workday starts.
  • Failure Notifications: You can check a box to receive an email if a refresh fails (e.g., if a password changed or a file was moved), allowing you to fix the issue before users notice.

Key Notes

  • Gateway Necessity: If your Excel file is saved on your "C: Drive," the cloud cannot "see" it. You must either move the file to OneDrive/SharePoint or install the Power BI Gateway software.
  • Semantic Model: When you refresh a report, you are actually refreshing the Semantic Model (the data) underneath it. All reports and dashboards connected to that model will update simultaneously.

🏋️ Test Yourself With Exercises

Take our quiz on File handling and publishing to test your knowledge.

Browse Quizzes »