I recently completed a Power BI project, an electronics sales dashboard built from a raw CSV file. Cleaning the data, modeling the tables, writing DAX measures, all of that happened in Power BI Desktop.
This article covers what happens next: getting that report out of your computer and onto the internet where it can actually be used.
1. Create a Workspace
Before publishing anything, you need a workspace. In Power BI Service, a workspace is essentially a folder that holds your reports and datasets.
Go to app.powerbi.com and sign in. On the left navigation panel, click Workspaces, then click “New workspace”.
2. Publish from Power BI Desktop
Go back to Power BI Desktop, press Ctrl + S to save your file, then go to the Home tab in the ribbon and click Publish on the right side.
A dialogue box appears asking where to publish. Select the workspace you just created and click Select.
3. Generate the Embed Code
Now that the report is live in Service, you need the embed code to place it on a website.
With the report open in the browser, click File in the top menu. Hover over Embed report and select Publish to web (public).
You can also embed the report using the other option “Website or portal” copy the iframe code
4. Embed It in a Webpage
Open any HTML file in VS Code or a text editor of choice. Paste the iframe code where you want the report to appear. Save the file and open it in a browser.
Your report is now published and the link is ready to share.




Top comments (0)