TUGA IT SUMMER EDITIONtugait.pt/wp-content/uploads/2018/08/Rui-Romano... · BI Portal Self-Service...
Transcript of TUGA IT SUMMER EDITIONtugait.pt/wp-content/uploads/2018/08/Rui-Romano... · BI Portal Self-Service...
“Start Small and Grow Big” step by step• Customer case study• Evolve a Power BI model into Azure AS• Tools
This session is not:
• Intro to Power BI• Intro to Azure Analysis Services• Deep dive
7
Analysis
Data
Extraction
(ETL)
Data
Warehousing
Analytical
Models
(cubes,…)
Reports &
Dashboards
~6 months
8
Analysis ETLData
Warehousing
Analytical
Modeling
(cubes,…)
Reports &
Dashboards
• Connect to Data (real or mock)
• Report -> Data vs Data -> Report
• Build Analytical Model (PowerBI)Prototype
• Collect Feedback
• Adjust
Dashboards
& Reports
Evolve (if justifiable)
Cloud
SAP HANA
SAP Hana
Sales
Stocks
Purchases
Accounting
EXCEL Files
Excel Files
Sales Budgets
Accounting
Budgets
Power BI2nd..5th Month
Cloud
Power BI
From SAP Hana
Sales
Stocks
Purchases
Accounting
…
From EXCEL Files
Sales Budgets
Accounting
Budgets
…
ETL Processes
Azure SQL DB
(DW)
Accounting. HR
Accounting Budgets
6th MonthAzure Analysis Services
EXCEL
Near Future
Internal Sources
Data Zone Analytical Zone
Analytics Layer
Corporate Model
Sources
SAPA HANA
POS Data
Excel Files
Office 365
…
…
…
ETL Processes (Metadata driven)
ETL
Pro
cess
es (M
etad
ata)
External Sources
…
…
Other
Data Streaming
Data Cleansing
Semantic Model
Self-Service Layer
SemanticModel
Semantic Model
Information Zone
Visualization & Data Exploration
Corporate Reporting
Data Discovery
Dashboards & Scorecards
BI Portal
Self-Service Reports
Power BI
DataWarehouse Layer
Data Warehouse
Data Mart
Data MartData Mart
Data Archive
Encryption
Multiple Sources
Hadoop Cluster
Azure Data Lake + Analytics / HDInsight
Advanced Analytics
Machine LearningAzure ML / WB / ?
IOT Devices
Azure SQL DBAzure SQL DW
Azure ASPolybase
PBIX to AS – Steps
• Why evolve to Azure AS?• Total Control: Partitioning, Refresh, DevOps• More data (pbi limited to 1GB in PRO)
• Steps1. Convert PBIX to Analysis Services Project
• Azure AS WebDesigner, PowerBIPS.Tools, Manual
2. Convert from file sources (ex: Excel) to databases (ex: SQL Server) - Optional
3. Rebind all the existing reports• PBI Desktop or Online using REST API’s
Azure AS
Power BI
PBIX to AS – Azure AS Web Designer
• Issues w/ big .pbix files (+ 50MB)• All or Nothing (error on unsupported datasources, ex: Sharepoint)
PBIX to AS – Manual Process
• Power BI is an Analysis Services Database!• Steps:
1. Connect w/ SSMS (DaxStudio)2. Script the PowerBI model database and copy it into model.bim3. Change partition type from Import to M4. Copy-Paste the M code into the table partition5. Declare the datasource on VS6. Deploy!
PBIX to AS – PowerBIPS.Tools
• Use PowerBIPS.Tools• Convert-PowerBIDesktoptoASTabular
• Not Perfect!• But better than nothing ☺
PBIX to AS - M to SQL - Optional
• Accelerate your DW/DataMart creation w/ PowerBIPS.Tools cmdlet:• Export-PBIDesktopToSQL
PBIX to AS - Report Rebind
• Using Power BI Desktop
• Edit Queries + Delete + Connect
• Using the REST API’s
• PowerBIPS – Set-PBIReportsDataset
AS - Usage Monitoring
• Activate Azure AS Diagnostics
• Correlate w/ Power BI Audit Logs
• Measure & Report on:• Top Reports / Users
• Most expensive queries
• Usage over time
AS - Resource Automation
• Automatically scale up/down, on/off your Azure AS database
• Solutions
• PowerShell – Azure RM
• Azure REST API’s
Contacts
https://ruiromanoblog.wordpress.com/
@RuiRomano
https://github.com/DevScope/powerbi-powershell-modules
https://github.com/DevScope/azure-powershell-resourcemanager
https://github.com/DevScope/ssas-powershell-modules
Links