SlideShare a Scribd company logo
1 of 16
Power BI with R
Guruprasad Vijayarao
3/21/2018
Agenda
• Why R in Power BI
• R integration in Power BI
• R Connector
• R & Power Query
• R Visuals
• Q&A
• Lab
What is R?
• Used by 2m+ data scientists, statisticians and analysts
• Flexible, extensible and comprehensive for productivity
• As seen in New York Times, The Economist and FlowingData
CRAN: 7000+ add-on packages for R
Power BI Dashboard Creation
Power BI: R Integration Points
R Connector R & Power Query R Visuals
R Connector
• Install R - https://docs.microsoft.com/en-us/power-bi/desktop-r-visuals
• Configure R Home Directory
• Packages and dependencies must be explicitly loaded
• Only Data Frames
• No Complex Type, No user inputs
• 30 minutes timeout
• Setwd to full path
• https://docs.microsoft.com/en-us/power-bi/service-r-packages-
support
Data
• Web Data Scrub - rvest, httr, rcurl, and others
• Complicated Data Transformation: dplyr, tidyr, lubrdiate, stringr…
• XML or JSON data: XML, jsonlite, and others
• RegEx to Scrub the data
• mice package to impute missing values
• tidytext package to assign sentiment scores to text inputs
• Export Data
Visuals
• External IDE
• Box Plot, Facet
• Corelations
• Regression
• Prediction
• Sentiment Analysis
R Visual Gallery
Data Refresh
• Privacy levels
• Personal Gateway
Limitations
• Data size limitations: 150,000 rows
• Calculation time limitation 5 minutes.
• Relationships.
• R visuals responses for cross-filtering but it cannot filter.
• R visuals respond to highlighting other visuals, but you cannot click on
elements in the R visual in order to cross filter other elements.
Resources
• Documentation:
• https://powerbi.microsoft.com/en-us/documentation/Powerbi-Service-R-Packages-Support
• https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-r-scripts
• R Visuals Gallery:
https://app.powerbi.com/visuals/R-powered
• R Script Showcase:
https://community.powerbi.com/t5/R-Script-Showcase/bd-p/RVisuals
Related Conent
• https://www.youtube.com/watch?v=SMaJf6UBKeI&t=591s
• https://www.blue-granite.com/tutorials/power-bi-and-r
Lab
• Sample
https://www.linkedin.com/pulse/embedded-hr-analytics-using-r-power-bi-andy-lowrey
• Source Code
https://github.com/lowreya/workforce-analytics-demo
Demo Script – Cheet Sheet
• Check the Notes below for scripts

More Related Content

What's hot

Distilled Power BI Updates for April 2016
Distilled Power BI Updates for April 2016Distilled Power BI Updates for April 2016
Distilled Power BI Updates for April 2016Jen Stirrup
 
How to Rebuild an End-to-End ML Pipeline with Databricks and Upwork with Than...
How to Rebuild an End-to-End ML Pipeline with Databricks and Upwork with Than...How to Rebuild an End-to-End ML Pipeline with Databricks and Upwork with Than...
How to Rebuild an End-to-End ML Pipeline with Databricks and Upwork with Than...Databricks
 
Distilled Power BI Updates for April 2016
Distilled Power BI Updates for April 2016Distilled Power BI Updates for April 2016
Distilled Power BI Updates for April 2016Jen Stirrup
 
GIS As-Builts - How & Why
GIS As-Builts - How & WhyGIS As-Builts - How & Why
GIS As-Builts - How & WhyGIS Colorado
 
206560 p6 analytics 3 1
206560 p6 analytics 3 1206560 p6 analytics 3 1
206560 p6 analytics 3 1p6academy
 
Building Robust Production Data Pipelines with Databricks Delta
Building Robust Production Data Pipelines with Databricks DeltaBuilding Robust Production Data Pipelines with Databricks Delta
Building Robust Production Data Pipelines with Databricks DeltaDatabricks
 
RRDG Data Sharing Specifications
RRDG Data Sharing SpecificationsRRDG Data Sharing Specifications
RRDG Data Sharing SpecificationsAlex Mayrhofer
 
Lift and Shift 20 Million Features with ArcGIS Data Interoperability
Lift and Shift 20 Million Features with ArcGIS Data Interoperability Lift and Shift 20 Million Features with ArcGIS Data Interoperability
Lift and Shift 20 Million Features with ArcGIS Data Interoperability Safe Software
 
Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...
Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...
Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...Esri UK
 
