Welcome to SQLSaturday #767! Hosted by Lincoln SQL Server User Group Visit http://Lincoln.pass.org for meeting & group information
Athletic Performance Analysis with Power BI Husker Power BI Athletic Performance Analysis with Power BI Brett Powell October 27, 2018
About Me BI Consultant Frontline Analytics Author Power BI Cookbook Mastering Power BI Blog Insight Quest PUG Leader Boston BI Contact Info: @BrettPowell76 Brett.Powell@FrontlineAnalytics.net
Frontline Analytics Microsoft Power BI Partner Four Practice Areas: Boston, MA Four Practice Areas: Advisory Solution Design Solution Development Performance Tuning Service Example Deliverables Advisory Current state assessment and recommendations Solution Design Power BI and Azure architecture, dimensional models Solution Development Power BI Datasets, Analysis Services Models Customization: DAX, M, T-SQL, TMSL, PowerShell Performance Tuning Data model and query enhancements Typical engagement: Assessment Design & Develop Review & Training 10/27/2018
Session Agenda 1. Power BI and Solution Overview 2. User Experience 3. Dataset Development 4. Report Development 5. Administration
Husker Power BI Power BI and Solution Overview
Power BI Overview Power BI service Power BI Desktop On-Premises Data Gateway 10/27/2018
Husker Power BI Solution Power BI Service Content Stored in App Workspace Dataset, Reports, Dashboards Content Distributed via Apps Accessed by browser, mobile apps Power BI Desktop Report Development Dataset Development On-Premises Data Gateway Scheduled data refresh of dataset Power BI Service App Workspace App Publish / Update Husker Performance Training On-Premises Gateway SQL Server HuskerDW Database 10/27/2018
Requirements and Source Data Users: Coaches and Training Staff “Are players getting bigger, stronger, and faster?” “Which players and positions are improving?” “Are players exceeding plans (expectations)?” Data Player body composition and training results Four fact tables: Actuals: Body Composition, Strength, Athleticism Player Plans Three dimension tables Player, Coach, and Date Data Warehouse SQL Server 2017 (On-Premises) 10/27/2018
Husker Power BI User Experience in Power BI
Publishing/Updating an App Power BI Apps Distribute packages of related content to groups of users One-to-one relationship with App Workspaces Apps Menu in Power BI Publishing/Updating an App 10/27/2018
Dashboards Consolidated panes of tiles in the Power BI service Linked to other dashboards or reports Dashboard 10/27/2018
Reports Interactive data visualization created in Power BI Desktop Drill up/down, slice, cross-highlight Reports 10/27/2018
Husker Power BI Dataset Development in Power BI Desktop
Roles and Layers of Power BI Desktop Power BI Desktop Roles: Dataset Development (Modeling) Report Authoring Power BI Desktop Layers: Power Query M Language Data Modeling DAX Language Visualization DATASET Power Query Data Source Connectors Transformations (Optional) Joins, Filters, Derived Columns…. Parameters Data Modeling Relationships DAX Measures Aggregations, Time Intelligence Row-level security Hierarchies REPORT Visualization Standard and Custom Visuals Report Themes (Default colors, formats) Bookmarks, Drillthrough, Filters, Tooltips... 10/27/2018
Power Query Editor Used across MS Platform: Parameters for Data Source Excel, MS Flow, PowerApps, Data Flows Parameters for Data Source Staging query Separated Dimension and Fact Queries All queries ‘fold’ to source (SQL) View Native Query Derived columns created via Power Query (M) Power Query Editor 10/27/2018
Data Model Relationships DAX Measures Security Roles Storage Mode Table Filters View as Roles Storage Mode Import DirectQuery Dual Relationships View Row-level Security Fields List 10/27/2018
Husker Power BI Report Development in Power BI Desktop
Power BI Report Authoring Reports separate from dataset Live Connection or DirectQuery Leverage single source Typically separate roles in teams Dataset Designer Report Author Dashboards based on reports Created in Power BI service Dashboards Team Training Performance Reports Team Performance Offense Performance Defense Performance Datasets Husker Power BI Live Connections to PBI Datasets 10/27/2018
Report Themes and Phone Layout Pre-defined formatting Corporate colors Phone Layout Optimize mobile experience for users Report Theme Visual Formatting Phone Layout 10/27/2018
Report Page Tooltips and Drillthrough Custom report page for added context Detect automatically or manual assignment Drillthrough Report Page Custom report page individual item (dimension member) Report Page Tooltip Drillthrough Report Page 10/27/2018
Expression-Based Formatting Embed custom logic in DAX expressions to define formatting properties Background and font colors Bind formatting to these custom expressions Example: Apply different thresholds based on the player’s position Custom Formatting Rules Format by Field 10/27/2018
Husker Power BI Administration
Administer Power BI Service Power BI Admin Portal Power BI Service Administrator Role Tenant Settings Install apps automatically Exporting data Gateway Clusters HuskerDW Data Source Administrators, Users & Sources Scheduled Data Refresh Admin Portal Gateway Portal 10/27/2018
Power BI Management PowerShell Module PowerShell Cmdlets Power BI Management module Retrieve datasets, reports, dashboards REST API for GET and POST request Use Cases Adding/Removing Users Retrieving and exporting metadata Dashboards, reports, workspaces, datasets Restoring workspaces PowerShell output PowerShell export 10/27/2018
Thank You Go Big Red 10/27/2018
Be sure to give our sponsors some #SQLLove