Presentation is loading. Please wait.

Presentation is loading. Please wait.

Power BI for Developers Rui Romano.   BI Pro / Soft. Architect / Developer  Blog  https://ruiromanoblog.wordpress.com.

Similar presentations


Presentation on theme: "Power BI for Developers Rui Romano.   BI Pro / Soft. Architect / Developer  Blog  https://ruiromanoblog.wordpress.com."— Presentation transcript:

1 Power BI for Developers Rui Romano

2  Rui.Romano@DevScope.net Rui.Romano@DevScope.net  BI Pro / Soft. Architect / Developer  Blog  https://ruiromanoblog.wordpress.com  Twitter  @RuiRomano 2 |

3 Our Main Sponsors:

4 Say Thank you to Volunteers:  They spend their FREE time to give you this event.  Because they are crazy.  Because they want YOU to learn from the BEST IN THE WORLD.

5 Agenda  PowerBI Intro (quick one )  PowerBI Developer Platform  REST API  Real-Time Analytics  Custom Visualizations

6 PowerBI?  SaaS Data Service  Data Analysis & Exploration  Raw Data => Data Insights (faster)  Out of the box Connectors to SaaS Solutions  Extension to current BI Investments

7 Demo – PowerBI

8 PowerBI Developer Platform REST API Real Time Analysis Embedded Visuals Custom Visualizations

9 REST APIs Get Create Change Table Schema Delete Table Rows https://api.powerbi.com/v1.0/myorg/DataSets Get https://api.powerbi.com/v1.0/myorg/Groups Get Create https://api.powerbi.com/beta/myorg/Imports Get https://api.powerbi.com/beta/myorg/Dashboards Get https://api.powerbi.com/beta/myorg/dashboards/{DashboardID}/Tiles Standards based REST JSON OAuth Cross Platform Easy to use

10 Get DataSets GET https://api.powerbi.com/v1.0/myorg/datasets Authorization Bearer eyJ0eXAiOiJKV1QiLCJhbGc1NiIsIng1dCI6Ik1uQ1… (Access Token) Response { "datasets": [ { "id": "5018fd65-71e6-47cb-8dde-68931545e7b8", "name": "MyMovies" }, { "id": "9862d253-f4a5-4997-9d06-1566aff78d5e", "name": "SQLSaturday_SalesMarketing" }

11 OAuth Access Token? Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1uQ19WWmNBVGZNNX BPWWlKSE1iYTl… http://jwt.io/

12 Create DataSet POST https://api.powerbi.com/v1.0/myorg/datasets Request { "name": "SalesMarketing", "tables": [ { "name": "Product", "columns": [ { "name": "ProductID", "dataType": "Int64"}, { "name": "Name", "dataType": "string"}, { "name": “Price", "dataType": “double"}, { "name": "IsCompete", "dataType": "bool"}, { "name": "ManufacturedOn", "dataType": "DateTime"} ] } ] } Int64 String Bool Datetime Double

13 POST Table Rows POST https://api.powerbi.com/v1.0/myorg/datasets/ /tables/ /rows Request { "rows": [ { "ProductID":1, "Name":"Adjustable Race", "Category":"Components", "IsCompete":true, "ManufacturedOn":"07/30/2014"},{ "ProductID":2, "Name":“Racing Bike", "Category":“Bikes", "IsCompete":true, "ManufacturedOn":“10/30/2014"} ]}

14 Groups (PRO only)  Without Group (personal workspace):  https://api.powerbi.com/v1.0/myorg/datasets  With Group:  https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets List Groups: https://api.powerbi.com/v1.0/myorg/groups

15 Demo – PowerBI Apiary http://docs.powerbi.apiary.io

16 Demo – PowerBIPS

17 Azure AD Application  OAuth Requirement  Identification to PowerBI and Users  Declares the permissions it needs  Two Types:  Native App  Web App

18 OAuth: WebApp Auth. Flow Credits: http://channel9.msdn.com/Events/Ignite/2015/BRK3551

19 Demo – Send to PowerBI (ASP.Net)

20 Demo – Embed Visualizations (JavaScript)

21 Demo – PowerBI Tiles

22 Real-Time Analysis

23 Demo – Twitter Real-Time Analysis

24 Automatic Retention Policy https://api.powerbi.com/beta/myorg/datasets?defaultRetentionPolicy=BasicFIFO BasicFIFO  Store up to 200.000 rows  Affects all the Tables in the DataSet

25 Demo – PowerBI + Stream Analytics

26 Custom Visualizations  OpenSource @ GitHub  Visualizations + Framework  TypeScript  D3.js

27 Demo – ?devToolsEnabled=true Credits: Enlighten

28 IVisual? Init()Update()Destroy()

29 Capabilities

30 DataView?

31 Demo – Custom Visualizations Credits: Enlighten

32 Custom Visualizations - Tips  Start reading Wiki page  https://github.com/Microsoft/PowerBI-visuals/wiki https://github.com/Microsoft/PowerBI-visuals/wiki  Complex Project Structure/Architecture  Medium/High skils on JavaScript (frameworks)  Create Visual tutorial  https://www.youtube.com/watch?v=pbr9IZTs1rU https://www.youtube.com/watch?v=pbr9IZTs1rU  Best Visual Contest Entries  http://community.powerbi.com/t5/Best-Visual- Contest/con-p/best_visual_contest http://community.powerbi.com/t5/Best-Visual- Contest/con-p/best_visual_contest

33 Applications & Samples  DevScope “Send to PowerBI” Excel App  https://store.office.com/send-to-power-bi-WA104379349.aspx https://store.office.com/send-to-power-bi-WA104379349.aspx  DevScope “PowerBI Tiles” Office App  TODO  Chrome Extension  https://github.com/PowerBI/Power-BI-for-chrome https://github.com/PowerBI/Power-BI-for-chrome  SSIS Adapter  http://ioi.solutions/ssis-adapter-for-power-bi-rest-api/ http://ioi.solutions/ssis-adapter-for-power-bi-rest-api/ …

34 Links  PowerBI  https://powerbi.microsoft.com/ https://powerbi.microsoft.com/  https://powerbi.microsoft.com/developers https://powerbi.microsoft.com/developers  https://support.powerbi.com/ https://support.powerbi.com/  Azure App + OAUTH  https://msdn.microsoft.com/en-US/library/mt186542.aspx https://msdn.microsoft.com/en-US/library/mt186542.aspx  https://msdn.microsoft.com/en-us/library/azure/dn645542.aspx https://msdn.microsoft.com/en-us/library/azure/dn645542.aspx  REST API Doc  https://msdn.microsoft.com/en-us/library/mt147898.aspx https://msdn.microsoft.com/en-us/library/mt147898.aspx  Stream Analytics + PowerBI  https://azure.microsoft.com/pt-pt/documentation/articles/stream-analytics-power- bi-dashboard/ https://azure.microsoft.com/pt-pt/documentation/articles/stream-analytics-power- bi-dashboard/  Custom Visualizations  https://github.com/Microsoft/PowerBI-visuals https://github.com/Microsoft/PowerBI-visuals  https://www.youtube.com/watch?v=kULc2VbwjCc https://www.youtube.com/watch?v=kULc2VbwjCc

35 Sponsor Sessions at 15:25  Don’t miss them, they might be getting distributing some awesome prizes!

36 THANK YOU!


Download ppt "Power BI for Developers Rui Romano.   BI Pro / Soft. Architect / Developer  Blog  https://ruiromanoblog.wordpress.com."

Similar presentations


Ads by Google