using a gateway to leverage on premises data in power bi

21
Using a Gateway to Leverage On- Premises Data in Power BI Adam Saxton Sr. Content Developer @GuyInACube Adam Saxton

Upload: adam-saxton

Post on 15-Apr-2017

147 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Using a gateway to leverage on premises data in Power BI

Using a Gateway to Leverage On-Premises Data in Power BIAdam SaxtonSr. Content Developer@GuyInACube

Adam Saxton

Page 2: Using a gateway to leverage on premises data in Power BI

Adam Saxton

@guyinacube /guyinacube/guyinacube

I write stuff and create

videos…

Page 3: Using a gateway to leverage on premises data in Power BI

Starting with Power BI Desktop

Page 4: Using a gateway to leverage on premises data in Power BI

SQL Server Analysis Services

Live Power BI reports &

dashboards

Live query

Cloud

On-premises

Data Source

Data Source

Direct query

Scheduled refresh

Getting data into PBI DesktopThree options:• Import• DirectQuery• Live connections (SSAS only)

Data pulled into PBI Desktop

Data is streamed from

source

Page 5: Using a gateway to leverage on premises data in Power BI

Supported import sourcesSupported cloud sources:• SaaS sources • Azure – SQL, DW, Blob, Table, HDInsight, Marketplace• SharePoint, web sources, Odata• OneDrive

Supported on-prem sources:• SQL Server, Teradata, Oracle, DB2, MySQL, PostgreSQL, SAP BW, SAP HANA • Sybase, Access, Custom SQL, Custom ODBC Drivers• SQL Server Analysis Services• Files/folder, SharePoint on-premises

More added

regularly!

Page 6: Using a gateway to leverage on premises data in Power BI

What this looks like…

Page 7: Using a gateway to leverage on premises data in Power BI

File location and freshness

Page 8: Using a gateway to leverage on premises data in Power BI

File locations

Files from your

computerFiles in

the cloud

Page 9: Using a gateway to leverage on premises data in Power BI

What location means…Local Files:• Only copy the model to the cloud• Local files is never updated or pulled from

Files in the cloud:• Model is copied to Azure BI backend• Poll original file for updates• Refresh will update model and original file

About

hourly

Page 10: Using a gateway to leverage on premises data in Power BI

Refresh & Gateways

Page 11: Using a gateway to leverage on premises data in Power BI

How do you want to refresh data?Import (cached mode) DirectQuery or Live connection

Refresh frequency

Scheduled - hourly or daily Real-time

Performance No noticeable delay since data is already cached

Depends on how fast the data source is as queries are executed in real-time

Data storage in Power BI

Since it is cached mode, data is stored in the cloud

No data is stored in Power BI. Data is always on-premises*

Data size Current limit of 1GB (compressed) per model

The on-premises database is the limit; no Power BI limitation

Row level security

No support for on-prem row level security. Supports Cloud RLS.

Re-use on-prem role based row level security for Analysis Services. Non-SSAS supports Cloud RLS.

*Some data is cached for optimizing first-time load performance

Page 12: Using a gateway to leverage on premises data in Power BI

Power BI Gateway - Personal

Self-service refresh – no IT dependencyEasy & simple to use: Lightweight one-click installer running on your computerOne Personal Gateway per userRuns either as a service or an app

Page 13: Using a gateway to leverage on premises data in Power BI

On-premises Data GatewayCentralized way to refresh on-premises content in Power BI and other services Access control to data sourcesMonitor and track usageLive, interactive query with on-premises data sources

Page 14: Using a gateway to leverage on premises data in Power BI

Personal Gateway On-premises data gateway (Enterprise gateway)

Target Persona

Business analyst sets up and uses the gateway for her data sources

• BI Admins set up the gateway for their department/ company

• Multiple users use the gateway setup by the admins

Usage Directly by analysts BI AdminFeatures Import with scheduled refresh Direct query and scheduled refresh

Data source connections managed per user

Central data source mgmt. and access control

No central monitoring/control Central monitoring and controlServices supported

Power BI Power BI, PowerApps, Microsoft Flow, Azure Logic Apps and Azure Analysis Services

Personal v/s On-premises data gateway

Page 15: Using a gateway to leverage on premises data in Power BI

Data gateway and Analysis Services• Gateway Service Account needs to be Admin on AS Instance• Org Account sent via Effective User Name connection property

• Email address• Email address has to match UPN for account in local domain

• May need to use Azure AD DirSync or can use alternate UPN Suffix

Page 16: Using a gateway to leverage on premises data in Power BI

Gateway service

How this works…

Cloud

DB

On-premises

1. Install & configure gateway2. Create a data source or

schedule refresh3. Interact with report, schedule

refresh or refresh now4. Gateway Service pushes to

Service Bus5. Gateway polls bus looking for

requests6. Gateway takes request and

decrypts creds7. Gateway connects and runs

query8. Gateway sends results back up

stack

Power BIScheduler

Service creds

Page 17: Using a gateway to leverage on premises data in Power BI

Troubleshooting

Page 18: Using a gateway to leverage on premises data in Power BI

FirewallOutbound connection from gateway to Azure Service Bus

Outbound Ports:• 443• 5671, 5672• 9350-9354

Page 19: Using a gateway to leverage on premises data in Power BI

Tools of the trade• Make sure on latest version of the gateway• Refresh history• Event Logs• Trace logs for gateway• Performance Counters• Proxy configuration• Fiddler• Troubleshooting articles

Page 21: Using a gateway to leverage on premises data in Power BI

© 2014 Microsoft Corporation. All rights reserved.