What Power BI users need to know about R

Slides:



Advertisements
Similar presentations
Microsoft Dynamics® AX 2012
Advertisements

Introduction to ETL Using Microsoft Tools By Dr. Gabriel.
1 Chapter 12 Working With Access 2000 on the Internet.
Technical Workshops | Esri International User Conference San Diego, California Customizing ArcPad solutions Marika Vertzonis, Gareth Walters, Stephen Quan.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
SQL Server 2008 Basmah AlQadheeb-213 MIS What is a Database ? A database is a collection of Data that is organized so that it can easily be accessed,
Integrating Word, Excel, Access, and PowerPoint
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Web Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
WebFOCUS Developer Studio Update Dimitris Poulos Technical Director September 3, 2015 Copyright 2009, Information Builders. Slide 1.
9-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
INFS 752 Summer Juan Salazar Please right click the symbol in the lower right corner, and then press preview, to hear the presentation for each page.
Introducing Reporting Services for SQL Server 2005.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
McGraw-Hill © 2009 The McGraw-Hill Companies, Inc. All rights reserved. Programming with Visual Web Developer Chapter 9.
FIRST COURSE Access Tutorial 4 Creating Forms and Reports.
Chapter 10 Files/Folders needed: \Chapter10\Samples \Chapter10\Labs.
Configuring IQmol for Windows machines, use version!
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Web Development in Microsoft Visual Studio 2013 / 2015.
Open project in Microsoft Visual Studio → build program in “Release” mode.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
CIS 338: VB.NET Printing Dr. Ralph D. Westfall May, 2011.
Visual Database Creation with MySQL Workbench 도시정보시스템 설계
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
What's New in Visual Studio 2010 Debugging Brian Peek Senior Consultant, ASPSOFT, Inc. Microsoft MVP - C#
Microsoft Power BI Stack
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
Review DATA VISUALIZATION WITH TABLEAU ONLINE TUTORIAL Training Guide Fundamentals.
Take Your Data Analysis and Reporting to the Next Level by Combining SAS Office Analytics, SAS Visual Analytics, and SAS Studio David Bailey Tim Beese.
C# Programming: From Problem Analysis to Program Design1 Visual Studio Configuration C# Programming: From Problem Analysis to Program Design 4th Edition.
19 Copyright © 2008, Oracle. All rights reserved. Security.
Victoria Power BI User Group Meeting
How to Start SQL Server and SSDT BI in Local
Visual Basic 2010 How to Program
Creating Oracle Business Intelligence Interactive Dashboards
Access Tutorial 1 Creating a Database
R in Power BI.
Leveraging BI in SharePoint with PowerPivot and Power View
Creating Reports and Dashboards with Power BI
Welcome! Power BI User Group (PUG)
Power BI – Exploring New Frontiers
Microsoft Office Illustrated
SQL Server Client Tools 2018
Access Tutorial 4 Creating Forms and Reports
SSAS Tabular Toolbelt Sergiy Lunyakin.
Solving ETL Bottlenecks with SSIS Scale Out
Extending Power BI With Your Own Custom Visual
Query Execution Expectation-Reality Denis Reznik
A lightweight editor for SSAS Tabular Models built in .NET / WinForms
What is the Azure SQL Datawarehouse?
Power BI – Exploring New Frontiers
Administrating SSRS without boring web based clicks!
Access Tutorial 1 Creating a Database
T-SQL Window Function Deep Dive part 1
Module 13: Creating Data Visualizations with Power View
Jose Almeida, BI Consultant
Effective report authoring using Power BI Desktop
CIS16 Application Programming with Visual Basic
Visual Studio Database Tools (aka SQL Server Data Tools)
T-SQL Window function deep dive part 2
These slides are for reference only. They are not "lecture notes"
Access Tutorial 1 Creating a Database
Topic 11 Lesson 1 - Analyzing Data in Access
Access Tutorial 1 Creating a Database
Power BI – Exploring New Frontiers
Tutorial 10 Automating Tasks with Macros
Presentation transcript:

What Power BI users need to know about R

Nico Jacobs 1996 – 2004: Researcher @ KULeuven (Machine learning) 2004 – now: SQL Server, Power BI and Cortana Intelligence Trainer @ U2U SQLWaldorf (twitter/linkedin)

Power BI flow Load data Transform Model data Report

R in Power BI prerequisites Power BI Desktop must be installed from https://powerbi.microsoft.com/en-us/desktop/ We must have R installed as well In Power BI Desktop File  Options and Settings  Options R Scripting we can specify which local R installation we want to use Both the Microsoft R Open, Microsoft R Client, Microsoft R Server and CRAN R distributions are supported

R as a source Twitter data Random data https://www.google.be/search?q=r+make+twitter+data+accessible+for+research&oq=r+make+twitter+data+accessible+for+research

Adding an R data source In Power BI Desktop from the Home ribbon select Get Data Select the option More From the Other group select R Script and click connect

Providing the R script The Execute R Script dialog has no Intellisense, syntax coloring or other support for writing the code Prefer writing the script in R Tools for Visual Studio, R Studio or other R editor, then paste it into this window

Navigator In the navigator we see all variables holding data frames By clicking on the name we get a preview of the data set We can select which data set we want to load or edit

Query editor In the editor we can use Power Query to modify the data set produced by R By clicking the gear icon next to source we can change the R script as well

R as a transformation Fuzzy matching Outlier detection

R charts Histogram ggplot

R visualizations Power BI desktop has many data visualizations Both build-in and add-on One of the build in visualizations is the R rendering Just as the R source this depends on an R version to be installed Not part of Power BI Desktop installation

Create R visualization First create a Power BI Desktop file with one or more data sources These can be any data sources supported by Power BI: not only R sources Then add a report in Power BI Desktop In the visualizations dialog select the R visualization

Configuring the R visualization 3: run R script 1: select fields 2: provide R script

Visualization R script Power BI Desktop automatically creates a data frame with all the selected fields These fields can come from more than one source table By default the values are not aggregated and not filtered, but this can be changed as with any Power BI visualization Then all distinct values are taken Add row number if you need all rows Then we can write our own script When using libraries, make sure these are installed in your R distribution

Visualization interaction When we interact with regular Power Bi visualizations, these will filter our R visualization But not the other way round

Just like Jimi Hendrix … We love to get feedback Please complete the session feedback forms

SQLBits - It's all about the community... Please visit Community Corner, we are trying this year to get more people to learn about the SQL Community, equally if you would be happy to visit the community corner we’d really appreciate it.

@SQLWaldorf