{"id":15994,"date":"2016-07-05T16:06:52","date_gmt":"2016-07-05T23:06:52","guid":{"rendered":"https:\/\/devwww.3cloudsolutions.com\/post\/visualizing-your-data-made-easy-with-power-bi-and-r-2\/"},"modified":"2024-04-17T14:04:52","modified_gmt":"2024-04-17T21:04:52","slug":"visualizing-your-data-made-easy-with-power-bi-and-r","status":"publish","type":"post","link":"https:\/\/3cloudsolutions.com\/resources\/visualizing-your-data-made-easy-with-power-bi-and-r\/","title":{"rendered":"Visualizing Your Data Made Easy with\u00a0Power BI and R"},"content":{"rendered":"<p>For those who aren\u2019t familiar with the business analytics workhorse that is Microsoft Power BI, the self-service analytics system includes a web publishing component that allows sharing via multiple mediums \u2013 including phone, web browsers, tablets, desktops and laptops. The flexible <a href=\"https:\/\/3cloudsolutions.com\/business-intelligence\/\">business intelligence<\/a> suite is known for its rich visuals. Thanks to R, the powerful, open-source programming language, creating and supplementing those visuals just got easier.<\/p>\n<p>R, which scripts advanced analytics and graphics, works with Power BI in two ways \u2013 it can be used as a data source and to create visualizations.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/11\/power-bi-and-r-made-easy.jpg\" alt=\"power-bi-and-r-made-easy.jpg\" width=\"798\" height=\"504\" \/><\/p>\n<p>Typically, users might import a CSV file, connect to a SQL Server data source, or an analysis services data set to access the information needed to create charts. R can serve the same purpose. By treating an R script as a source, Power BI users can take any data frame (similar to a table) created in the script and make it available as a data set that can be used for multiple purposes, including modeling and creating graphics, performing analytics, and data predictions. Users can even create a data frame of predictions and ultimately tie them into their Power BI workflow. The simple click of a button captures the R script data sets and their IDs. Just import them into a blank Power BI canvas and execute the script. The user can then instantly create visuals based on that information, or integrate the information with other data sets.<\/p>\n<p>Creating visuals is just as easy. In Power BI\u2019s Visualizations panel, users can open the R editor to import code, drag and drop fields that they want to use within R script, and Power BI will visualize and render the data. If the user changes filter selections, Power BI will re-run the R code based on the context of the filter selected, automatically updating the visuals, switching effortlessly from line graphs to bar charts, and allowing the seamless integration of R and Power BI visuals, in an interactive, user-friendly experience.<\/p>\n<p>Watch this brief video tutorial below to see how easy it is to incorporate R into your Power BI experience.<\/p>\n<div class=\"wistia_responsive_padding\" style=\"padding: 56.25% 0 0 0; position: relative;\">\n<div class=\"wistia_responsive_wrapper\" style=\"height: 100%; left: 0; position: absolute; top: 0; width: 100%;\">\n<div id=\"wistia-2r742la7y9-1\" class=\"wistia_embed wistia_async_2r742la7y9 seo=false videoFoam=true\" style=\"height: 100%; width: 100%;\">\n<div id=\"wistia_chrome_122\" class=\"w-chrome\" style=\"display: inline-block; height: 448px; margin: 0px; padding: 0px; position: relative; vertical-align: top; width: 797px; zoom: 1; outline: none; overflow: hidden; box-sizing: content-box;\" tabindex=\"0\" aria-label=\"Wistia Video Player - Overview of Microsoft Power BI and R\">\n<div id=\"wistia_grid_128_wrapper\" style=\"display: block; width: 797px; height: 448px;\">\n<div id=\"wistia_grid_128_above\" style=\"height: 0px; font-size: 0px; line-height: 0px;\"><\/div>\n<div id=\"wistia_grid_128_main\" style=\"width: 797px; left: 0px; height: 448px; margin-top: 0px;\">\n<div id=\"wistia_grid_128_behind\"><\/div>\n<div id=\"wistia_grid_128_center\" style=\"width: 100%; height: 100%;\">\n<div id=\"wistia_video_wrapper_130\" style=\"display: inline-block; height: 100%; margin: 0px; padding: 0px; position: relative; vertical-align: top; width: 100%; zoom: 1; overflow: hidden;\">\n<div id=\"wistia_127_vulcan\" class=\"bp-2000\" style=\"background: #000000; display: block; height: 100%; overflow: hidden; position: relative; width: 100%;\">\n<p><video id=\"wistia_127\" style=\"background: transparent; display: block; height: 100%; position: relative; visibility: visible; width: 100%; object-fit: fill;\" crossorigin=\"anonymous\" poster=\"\/\/fast.wistia.com\/assets\/images\/blank.gif\" preload=\"none\" width=\"300\" height=\"150\"><source id=\"wistia_127_source\" src=\"https:\/\/embedwistia-a.akamaihd.net\/deliveries\/b36e3964b3ce835d3a870f3e8c5c3f2ea0db1c5e\/file.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<div class=\"w-control-bar\">\n<div class=\"w-control-bar__region w-control-bar__region--left\"><\/div>\n<div class=\"w-control-bar__region w-control-bar__region--center\">\n<div class=\"w-control-bar__region w-control-bar__region--thumbscrubber\"><\/div>\n<div id=\"wistia_playbarControl_168\" class=\"w-control wistia_playbar w-control--playbar w-is-visible\">\n<div class=\"w-control--icon\"><\/div>\n<div id=\"wistia_playbar_mask_170\" class=\"wistia_playbar_mask\" tabindex=\"-1\" role=\"slider\" data-tabbable=\"true\" aria-label=\"playbar\" aria-valuenow=\"0:00\">\n<div id=\"time_positioner_177\" class=\"wistia_time_positioner\" style=\"width: 6.1033px;\">\n<div id=\"time_178\" class=\"wistia_time\" style=\"right: auto; left: 9px;\">0:03<\/div>\n<\/div>\n<div id=\"wistia_playbar_slider_171\" class=\"wistia_playbar_slider\" style=\"transform: translateX(-49.5404%);\"><\/div>\n<div id=\"wistia_hover_line179\" class=\"wistia_playbar_hover_line\" style=\"left: 0.677711%;\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"w-control-bar__region w-control-bar__region--centerMobile\">\n<div id=\"wistia_playbarPlaceholder_183\" class=\"w-control wistia_playbar_placeholder w-control--playbar-placeholder w-playbar-placeholder w-is-visible\">\n<div class=\"w-control--icon\"><\/div>\n<div class=\"wistia_placeholder_time_element wistia_time\">0:03<\/div>\n<\/div>\n<\/div>\n<div class=\"w-control-bar__region w-control-bar__region--right\">\n<div class=\"w-control-bar__region w-control-bar__region--captions\"><\/div>\n<div class=\"w-control-bar__region w-control-bar__region--volume\"><\/div>\n<div class=\"w-control-bar__region w-control-bar__region--share\"><\/div>\n<div class=\"w-control-bar__region w-control-bar__region--settings\">\n<div class=\"w-component w-component--settings\">\n<div>\n<div class=\"w-menu w-menu--share\" style=\"left: -80px;\">\n<ul class=\"w-menu__list\">\n<li class=\"w-menu__list-item w-menu__list-item--Speed\">\n<div class=\"w-menu__section-title_label\">Speed<\/div>\n<div class=\"w-menu__section-title_value\">1x<\/div>\n<div class=\"w-menu__collapsable-wrapper\" style=\"height: 0px;\">\n<ul class=\"w-menu__list w-menu__list--collapsable w-is-transitioned\">\n<li class=\"w-menu__list-item\"><button class=\"w-menu__list-link w-menu__list-link--checkable\" tabindex=\"-1\" title=\"0.5x\" data-optionkey=\"0.5\">0.5x<\/button><\/li>\n<li class=\"w-menu__list-item\"><button class=\"w-menu__list-link w-menu__list-link--checkable is-checked\" tabindex=\"-1\" title=\"1x\" data-optionkey=\"1\">1x<\/button><\/li>\n<li class=\"w-menu__list-item\"><button class=\"w-menu__list-link w-menu__list-link--checkable\" tabindex=\"-1\" title=\"1.5x\" data-optionkey=\"1.5\">1.5x<\/button><\/li>\n<li class=\"w-menu__list-item\"><button class=\"w-menu__list-link w-menu__list-link--checkable\" tabindex=\"-1\" title=\"2x\" data-optionkey=\"2\">2x<\/button><\/li>\n<li class=\"w-menu__list-item\" tabindex=\"-1\" data-tabto=\".w-menu__list-item--Quality button\"><\/li>\n<\/ul>\n<\/div>\n<\/li>\n<li class=\"w-menu__list-item w-menu__list-item--Quality\">\n<div class=\"w-menu__section-title_label\">Quality<\/div>\n<div class=\"w-menu__section-title_value\">720p<\/div>\n<div class=\"w-menu__collapsable-wrapper\" style=\"height: 0px;\">\n<ul class=\"w-menu__list w-menu__list--collapsable w-is-transitioned\">\n<li class=\"w-menu__list-item\"><button class=\"w-menu__list-link w-menu__list-link--checkable\" tabindex=\"-1\" title=\"360p\" data-optionkey=\"mp4_h264_181k\">360p<\/button><\/li>\n<li class=\"w-menu__list-item\"><button class=\"w-menu__list-link w-menu__list-link--checkable\" tabindex=\"-1\" title=\"720p\" data-optionkey=\"mp4_h264_254k\">720p<\/button><\/li>\n<li class=\"w-menu__list-item\" tabindex=\"-1\" data-tabto=\".w-menu__list-item--close-settings\"><\/li>\n<\/ul>\n<\/div>\n<\/li>\n<li class=\"w-menu__list-item w-menu__list-item--close-settings\" tabindex=\"-1\" data-tabto=\".w-control--settings\"><\/li>\n<\/ul>\n<\/div>\n<div class=\"w-control--icon\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"w-control-bar__region w-control-bar__region--airplay\"><\/div>\n<div class=\"w-control-bar__region w-control-bar__region--fullscreen\"><\/div>\n<div class=\"w-control-bar__region w-control-bar__region--branding\"><\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<div class=\"w-menu-bar\"><\/div>\n<div id=\"wistia_134.thumbnail\" class=\"\" style=\"cursor: default; display: none; height: 448px; overflow: hidden; outline: none; position: absolute; width: 797px; left: 0px; top: 0px;\" tabindex=\"-1\"><img decoding=\"async\" id=\"wistia_134.thumbnail_img\" style=\"border: 0px solid #000000; display: block; float: none; height: 448px; margin: 0px; max-height: none; max-width: none; padding: 0px; position: absolute; width: 797px; left: 0px; top: 0px;\" src=\"https:\/\/embedwistia-a.akamaihd.net\/deliveries\/e0f12822f573d5a458eaf2895a691f892a21c736.jpg?image_crop_resized=960x540\" alt=\"Wistia video thumbnail - Overview of Microsoft Power BI and R\" \/><\/div>\n<div id=\"wistia_loading_184\" class=\"w-control wistia-loading\" style=\"top: 0px;\"><\/div>\n<div id=\"wistia_context_menu_185\" class=\"w-control w-control--context-menu w-context-menu\" style=\"background-color: #ffffff; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 10px; left: 0px; line-height: 1.5em; position: absolute; text-shadow: none; top: 0px; width: 200px; z-index: 100000;\"><a id=\"aboutWistia\" class=\"w-context-menu__item w-is-visible w-context-menu__item--aboutWistia\" style=\"display: block; text-decoration: none;\" href=\"https:\/\/wistia.com\/about-wistia?about=331994\" target=\"_blank\" rel=\"noopener\">About Wistia<\/a><\/div>\n<div class=\"w-tooltip w-tooltip--wistia_vulcan_storyboard\" style=\"position: absolute; overflow: hidden; z-index: 13; width: 0px; height: 0px; bottom: 56px; right: 0px; left: 57.5px;\">\n<div class=\"wistia_vulcan_storyboard_view\" style=\"position: absolute; color: #ffffff; overflow: hidden; width: 150px; height: 84px;\">\n<div class=\"wistia_vulcan_storyboard_time\" style=\"position: absolute; background: rgba(0, 0, 0, 0.34902); font-family: WistiaPlayerOverpass, sans-serif; padding: 2px 4px; color: #ffffff; z-index: 10; bottom: 0px; width: 100%; text-align: center;\">0:02<\/div>\n<div style=\"display: block; position: absolute; overflow: hidden; top: 0px; right: 0px; bottom: 0px; left: 0px;\"><\/div>\n<\/div>\n<\/div>\n<div class=\"w-status-bar\">message<\/div>\n<div data-testid=\"big-play-button\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"wistia_grid_128_front\"><\/div>\n<div id=\"wistia_grid_128_top_inside\"><\/div>\n<div id=\"wistia_grid_128_bottom_inside\"><\/div>\n<div id=\"wistia_grid_128_left_inside\"><\/div>\n<div id=\"wistia_grid_128_right_inside\"><\/div>\n<\/div>\n<div id=\"wistia_grid_128_below\" style=\"height: 0px; font-size: 0px; line-height: 0px;\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>Be sure to check out our <a href=\"https:\/\/www.blue-granite.com\/microsoft-r\">Microsoft R<\/a> landing page for more articles and helpful resources.<\/p>\n<p><strong>Is your organization deploying Microsoft Power BI?<\/strong><\/p>\n<p>We offer hands-on, instructor-led training at your facility to help both business and IT teams adopt Microsoft Power BI for self-service <a href=\"https:\/\/3cloudsolutions.com\/business-intelligence\/\">business intelligence<\/a> and analytics. Up to ten attendees will receive expert-led guidance through a complete set of hands-on labs and training modules. After the training, attendees will be able to acquire data, build data models, and create visualizations quickly and easily with Microsoft Power BI.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>R, which scripts advanced analytics and graphics, works with Power BI in two ways \u2013 it can be used as a data source and to create visualizations.<\/p>\n","protected":false},"author":21,"featured_media":14801,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[260],"tags":[342,305,341],"class_list":["post-15994","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-ai","tag-demo-day","tag-modern-bi","tag-r","topics-blog"],"acf":[],"_links":{"self":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts\/15994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/comments?post=15994"}],"version-history":[{"count":0,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts\/15994\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/media\/14801"}],"wp:attachment":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/media?parent=15994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/categories?post=15994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/tags?post=15994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}