When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

You can now create Power BI reports directly in Jupyter Notebooks

Microsoft Power BI yellow on the left grey on the right

Earlier this month, Microsoft went over the feature roundup for Power BI Desktop for this month - discussing support for Windows 365, among other items. A couple of days before that, a new Tabular Model Definition Language (TMDL) was unveiled for the data analytics platform.

Showcases execution of code in a Jupyter Notebook that allows for the creation of a Power BI report Today, the tech giant has introduced a powerful new feature for the Power BI Jupyter Notebook library, allowing data-based reports to be created directly into Notebooks. The feature is generally available to all users.

Previously, adding reports to Jupyter Notebooks would require either Power BI data to be exported first, or some separate tool to be utilized for the process. The new capability simply requires using the updated Power BI Client library for Jupyter, along with a few relevant models from the package. Once a dataframe has been created using the ubiquitous Pandas library, a couple of lines of code is all it takes to generate interactive visualizations that are customizable as well, as noted below:

# Create a Power BI report from your data
PBI_visualize = QuickVisualize(get_dataset_config(df), auth=device_auth)

# Render the new report
PBI_visualize

Once the report has been finalized, users can keep it in their notebook, or even manually save them to be shared with other relevant people. The saved reports can be loaded in other notebooks as well.

The updated Power BI Client for Jupyter can be downloaded here at PyPi, with the open-sourced Python package being available on GitHub along with complete documentation and demos.

Report a problem with article
asus rog ally prototypes
Next Article

Check out these wild prototypes for the ASUS ROG Ally portable gaming PC

A Firefox logo with 11202 version number next to it
Previous Article

Firefox 112.0.2 fixes high memory usage, broken notifications on Windows 8, more

Join the conversation!

Login or Sign Up to read and post a comment.

0 Comments - Add comment