Welcome! Power BI User Group (PUG)
Transcript of Welcome! Power BI User Group (PUG)
![Page 1: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/1.jpg)
Welcome!Power BI User Group (PUG)
Copenhagen
![Page 2: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/2.jpg)
Connect to Data in Power BI Desktop
Just Thorning Blindbæk
Consultant, Trainer and Speaker
![Page 3: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/3.jpg)
Connect to Data in Power BI Desktop
• Basic introduction to data connectivity in Power BI Desktop
• It’s fun and easy to connect
• Currently 73 connectors and more to come!
• Understanding of the four connectivity modes
![Page 4: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/4.jpg)
Session Agenda
• Discover and import data
• Clean, transform and reshape data
• Merge and combine
• Power Query Formula Language
• Connectivity modes
![Page 5: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/5.jpg)
Meet Your Presenter
• Microsoft BI consultant at justB
• Trainer at Orange Man
• Founder of MsBIP.dk
• Worked with Microsoft BI in 11 years
• Strong focus on the front-end• Analysis Services• Reporting Services• PerformancePoint Services• Excel and Power Pivot• Power BI
• [email protected] / blog.justB.dk
![Page 6: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/6.jpg)
![Page 7: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/7.jpg)
Self-Service ETL
• Background as Power Query in Excel
• Now called “Get and transform” in Excel 2016 and Power BI Desktop
• Importing data from multiple data sources
• Cleaning and transforming that data
• Making the data import process easily repeatable
![Page 8: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/8.jpg)
Discover and import data
• Data profiling
• Connectors• Files
• Database
• Azure
• Online Services
• Other
• Create your own
![Page 9: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/9.jpg)
![Page 10: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/10.jpg)
Clean, transform and reshape data
• Reduce rows
• Transform
• Combine
• Add columns
![Page 11: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/11.jpg)
Where Does The Work Take Place?
• Where possible, Power Query pushes processing work back to the data source• This is called ‘query folding’
• So, for example, with SQL Server as the data source, a multi-step transform is translated into a single SQL query
• This can’t happen with certain data sources such as csv and webpages, for obvious reasons
• In general this improves performance but you can prevent it happening in code
![Page 12: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/12.jpg)
![Page 13: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/13.jpg)
The M Language
• Power Query is a GUI built on top of the M language
• M is a functional language similar to F#
• For more complex queries it is possible to write your own code in M
• It’s not consistent with Excel formula language or VBA
• But it is extremely powerful and fun to use
![Page 14: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/14.jpg)
![Page 15: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/15.jpg)
Introduction
• Power Query is the key to allowing data refresh against multiple data sources from on-premises and the cloud
• Both scheduled refresh and direct refresh
• Need to install Gateway component on-premises
![Page 16: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/16.jpg)
On-premisesData Gateway
Live connection
Import data
![Page 17: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/17.jpg)
Import data
• Scheduled refresh• Row-level security in data model
• Sources – All • SQL Server• Analysis Services• SAP Hana, SAP BW• Oracle, Teradata, IBM DB2, IBM Informix Database, Sybase, MySQL• ODBC• SharePoint lists• Web og OData• File (CSV, XML, Text, Excel, Access)
![Page 18: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/18.jpg)
Power BI Service, Import data
Data WarehouseKilde systemer
SQL Server
Data Mart Front End
PowerBI.com
![Page 19: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/19.jpg)
Live query
• Row level security with EffectiveUserName property
• Sources• SQL Server Analysis Services Tabular
• SQL Server Analysis Services Multidimensional
• Azure Analysis Services (Tabular)
![Page 20: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/20.jpg)
Power BI Service, Live query
Front EndData WarehouseSource systems
SQL Server – minimum 2012SP1 on datamart
PowerBI.com
Data Mart Front End
PowerBI.com
![Page 21: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/21.jpg)
![Page 22: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/22.jpg)
Direct Query
• Scenario:• Near-real time data
• Etc. Sales today
• Sources• SQL Server
• SAP HANA
• Oracle
• Teradata
![Page 23: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/23.jpg)
Real-time
• Stream (push) data to dataset• Rest API / Azure Stream Analytics integration
• Limitations• 10.000 max rows per single POST rows request• 1.000.000 rows added per hour per dataset
![Page 24: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/24.jpg)
Connectivity modes recap
Import Live Query Direct Query Real-time
Sources Muliple sources Single source Single source Single source
Transformations No limitations No transformations Some limitations No transformations
Modelling No limitations Create measures Some limitations Create measures
Report performance Best Good Depend on source Best
Latency Scheduled refresh Depend on source Near real-time Real-time
Row Level Security Fixed credentials Pass credentials Fixed credentials Fixed credentials
![Page 25: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/25.jpg)
On-premises data gateway
• Needed with Live Query, Direct Query and Scheduled refresh
• Install and configure• Windows Service account
• Ports
• Monitoring and auditing
![Page 26: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/26.jpg)
Questions and input
![Page 27: Welcome! Power BI User Group (PUG)](https://reader031.fdocuments.in/reader031/viewer/2022012409/616a40a311a7b741a3507a55/html5/thumbnails/27.jpg)
Thank you for Attending!
Don’t forget to join your local PUG to enjoy year-round networking and learning.
www.pbiusergroup.com/denmark
www.pbiusergroup.com/sweden
www.pbiusergroup.com/gebruikersgroep