Learn the basics to get started using Python with Power BI. We show you how to set up the software and what libraries are needed. Learn how to use Python scripts to create data, connect to an existing data source, build a report and transform data with Power Query Editor.
See the video and download this deck: https://senturus.com/resources/python-with-power-bi/
Senturus offers a full spectrum of services for business analytics. Our resource library has hundreds of free live and recorded webinars, blog posts, demos and unbiased product reviews available on our website at: https://senturus.com/resources/
2. 2
Hundreds of resources
Visit the Resource Library
on the Senturus website
to download this presentation
and explore other assets:
Senturus.com/resources/
2
4. 4
Agenda
• Introductions
• Discussion of Python &
Power BI
• Demos
• Additional resources &
Senturus Overview
• Q&A
4
Topics
• Python basics
• Configuring Power BI
Desktop
• Using Python for data
• Python visualizations
• Transforming data
5. Enjoy the full webinar presentation
This slide deck is from the webinar Using Python with Power
BI
To view the FREE video recording and download this deck,
go to https://senturus.com/resources/python-with-power-bi/
5
6. 6
What is Python?
• An interpreted, interactive, object-oriented programming
language
• Combines power with a straight-forward, easy to
understand syntax
• Is portable to Windows, Linux and MacOS
• Is fully extensible with C or C++
• Named after Monty Python’s Flying Circus
6
7. 7
Why Python with Power BI?
• Can help with automation, creating visuals and creating
machine learning modules
• Using Python allows access to additional visualizations
libraries
• When combined with Power Query, Python can be used for
data cleansing, advanced data shaping and predictions and
clustering
7
8. 8
Installing Python
• A base installation of Python is required
• Requires two Python packages before scripts can be used:
• Pandas
• A software library for data manipulation and analysis. It offers data structures and
operations for manipulating numerical tables and time series
• Matplotlib
• A plotting library for Python and its numerical mathematics extension NumPy
• Provide an object-oriented API for embedding plots into applications using general-
purpose GUI toolkits – e.g. Tkinter, wxPython, Qt, or GTK+
8
9. 9
Configuring Python for Power BI
Once Python and associated
libraries are installed,
configure Power BI
9
10. 10
Data creation
Python scripts can be used to
either hard code data frames
or a connection script can be
created to use existing data
sources
10
14. Data manipulation
• Scripts can be used in Power Query Editor
• Data can be shaped in multiple ways:
• Completion of missing data
• Pivoting data
• Column and row removal
• Predictions
• Clustering
14
15. 15
Pandas quick reference
Print this Data wrangling with
pandas cheat sheet
https://pandas.pydata.org/Pandas_
Cheat_Sheet.pdf
15
16. 16
See the Power BI demos
To view these demos and download
the slide deck go to
https://senturus.com/resources/python-
with-power-bi/
16
• Creating an enterprise
workbook
• Configuring Power BI
and libraries
• Creating data
• Building a visualization
• Transforming data
17. Python & Power BI benefits
• Access to re-using existing code
• More visualizations than currently available in Power BI
• Greater flexibility in retrieving data from tricky sources
• A potential replacement for cumbersome M scripts
• Access to pre-existing scripts to leverage in your workbooks
17
18. New self-paced class
Power BI & Python
https://senturus.com/training-courses/power-bi/power-bi-python/
18
20. Upcoming event
•What’s New in Cognos 11.2.1
• With IBM’s Rachel Su
• Thursday, Oct 28, 11am PT/2pm ET
• Register: https://senturus.com/resources/whats-new-in-cognos-11-2-1/
•Easily Connect Power BI & Tableau to Cognos Data
• Senturus Analytics Connector demo
• Thursday, Nov 14, 2021, 11am PT/2pm ET
• https://senturus.com/resources/use-visual-analytics-tools-with-trusted-cognos-data/
20
21. Your path to modern BI
Accelerating self-service analytics
for the enterprise
21
23. Full spectrum of BI services
• Data preparation and modern data warehousing
• Dashboards, reporting and visualizations in Power BI, Cognos
and Tableau
• Hybrid BI environments (migrations, security, etc.)
• Software to accelerate bimodal BI and migrations
• BI services and support retainer (expertise on demand)
• Training and mentoring
23
25. A long, strong history of success
•20+ years
•1350+ clients
•3000+ projects
25
26. 26
Join the
Senturus team
We’re hiring talented and experienced professionals
• Senior Cognos BI Architect/Project Manager
• Senior Microsoft BI Architect
• Senior Azure Architect
• Modern Analytics Solution Architect
• ETL Developer
• And more
See job descriptions: https://senturus.com/company/business-analytics-careers/
Send your resume to: jobs@senturus.com
The first question we usually get is “Can I get a copy of the presentation?” Absolutely! It’s available on Senturus.com. Select the Resources tab and then Resources Library.
Or you can click the link that was just posted in the GoToWebinar Control panel.
Be sure to bookmark the resource library. It has tons of valuable content addressing a wide variety of business analytics topics.
Joining us today is…..Patrick Powers
Patrick has 20 years of experience in data science, business intelligence and data analytics. He is a Tableau Certified Associate and a Cognos expert whose product experience goes back to version 6. He is also versed in Actuate, Hyperion and Business Objects. His certifications include multiple programming languages, including Java and C++, and database certification (MS SQL).
Data is everywhere and you can create a quick Tableau Dashboard using just about anything. But the old garbage in garbage out principal often applies…. And end of the day the data behind your dashboards needs to be accurate, informational and up to date. ???
Good data is an absolute requirement to make accurate projections which in turn drives supply chains and helps people make informed decisions. Today we are really seeing how important good data is.
Data is everywhere and you can create a quick Tableau Dashboard using just about anything. But the old garbage in garbage out principal often applies…. And end of the day the data behind your dashboards needs to be accurate, informational and up to date. ???
Good data is an absolute requirement to make accurate projections which in turn drives supply chains and helps people make informed decisions. Today we are really seeing how important good data is.
Data is everywhere and you can create a quick Tableau Dashboard using just about anything. But the old garbage in garbage out principal often applies…. And end of the day the data behind your dashboards needs to be accurate, informational and up to date. ???
Good data is an absolute requirement to make accurate projections which in turn drives supply chains and helps people make informed decisions. Today we are really seeing how important good data is.
Learn how to leverage the power of Python scripts within the Power BI Desktop environment. Learn how to create and access data for visualizations and transform data through Power Query using Python. Half-day. Available On-demand or can taught to private groups
Senturus provides 100s of free resources on our website. We have been committed to sharing our BI expertise for over a decade. Go to Senturus.com/resources
You can also see recordings of Patrick’s two last webinars: Power BI Builder and Paginated Reports AND Power BI Data Cleansing and Power Query Editor.
Also Patrick will be presenting Extending Power BI Functionality with R
on December 2
Can register on our website in the next week or two.
At Senturus we concentrate our expertise on business intelligence with a depth of knowledge across the entire BI stack.
At Senturus, our clients know us for providing clarity from the chaos of complex business requirements, disparate data sources and constantly moving targets.
We have made a name for ourselves because of our strength at bridging the gap between IT and business users.
We deliver solutions that give you access to reliable, analysis-ready data across the organization so you can quickly and easily get answers at the point of impact: the Decisions you Make and Actions you Take.
Our consultants are leading experts in the field of analytics, with years of pragmatic, real-world expertise and experience advancing the state-of-the-art.
We’re so confident in our team and our methodology that we back our projects with a 100% money back guarantee that is unique in the industry.
We provide training in the three top BI platforms. We are ideal for organizations running multiple platforms or those moving from one to another.
We can provide training in many modes and can mix and match to suit your user community.
We have been focused exclusively on Business Analytics for 20 years. (2001 start)
We have worked across the spectrum from Fortune 500 to mid market, we have solved business problems across many industries and function areas including in the office of finance, sales and marketing, manufacturing, operations, HR and IT
Our team is large enough to meet all your business analytics needs yet small enough to provide personal attention.