Introduction to Power BI
Power BI is a data analytics tool used to turn raw data into interactive reports and dashboard. It enables users to obtain insights, visualize data and make decisions that are data driven.
Publishing and Embeding Process
In Power BI, this process involves workspace creation in a Power BI service, thereafter you upload and publish the Power BI report, before you generate and embed code and lastly embedding the report to the website.
1. Creating a Workspace
In Power BI, a worksapce is a collaborative shared enviroment for hosting dashboards, reports and managing datasets. Below are steps and examples of how to create a workspace.
Step 1: Open your browser and click this website https://app.powerbi.com/home?experience=power-bi
Step 3: Once you're logged in, go to the left navigation paneand click workspaces.
Step 5: Lastly enter the workspace name and description to the pop up then click apply to save.
2. Uploading and Publishing a Power BI report
Open the Power BI report in your computer then click Publish which is located at the top right.
Thereafter select your workspace and the report will be uploaded and the and becomes accessible online.
3. Generating the embed code
Power BI enables us to embed reports via iframe code. To begin you need to open the report in the Power BI service, then click file, hover down to embed report and lastly click website or portal to create the embed code.
4. Embedding the Report on a Website
Since we now have the code, we can easily intergrate it in the HTML code. Open this website in your browser https://www.w3schools.com/html/ and copy the html code.
Open a text editor and go back to the desktop a create a folder with a name of your choice. Go back to the text editor and and open a new folder and select the folder you created.
Now in the text editor go to the folder you created and create a new file with a name of your choice, then paste the HTML code that was earlier copied. Finally, in the text editor delete line nine of the html code and replace it with the embed code and save then open the folder you created in the desktop and open the file in the folder which leads to this page below.
Lastly sign in to the page and your report will be visible.
Conclusion
Publishing a power BI report and embedding it enables the sharing of insights not only on the Power BI platform. If there is proper optimization and security , embedded Power BI reports has the potential to become a powerful feature of modern data-driven websites.














Top comments (0)