What Power BI Service is
Power BI Desktop lets you create reports, but you can’t embed an interactive chart into a website directly from Desktop. For that you needPower BI Service.
It’s a cloud platform where:
- reports are hosted;
- data refresh is performed;
- the embed code is generated;
- publishing is managed.
Preparing the report in Power BI Desktop
Before publishing, you need to prepare the report:
- import the data (Excel, CSV, SQL, etc.);
- tidy up the data withPower Query;
- build the model and relationships, and understand howrow and filter context;
- create visualizations andKPIs.
A tidy report structure matters not only in the Desktop file. How conveniently the report will be used on the website also depends on it.
Publishing to Power BI Service
Once the report is ready:
Home → Publish → Workspace
The report will be uploaded to Power BI Service, where you can review it, refresh it and prepare it for publishing on a website.
“Publish to web”
To embed the chart on a website:
- open the report in Power BI Service;
- selectFile → Embed report → Publish to web;
- confirm public publishing;
- copy the
<iframe>code.
If you want to see the entire Power BI workflow from data preparation to DAX calculations and publishing, it’s worth reading:the full Power BI guide from Power Query to DAX.
How to embed the chart on a website
The copied code is pasted into HTML. Below is a real interactive Power BI chart example:
What you need to know about security
When using “Publish to web”, the data becomes publicly accessible. This means:
- sensitive data cannot be used;
- user access control cannot be applied;
- the data may be indexed by search engines.
If you need security, it’s worth choosing Secure Embed, Power BI Apps or other access-control solutions.
What to read next
Conclusion
Power BI lets you embed interactive charts into a website in a few minutes. The process is simple:
- prepare the report;
- publish it to Power BI Service;
- copy and paste the iframe code.
Such charts provide great value – users can analyze the data directly on the website, without additional tools.
Power Query cheat sheet: automate your report
The key steps, the 5 common mistakes, and when automating is worth it.
- PDF · 2 pages, practical
- No spam — value only
