First things firstThere are a couple of things we need to do to make this magic possible.
- Download Power BI Desktop. You're going to need something to author and publish your Power BI reports with. That's Power BI Desktop which can be downloaded here.
- Create a Power BI account. This account will allow you to publish your reports to the web, from where your web page will display them.
- Create a Power BI report that you'd like to share with the world.
Put yourself out there
Now that you have the proper tools and accounts and have created a deeply insightful report, it's time to publish your report to web. Publishing your report puts it on the Power BI servers and makes it available to share with your millions of adoring fans.
- If you haven't already, open your Power BI report in Power BI Desktop.
- Navigate to File -> Publish -> Publish to Power BI.
- Choose your workspace and publish.
Now that you've published your report to Power BI it is available for you to "embed" in your web page. I have been putting "embed" in double quotes because Microsoft uses this term for another, more feature-rich (and not free) approach to sharing Power BI reports that we're not going to get into here. The approach we're going to use here simply uses an iframe to expose your Power BI hosted report in your own web page.
- Open your report on the Power BI website.
- Navigate to File -> Publish to Web.
- Copy the embed code
- Paste the embed code into your web page.
Bask in the glory
Start spinning up that HDFS cluster to handle all the web log data that will be coming in now that your website has fancy shmancy reporting for all the world to see ... for free (the reporting, not the hdfs).