Check Point Big Data Forum m3
Check Point Big Data Forum m3Check Point Big Data Forum m3
Check Point Big Data Forum m3Alex Fok
 
Esri Scotland Conf 2016 Web AppBuilder
Esri Scotland Conf 2016   Web AppBuilderEsri Scotland Conf 2016   Web AppBuilder
Esri Scotland Conf 2016 Web AppBuilderEsri UK
 
Creative Ways to Leverage Operational Data
Creative Ways to Leverage Operational DataCreative Ways to Leverage Operational Data
Creative Ways to Leverage Operational DataCartegraph
 
Activate 2019 - Search and relevance at scale for online classifieds
Activate 2019 - Search and relevance at scale for online classifiedsActivate 2019 - Search and relevance at scale for online classifieds
Activate 2019 - Search and relevance at scale for online classifiedsRoger Rafanell Mas
 
Apache Spark Listeners: A Crash Course in Fast, Easy Monitoring
Apache Spark Listeners: A Crash Course in Fast, Easy MonitoringApache Spark Listeners: A Crash Course in Fast, Easy Monitoring
Apache Spark Listeners: A Crash Course in Fast, Easy MonitoringDatabricks
 
Highland Garden Village Community GIS Data Viewer (Andrea Santoro, Laura Atki...
Highland Garden Village Community GIS Data Viewer (Andrea Santoro, Laura Atki...Highland Garden Village Community GIS Data Viewer (Andrea Santoro, Laura Atki...
Highland Garden Village Community GIS Data Viewer (Andrea Santoro, Laura Atki...GIS Colorado
 

What's hot (20)

Distilled Power BI Updates for April 2016
Distilled Power BI Updates for April 2016Distilled Power BI Updates for April 2016
Distilled Power BI Updates for April 2016
 
Esri WebGIS Platform
Esri WebGIS PlatformEsri WebGIS Platform
Esri WebGIS Platform
 
How to Rebuild an End-to-End ML Pipeline with Databricks and Upwork with Than...
How to Rebuild an End-to-End ML Pipeline with Databricks and Upwork with Than...How to Rebuild an End-to-End ML Pipeline with Databricks and Upwork with Than...
How to Rebuild an End-to-End ML Pipeline with Databricks and Upwork with Than...
 
Distilled Power BI Updates for April 2016
Distilled Power BI Updates for April 2016Distilled Power BI Updates for April 2016
Distilled Power BI Updates for April 2016
 
GIS As-Builts - How & Why
GIS As-Builts - How & WhyGIS As-Builts - How & Why
GIS As-Builts - How & Why
 
Esri in AWS Cloud
Esri in AWS CloudEsri in AWS Cloud
Esri in AWS Cloud
 
206560 p6 analytics 3 1
206560 p6 analytics 3 1206560 p6 analytics 3 1
206560 p6 analytics 3 1
 
Building Robust Production Data Pipelines with Databricks Delta
Building Robust Production Data Pipelines with Databricks DeltaBuilding Robust Production Data Pipelines with Databricks Delta
Building Robust Production Data Pipelines with Databricks Delta
 
RRDG Data Sharing Specifications
RRDG Data Sharing SpecificationsRRDG Data Sharing Specifications
RRDG Data Sharing Specifications
 
Lift and Shift 20 Million Features with ArcGIS Data Interoperability
Lift and Shift 20 Million Features with ArcGIS Data Interoperability Lift and Shift 20 Million Features with ArcGIS Data Interoperability
Lift and Shift 20 Million Features with ArcGIS Data Interoperability
 
Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...
Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...
Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...
 
Esri ArcGIS Federal
Esri ArcGIS FederalEsri ArcGIS Federal
Esri ArcGIS Federal
 
Check Point Big Data Forum m3
Check Point Big Data Forum m3Check Point Big Data Forum m3
Check Point Big Data Forum m3
 
Esri Scotland Conf 2016 Web AppBuilder
Esri Scotland Conf 2016   Web AppBuilderEsri Scotland Conf 2016   Web AppBuilder
Esri Scotland Conf 2016 Web AppBuilder
 
Creative Ways to Leverage Operational Data
Creative Ways to Leverage Operational DataCreative Ways to Leverage Operational Data
Creative Ways to Leverage Operational Data
 
Analysing Web GIS apps
Analysing Web GIS appsAnalysing Web GIS apps
Analysing Web GIS apps
 
Activate 2019 - Search and relevance at scale for online classifieds
Activate 2019 - Search and relevance at scale for online classifiedsActivate 2019 - Search and relevance at scale for online classifieds
Activate 2019 - Search and relevance at scale for online classifieds
 
Apache Spark Listeners: A Crash Course in Fast, Easy Monitoring
Apache Spark Listeners: A Crash Course in Fast, Easy MonitoringApache Spark Listeners: A Crash Course in Fast, Easy Monitoring
Apache Spark Listeners: A Crash Course in Fast, Easy Monitoring
 
Azure Data Warehouse
Azure Data WarehouseAzure Data Warehouse
Azure Data Warehouse
 
Highland Garden Village Community GIS Data Viewer (Andrea Santoro, Laura Atki...
Highland Garden Village Community GIS Data Viewer (Andrea Santoro, Laura Atki...Highland Garden Village Community GIS Data Viewer (Andrea Santoro, Laura Atki...
Highland Garden Village Community GIS Data Viewer (Andrea Santoro, Laura Atki...
 

Similar to Using R in power BI

Extending Power BI Functionality with R
Extending Power BI Functionality with RExtending Power BI Functionality with R
Extending Power BI Functionality with RSenturus
 
Predictive Analysis using Microsoft SQL Server R Services
Predictive Analysis using Microsoft SQL Server R ServicesPredictive Analysis using Microsoft SQL Server R Services
Predictive Analysis using Microsoft SQL Server R ServicesFisnik Doko
 
Analytics with R in SQL Server 2016
Analytics with R in SQL Server 2016Analytics with R in SQL Server 2016
Analytics with R in SQL Server 2016HARIHARAN R
 
Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...
Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...
Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...Rui Quintino
 
Bluegranite AA Webinar FINAL 28JUN16
Bluegranite AA Webinar FINAL 28JUN16Bluegranite AA Webinar FINAL 28JUN16
Bluegranite AA Webinar FINAL 28JUN16Andy Lathrop
 
General Presentation - DIAD and AIAD, Dashboard and Apps
General Presentation - DIAD and AIAD, Dashboard and AppsGeneral Presentation - DIAD and AIAD, Dashboard and Apps
General Presentation - DIAD and AIAD, Dashboard and AppsVishal Pawar
 
OTN EMEA TOUR 2016 - OBIEE12c New Features for End-Users, Developers and Sys...
OTN EMEA TOUR 2016  - OBIEE12c New Features for End-Users, Developers and Sys...OTN EMEA TOUR 2016  - OBIEE12c New Features for End-Users, Developers and Sys...
OTN EMEA TOUR 2016 - OBIEE12c New Features for End-Users, Developers and Sys...Mark Rittman
 
Office 365 Power Tools: What to use When? Forms, Flows, PowerApps, PowerBI
Office 365 Power Tools: What to use When? Forms, Flows, PowerApps, PowerBIOffice 365 Power Tools: What to use When? Forms, Flows, PowerApps, PowerBI
Office 365 Power Tools: What to use When? Forms, Flows, PowerApps, PowerBIJoel Oleson
 
Extending the Reach of R to the Enterprise with TERR and Spotfire
Extending the Reach of R to the Enterprise with TERR and SpotfireExtending the Reach of R to the Enterprise with TERR and Spotfire
Extending the Reach of R to the Enterprise with TERR and SpotfireLou Bajuk
 
Big Data Analytics with R
Big Data Analytics with RBig Data Analytics with R
Big Data Analytics with RGreat Wide Open
 
Business Analytics with R
Business Analytics with RBusiness Analytics with R
Business Analytics with REdureka!
 
Business Analytics with R
Business Analytics with RBusiness Analytics with R
Business Analytics with REdureka!
 
Pinterest hadoop summit_talk
Pinterest hadoop summit_talkPinterest hadoop summit_talk
Pinterest hadoop summit_talkKrishna Gade
 

Similar to Using R in power BI (20)

Extending Power BI Functionality with R
Extending Power BI Functionality with RExtending Power BI Functionality with R
Extending Power BI Functionality with R
 
R in Power BI
R in Power BIR in Power BI
R in Power BI
 
Predictive Analysis using Microsoft SQL Server R Services
Predictive Analysis using Microsoft SQL Server R ServicesPredictive Analysis using Microsoft SQL Server R Services
Predictive Analysis using Microsoft SQL Server R Services
 
Analytics with R in SQL Server 2016
Analytics with R in SQL Server 2016Analytics with R in SQL Server 2016
Analytics with R in SQL Server 2016
 
Tableau training in hyderabad
Tableau training in hyderabadTableau training in hyderabad
Tableau training in hyderabad
 
Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...
Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...
Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...
 
Bluegranite AA Webinar FINAL 28JUN16
Bluegranite AA Webinar FINAL 28JUN16Bluegranite AA Webinar FINAL 28JUN16
Bluegranite AA Webinar FINAL 28JUN16
 
General Presentation - DIAD and AIAD, Dashboard and Apps
General Presentation - DIAD and AIAD, Dashboard and AppsGeneral Presentation - DIAD and AIAD, Dashboard and Apps
General Presentation - DIAD and AIAD, Dashboard and Apps
 
OTN EMEA TOUR 2016 - OBIEE12c New Features for End-Users, Developers and Sys...
OTN EMEA TOUR 2016  - OBIEE12c New Features for End-Users, Developers and Sys...OTN EMEA TOUR 2016  - OBIEE12c New Features for End-Users, Developers and Sys...
OTN EMEA TOUR 2016 - OBIEE12c New Features for End-Users, Developers and Sys...
 
Office 365 Power Tools: What to use When? Forms, Flows, PowerApps, PowerBI
Office 365 Power Tools: What to use When? Forms, Flows, PowerApps, PowerBIOffice 365 Power Tools: What to use When? Forms, Flows, PowerApps, PowerBI
Office 365 Power Tools: What to use When? Forms, Flows, PowerApps, PowerBI
 
Extending the Reach of R to the Enterprise with TERR and Spotfire
Extending the Reach of R to the Enterprise with TERR and SpotfireExtending the Reach of R to the Enterprise with TERR and Spotfire
Extending the Reach of R to the Enterprise with TERR and Spotfire
 
R training at Aimia
R training at AimiaR training at Aimia
R training at Aimia
 
Resume (4)
Resume (4)Resume (4)
Resume (4)
 
Michal Marušan: Scalable R
Michal Marušan: Scalable RMichal Marušan: Scalable R
Michal Marušan: Scalable R
 
Big Data Analytics with R
Big Data Analytics with RBig Data Analytics with R
Big Data Analytics with R
 
Hadoop and Your Enterprise Data Warehouse
Hadoop and Your Enterprise Data WarehouseHadoop and Your Enterprise Data Warehouse
Hadoop and Your Enterprise Data Warehouse
 
Mohammed Shafiur Rahman-Resume
Mohammed Shafiur Rahman-ResumeMohammed Shafiur Rahman-Resume
Mohammed Shafiur Rahman-Resume
 
Business Analytics with R
Business Analytics with RBusiness Analytics with R
Business Analytics with R
 
Business Analytics with R
Business Analytics with RBusiness Analytics with R
Business Analytics with R
 
Pinterest hadoop summit_talk
Pinterest hadoop summit_talkPinterest hadoop summit_talk
Pinterest hadoop summit_talk
 

Recently uploaded

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

Using R in power BI

Editor's Notes

  1. https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-r-scripts/ https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-r-in-query-editor/ https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-r-visuals/
  2. https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-r-in-query-editor/
  3. Write.table (dataset, file = “[PATH OF FILE]”, sep = “[SEPARATOR]”, row.names = FALSE)
  4. https://community.powerbi.com/t5/R-Script-Showcase/bd-p/RVisuals
  5. https://community.powerbi.com/t5/R-Script-Showcase/bd-p/RVisuals
  6. Use ‘data(package = .packages(all.available = TRUE))’ to list the data sets in all *available* packages. #------------------Visuals Density Chart plot(density(dat$StockValue)) abline(v = quantile(dat$StockValue, 0.05), col = "red") #------------------Visuals Correlation Chart data(mtcars) require("corrplot") library(corrplot) M <- cor(dataset) #Experiment different plotting parameters by uncommenting your preferred plotting instruction corrplot(M, method = "circle",type = "upper" , tl.srt = 0 ) #corrplot(M, method = "circle", order="hclust", addrect=2) #corrplot(M, method = "color", tl.cex=0.6, tl.srt = 45, tl.col = "black") #corrplot(M, method = "ellipse", type = "upper", tl.cex=0.6, tl.srt = 45, tl.col = "black") install.packages("corrplot") library(corrplot) M <- cor(mtcars) corrplot(M, method = "number") #------------------Venn Diagram install.package('VennDiagram') library(VennDiagram) v<-draw.triple.venn(dataset[1,1],dataset[1,2],dataset[1,3],dataset[1,4],dataset[1,5],dataset[1,6],dataset[1,7],c("First","Second","Third "),cex=1.2, cat.dist = c(0.1, 0.1, 0.1),cat.fontfamily = "plain", fontfamily = "plain")