<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:georss="http://www.georss.org/georss"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
><channel><title>R &#8211; DataVeld</title> <atom:link href="http://dataveld.com/category/r/feed/" rel="self" type="application/rss+xml" /><link>https://dataveld.com</link> <description>A Microsoft Data Experience Blog</description> <lastBuildDate>Sun, 24 May 2020 14:11:29 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod> hourly </sy:updatePeriod> <sy:updateFrequency> 1 </sy:updateFrequency> <generator>https://wordpress.org/?v=5.3.28</generator><image> <url>https://i0.wp.com/dataveld.com/wp-content/uploads/2016/10/cropped-cropped-dataveld23.png?fit=32%2C32&#038;ssl=1</url><title>R &#8211; DataVeld</title><link>https://dataveld.com</link> <width>32</width> <height>32</height> </image> <site
xmlns="com-wordpress:feed-additions:1">143031883</site> <item><title>Add Intelligence to R &#038; Python IntelliSense in Power BI</title><link>https://dataveld.com/2019/02/25/add-intelligence-to-r-python-intellisense-in-power-bi/</link> <comments>https://dataveld.com/2019/02/25/add-intelligence-to-r-python-intellisense-in-power-bi/#comments</comments> <pubDate>Mon, 25 Feb 2019 17:02:41 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Power BI]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[R]]></category> <category><![CDATA[IntelliSense]]></category><guid
isPermaLink="false">https://dataveld.com/?p=7905</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span> One of the new features that Microsoft announced in February&#8217;s Power BI Desktop update is the Improved Python &#38; R Script Editor. The script editor now contains the same features as the DAX editor, including IntelliSense for code completion. After spending...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/02/25/add-intelligence-to-r-python-intellisense-in-power-bi/">Add Intelligence to R &#038; Python IntelliSense in Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span><p>One of the new features that Microsoft announced in February&#8217;s <a
href="https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-february-2019-feature-summary/" target="_blank" rel="noopener">Power BI Desktop update</a> is the <strong>Improved Python &amp; R Script Editor</strong>. The script editor now contains the same features as the DAX editor, including IntelliSense for code completion. After spending some time with the new editor though, I made a discovery about the code completion.</p><p>Look closely at the following screenshot. Any guesses as to how IntelliSense currently works?</p><p><img
data-attachment-id="7906" data-permalink="https://dataveld.com/2019/02/25/add-intelligence-to-r-python-intellisense-in-power-bi/power-bi-r-python-script-intellisense-code-completion-default/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?fit=2553%2C497&amp;ssl=1" data-orig-size="2553,497" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI R Python Script IntelliSense Code Completion Default" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?fit=300%2C58&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?fit=640%2C124&amp;ssl=1" class="alignnone size-full wp-image-7906" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?resize=640%2C125&#038;ssl=1" alt="" width="640" height="125" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?w=2553&amp;ssl=1 2553w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?resize=300%2C58&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?resize=768%2C150&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?resize=1024%2C199&amp;ssl=1 1024w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?w=1280&amp;ssl=1 1280w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Script-IntelliSense-Code-Completion-Default.png?w=1920&amp;ssl=1 1920w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>If I type the letter <strong>a </strong>into the R Script editor, my code completion options are <strong>acts</strong>, <strong>always</strong>, <strong>and</strong>, and <strong>as</strong>. Power BI&#8217;s editor is not offering any IntelliSense options from a Python or R dictionary. Instead, it&#8217;s pulling from the text already in the editor. Note the comment in Line 1 and the inclusion of words beginning with the letter a &#8212; always, and, acts, as.</p><p>By comparison, the DAX editor contains a detailed function list and helpful annotations for code completion. Can we get something similar for R and Python? Not exactly&#8230; Let&#8217;s hope that Microsoft continues to improve the IntelliSense capabilities in the editor. But there&#8217;s a workaround for now that I&#8217;m almost embarrassed to suggest. If you are a user who codes directly into the script editor, the following hack could be helpful. If you use the option to <strong>Edit script in External IDE</strong>, keep doing that and ignore the following guidance.</p><h3>Add a Temporary Custom Dictionary</h3><p>There&#8217;s no way that I know of to easily add to the script editor&#8217;s IntelliSense dictionary, but we can fake it by adding temporary comments. This will allow us to use code completion, but it&#8217;s not a robust IntelliSense that offers function definitions on par with the DAX editor (&#8220;true&#8221; IntelliSense).</p><p>The trick is to build your own custom dictionary of your most used Python or R functions from various packages and paste text as comments into your R Editor or Python Editor temporarily. You wouldn&#8217;t want all this text in your final script, so I want to stress that it&#8217;s only a temporary dictionary. For example, I added all the text from the R &#8220;stats&#8221; package to my script editor as an insanely lengthy (yet temporary) series of comments below where my real R code resides.</p><p><img
data-attachment-id="7908" data-permalink="https://dataveld.com/2019/02/25/add-intelligence-to-r-python-intellisense-in-power-bi/power-bi-r-python-custom-dictionary/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary.png?fit=1426%2C563&amp;ssl=1" data-orig-size="1426,563" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI R Python Custom Dictionary" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary.png?fit=300%2C118&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary.png?fit=640%2C253&amp;ssl=1" class="alignnone size-full wp-image-7908" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary.png?resize=640%2C253&#038;ssl=1" alt="" width="640" height="253" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary.png?w=1426&amp;ssl=1 1426w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary.png?resize=300%2C118&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary.png?resize=768%2C303&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary.png?resize=1024%2C404&amp;ssl=1 1024w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>Having the <em>stats</em> functions available in the comments allows me to create some basic, helpful code completion if I want to directly edit code in the R or Python editor.</p><p><img
data-attachment-id="7907" data-permalink="https://dataveld.com/2019/02/25/add-intelligence-to-r-python-intellisense-in-power-bi/power-bi-r-python-custom-dictionary-in-use/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary-in-Use.png?fit=837%2C546&amp;ssl=1" data-orig-size="837,546" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI R Python Custom Dictionary in Use" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary-in-Use.png?fit=300%2C196&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary-in-Use.png?fit=640%2C417&amp;ssl=1" class="alignnone size-full wp-image-7907" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary-in-Use.png?resize=640%2C417&#038;ssl=1" alt="" width="640" height="417" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary-in-Use.png?w=837&amp;ssl=1 837w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary-in-Use.png?resize=300%2C196&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/02/Power-BI-R-Python-Custom-Dictionary-in-Use.png?resize=768%2C501&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>It takes dedication to use this workaround, so it may be worth using RStudio as Power BI&#8217;s external IDE. If you&#8217;re determined to edit directly in Power BI, however, you can build your own code completion dictionary. To assemble the dictionary, I went to R&#8217;s documentation for the <em>stats</em> package (and you can extend with any other packages you commonly use). I grabbed all the function names, appended the comment character # to the beginning of each, copied, and pasted. It&#8217;s just that simple-not-simple.</p><h3>Remove Dictionary Comments When Done</h3><p>When you&#8217;re done editing your code, simply remove the comments. Don&#8217;t store them in the final text of your R or Python script. I repeat&#8211;don&#8217;t leave this stuff in your final script. If you ever need to edit the R or Python script again, simply paste them back temporarily as needed. While not elegant, this solution could work in a pinch. Happy coding.</p><p>&nbsp;</p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/02/25/add-intelligence-to-r-python-intellisense-in-power-bi/">Add Intelligence to R &#038; Python IntelliSense in Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2019/02/25/add-intelligence-to-r-python-intellisense-in-power-bi/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">7905</post-id> </item> <item><title>5 Performance Tips for R and Python Scripts in Power BI</title><link>https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/</link> <comments>https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/#comments</comments> <pubDate>Sat, 10 Nov 2018 13:59:11 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Wrangling]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[R]]></category> <category><![CDATA[Power Query]]></category><guid
isPermaLink="false">https://dataveld.com/?p=7661</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">5</span> <span
class="rt-label rt-postfix">minutes</span></span> While R has been available in Power BI for a few years, Python was recently added as preview functionality to Power BI Desktop. If you have done any work with Power BI&#8217;s R Script or Python Script in Power Query, you...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/">5 Performance Tips for R and Python Scripts in Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">5</span> <span
class="rt-label rt-postfix">minutes</span></span><p>While R has been available in Power BI for a few years, Python was recently added as preview functionality to Power BI Desktop. If you have done any work with Power BI&#8217;s <strong>R Script</strong> or <strong>Python Script</strong> in Power Query, you may have noticed that many scripts appear to <a
href="https://dataveld.com/2017/05/31/power-bi-analytics-challenge-part-3-filter-a-csv-during-import-using-r/">run slower in Power BI</a> than if you ran them standalone in R or Python. In order to minimize performance problems and optimize your code, it&#8217;s helpful to understand a bit about the process of how Power BI runs R and Python scripts&#8211;especially relating to local disk input/output.</p><p><img
data-attachment-id="7662" data-permalink="https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/powerquerytransformicons/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/PowerQueryTransformIcons.png?fit=135%2C113&amp;ssl=1" data-orig-size="135,113" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PowerQueryTransformIcons" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/PowerQueryTransformIcons.png?fit=135%2C113&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/PowerQueryTransformIcons.png?fit=135%2C113&amp;ssl=1" class="wp-image-7662 aligncenter size-full" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/PowerQueryTransformIcons.png?resize=135%2C113&#038;ssl=1" alt="Power Query Transform Icons" width="135" height="113" data-recalc-dims="1" /></p><p><img
data-attachment-id="7671" data-permalink="https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/power-query-applied-steps/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Power-Query-Applied-Steps.png?fit=319%2C148&amp;ssl=1" data-orig-size="319,148" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power Query Applied Steps" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Power-Query-Applied-Steps.png?fit=300%2C139&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Power-Query-Applied-Steps.png?fit=319%2C148&amp;ssl=1" class="wp-image-7671 aligncenter size-full" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Power-Query-Applied-Steps.png?resize=319%2C148&#038;ssl=1" alt="" width="319" height="148" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Power-Query-Applied-Steps.png?w=319&amp;ssl=1 319w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Power-Query-Applied-Steps.png?resize=300%2C139&amp;ssl=1 300w" sizes="(max-width: 319px) 100vw, 319px" data-recalc-dims="1" /></p><p>The basic implementation is similar enough for R and Python where they can be discussed together:</p><ul><li>Power BI&#8217;s Power Query runs either the <strong>R.Execute() </strong>or <strong>Python.Execute() </strong>function. Both of these Power Query functions rely on ADO.NET providers to access R and Python.</li><li>Power BI creates a temporary folder within the R or Python working directory starting with <strong>RScriptWrapper </strong>or <strong>PythonScriptWrapper</strong> and ending in a GUID. Depending on how you use R or Python in your queries, you may see several of these created in the course of a refresh if you watch the working directory.</li><li>Power BI writes temporary files to the temporary<strong> </strong>folders. These files consist of <strong>CSV export(s)</strong> of input and intermediate datasets, and <strong>RScriptWrapper.R</strong> or <strong>PythonScriptWrapper.PY</strong>, which contains your custom code.</li><li>The R or Python script generates output, and the final CSV output (or an image if you are using the R or Python Visual) is saved to the wrapper folder.</li><li>Power BI reads the output.</li><li>Power BI deletes the RScriptWrapper or PythonScriptWrapper contents and folder when no longer needed.</li></ul><p><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>/*<![CDATA[*/<br/>(adsbygoogle=window.adsbygoogle||[]).push({});<br/>/*]]>*/</script>This reliance on local IO and ADO.NET providers leads to a few considerations for the &#8220;Python Script&#8221; or &#8220;R Script&#8221; in Power Query. Keeping the following tips in mind could help the performance of your scripts.</p><p>In addition to the steps below, watch this video that I recorded on this topic for BlueGranite. While you&#8217;re watching, be sure to hit <a
href="https://www.youtube.com/c/BlueGraniteInc?sub_confirmation=1" target="_blank" rel="noopener noreferrer">SUBSCRIBE</a> to get more content from the BlueGranite YouTube channel! <a
href="https://www.youtube.com/c/BlueGraniteInc" target="_blank" rel="noopener noreferrer">https://www.youtube.com/c/BlueGraniteInc</a></p><p><iframe
src="https://www.youtube.com/embed/uQUB4K1HU0Q" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p><h2>1) Only import packages you use</h2><p>There is overhead associated with using packages, so only import what you will need from various libraries for a given script. Also, if you only need part of a module, try not to load the entire library, e.g. use <strong>from sklearn import [&#8230;] </strong> instead of <strong>import sklearn</strong>.</p><p>For Python, there is no need to explicitly important <strong>pandas</strong> in Power BI. It&#8217;s common to see <em>import pandas as pd </em>in a Python script, but it&#8217;s redundant because Power BI imports it every time <strong>without the alias</strong>. Any places you would normally use <em>pd </em>for pandas, use the full library name instead, e.g. <em>pandas.DataFrame</em> instead of <em>pd.DataFrame<strong>. </strong></em></p><p>You can see this by examining the auto-generated prolog in the PythonScriptWrapper.py. <em>os, pandas</em>, and (even though this is for the Python Script and not Python Visual) <em>matplotlib.pyplot </em>are available to every Python script.</p><p><img
data-attachment-id="7668" data-permalink="https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/python-script-prolog-power-bi/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/11/Python-Script-Prolog-Power-BI.png?fit=999%2C210&amp;ssl=1" data-orig-size="999,210" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Python Script Prolog Power BI" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/11/Python-Script-Prolog-Power-BI.png?fit=300%2C63&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/11/Python-Script-Prolog-Power-BI.png?fit=640%2C135&amp;ssl=1" class="wp-image-7668 aligncenter size-full" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/11/Python-Script-Prolog-Power-BI.png?resize=640%2C135&#038;ssl=1" alt="" width="640" height="135" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/11/Python-Script-Prolog-Power-BI.png?w=999&amp;ssl=1 999w, https://i1.wp.com/dataveld.com/wp-content/uploads/2018/11/Python-Script-Prolog-Power-BI.png?resize=300%2C63&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2018/11/Python-Script-Prolog-Power-BI.png?resize=768%2C161&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>By the way, if you are trying to decide whether to use Python 2 or 3 in Power BI, pandas will be exclusively releasing updates for Python 3 <a
href="https://pandas.pydata.org/pandas-docs/stable/install.html">starting January 1, 2019</a> and ending support for Python 2 completely on January 1, 2020.</p><p>Examining the corresponding prolog for R scripts in RScriptWrapper.R, you can see that Power BI does not load any libraries by default.</p><p><img
data-attachment-id="7669" data-permalink="https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/r-script-prolog-power-bi/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/R-Script-Prolog-Power-BI.png?fit=1078%2C254&amp;ssl=1" data-orig-size="1078,254" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="R Script Prolog Power BI" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/R-Script-Prolog-Power-BI.png?fit=300%2C71&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/R-Script-Prolog-Power-BI.png?fit=640%2C151&amp;ssl=1" class="wp-image-7669 aligncenter size-full" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/R-Script-Prolog-Power-BI.png?resize=640%2C151&#038;ssl=1" alt="" width="640" height="151" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/R-Script-Prolog-Power-BI.png?w=1078&amp;ssl=1 1078w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/R-Script-Prolog-Power-BI.png?resize=300%2C71&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/R-Script-Prolog-Power-BI.png?resize=768%2C181&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/R-Script-Prolog-Power-BI.png?resize=1024%2C241&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h2>2) Streamline input data</h2><p>Both the R Script and Python Script create temporary <strong>RScriptWrapper  </strong>and <strong>PythonScriptWrapper </strong>folders within their corresponding working directories. If you examine the prologs from #1 above, you will see that Power BI saves the current initial <strong>dataset</strong> to a CSV named <strong>input_df</strong>, which is then read into R or Python.</p><p>If possible, run R and Python scripts <em>after </em>filtering raw data and removing any unnecessary columns. This would help reduce the size of the <strong>input_df </strong>CSV written to disk before it is then read into R/Python.</p><p><img
data-attachment-id="7666" data-permalink="https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/local-io-in-rscriptwrapper-for-power-bi/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/11/Local-IO-in-RScriptWrapper-for-Power-BI.png?fit=743%2C166&amp;ssl=1" data-orig-size="743,166" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Local IO in RScriptWrapper for Power BI" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/11/Local-IO-in-RScriptWrapper-for-Power-BI.png?fit=300%2C67&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/11/Local-IO-in-RScriptWrapper-for-Power-BI.png?fit=640%2C143&amp;ssl=1" class="wp-image-7666 alignnone size-full" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/11/Local-IO-in-RScriptWrapper-for-Power-BI.png?resize=640%2C143&#038;ssl=1" alt="" width="640" height="143" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/11/Local-IO-in-RScriptWrapper-for-Power-BI.png?w=743&amp;ssl=1 743w, https://i2.wp.com/dataveld.com/wp-content/uploads/2018/11/Local-IO-in-RScriptWrapper-for-Power-BI.png?resize=300%2C67&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h2>3) Don&#8217;t use intermediate Data Frames in your script</h2><p>If you store changes as new data frames in your script, you will get local CSV copies of every data frame in addition to the original input data. While it is not a useful example, you can see that CSV files <strong>a.csv</strong> and<strong> b.csv</strong> appear in the temporary PythonScriptWrapper directory after running sample code <em>a = dataset.copy()</em> and <em>b = a</em>.</p><p>Note as well that I did not have to explicitly import <em>pandas</em> per #1 above to use <em>.copy() &#8211;</em>&#8211; it&#8217;s already available<em>.</em></p><p><img
data-attachment-id="7664" data-permalink="https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/extra-dataframe-example-in-power-bi/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Extra-DataFrame-Example-in-Power-BI.png?fit=521%2C195&amp;ssl=1" data-orig-size="521,195" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Extra DataFrame Example in Power BI" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Extra-DataFrame-Example-in-Power-BI.png?fit=300%2C112&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Extra-DataFrame-Example-in-Power-BI.png?fit=521%2C195&amp;ssl=1" class="wp-image-7664 aligncenter size-full" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Extra-DataFrame-Example-in-Power-BI.png?resize=521%2C195&#038;ssl=1" alt="" width="521" height="195" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Extra-DataFrame-Example-in-Power-BI.png?w=521&amp;ssl=1 521w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Extra-DataFrame-Example-in-Power-BI.png?resize=300%2C112&amp;ssl=1 300w" sizes="(max-width: 521px) 100vw, 521px" data-recalc-dims="1" /></p><p><img
data-attachment-id="7665" data-permalink="https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/intermediate-results-in-python-in-power-bi/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Intermediate-Results-in-Python-in-Power-BI.png?fit=736%2C218&amp;ssl=1" data-orig-size="736,218" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Intermediate Results in Python in Power BI" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Intermediate-Results-in-Python-in-Power-BI.png?fit=300%2C89&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Intermediate-Results-in-Python-in-Power-BI.png?fit=640%2C190&amp;ssl=1" class="wp-image-7665 aligncenter size-full" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Intermediate-Results-in-Python-in-Power-BI.png?resize=640%2C190&#038;ssl=1" alt="" width="640" height="190" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Intermediate-Results-in-Python-in-Power-BI.png?w=736&amp;ssl=1 736w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/11/Intermediate-Results-in-Python-in-Power-BI.png?resize=300%2C89&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>For the same reason, avoid writing any intermediate output to disk in your script unless you would actually use it for something.</p><h2>4) Use one R or Python script per query</h2><p>Consolidate custom code into a single R or Python query. Rather than use &#8220;Run R script&#8221; or &#8220;Run Python script&#8221; numerous times in the same Power Query query, use a single script to perform multiple tasks on the same data frame. This will also save on local IO to the R or Python working directory and should help your Power Query query run faster.</p><h2>5) Don&#8217;t use R or Python if native Power Query will do</h2><p>Considering all of the above, if you are targeting performance, it is best to use Power Query&#8217;s built-in transformations wherever possible. If you can accomplish steps related to data cleansing or feature engineering natively in Power Query&#8217;s user interface or custom M code, choose the native transformation. Save R or Python for more advanced modeling and other outcomes exclusively available to those languages.</p><h2><em>Python in Power BI </em>Webinar on December 6th</h2><p>Finally, if you are interested in learning more about the possibilities for using Python in Power BI, BlueGranite will be hosting a free webinar on December 6th. Please register on the BlueGranite page to attend!<br
/> <strong><a
href="https://www.blue-granite.com/python-in-power-bi-webinar-dec-2018">https://www.blue-granite.com/python-in-power-bi-webinar-dec-2018</a></strong></p><p><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>/*<![CDATA[*/<br/>(adsbygoogle=window.adsbygoogle||[]).push({});<br/>/*]]>*/</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/">5 Performance Tips for R and Python Scripts in Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2018/11/10/5-performance-tips-for-r-and-python-scripts-in-power-bi/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">7661</post-id> </item> <item><title>New R Packages Available in Power BI Service</title><link>https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/</link> <comments>https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/#comments</comments> <pubDate>Sat, 24 Mar 2018 17:30:39 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[R]]></category> <category><![CDATA[Custom Visual]]></category><guid
isPermaLink="false">https://dataveld.com/?p=7452</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span> Microsoft recently updated the R version for Power BI Service and installed numerous additional R packages. For comparison, I posted the then-current list of packages back in July 2017. If you use R in Power BI Service, definitely see what&#8217;s...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/">New R Packages Available in Power BI Service</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span><p>Microsoft recently updated the R version for Power BI Service and installed numerous additional R packages. For comparison, I posted the then-current list of packages <a
href="https://dataveld.com/2017/07/12/what-undocumented-r-packages-exist-in-power-bi-service/">back in July 2017</a>. If you use R in Power BI Service, definitely see what&#8217;s available in the screenshots at the end of this post. Hopefully the <a
href="https://docs.microsoft.com/en-us/power-bi/service-r-packages-support">Power BI documentation</a> will be updated soon (it&#8217;s <a
href="https://github.com/MicrosoftDocs/powerbi-docs">public on GitHub</a> now by the way, and anyone can fork, edit, and submit a pull request). In addition to more packages, the new R version is 3.4.1.</p><p><img
data-attachment-id="7460" data-permalink="https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/rpivottablesample/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RPivotTableSample.gif?fit=1686%2C931&amp;ssl=1" data-orig-size="1686,931" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="RPivotTableSample" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RPivotTableSample.gif?fit=300%2C166&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RPivotTableSample.gif?fit=640%2C353&amp;ssl=1" class="alignnone size-full wp-image-7460" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RPivotTableSample.gif?resize=640%2C353&#038;ssl=1" alt="R Pivot Table custom visual for Power BI - DataVeld" width="640" height="353" data-recalc-dims="1" /></p><p>&nbsp;</p><p>Thanks to <a
href="https://twitter.com/anselmojg">Anselmo Gomez</a> for notifying me of a change yesterday. He happened to test out an R HTML custom visual called <strong>R Pivot Table</strong> that I created for BlueGranite (AppSource submission now pending!). While it worked in Power BI Desktop by installing the <em>htmlwidgets </em>and <em>rpivotTable</em> packages, it would not work in Service until the <em>rpivotTable </em>package was available. At some point this month, Microsoft installed it!</p><p><img
data-attachment-id="7453" data-permalink="https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/pbi-service-r-pivot-table-twitter/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Pivot-Table-Twitter.png?fit=732%2C754&amp;ssl=1" data-orig-size="732,754" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PBI-Service-R-Pivot-Table-Twitter" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Pivot-Table-Twitter.png?fit=291%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Pivot-Table-Twitter.png?fit=640%2C659&amp;ssl=1" class="alignnone wp-image-7453" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Pivot-Table-Twitter.png?resize=524%2C540&#038;ssl=1" alt="" width="524" height="540" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Pivot-Table-Twitter.png?w=732&amp;ssl=1 732w, https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Pivot-Table-Twitter.png?resize=291%2C300&amp;ssl=1 291w" sizes="(max-width: 524px) 100vw, 524px" data-recalc-dims="1" /></p><p>&nbsp;</p><h3>Available R Packages</h3><p>Remember, simply because a package is available in Service, it does not mean that it is a <em>supported</em> package, a list of which appears in the documentation. Some of these packages will work with Desktop&#8217;s R visual, some will only work if you build an R HTML custom visual, and some will not work well at all in the context of Power BI. For example, I&#8217;ll challenge someone to get <em>shiny</em> to work as an R HTML custom visual. Although the package is <em>available</em>, that does not mean you can always use it without an error (this ultimately looks like a dependent <em>httpuv</em> issue, but in any case, I&#8217;m hopeful someone can get this going).</p><p><img
data-attachment-id="7461" data-permalink="https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/rshinyerrorpowerbiservice/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RShinyErrorPowerBIService.png?fit=947%2C291&amp;ssl=1" data-orig-size="947,291" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="RShinyErrorPowerBIService" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RShinyErrorPowerBIService.png?fit=300%2C92&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RShinyErrorPowerBIService.png?fit=640%2C197&amp;ssl=1" class="alignnone size-full wp-image-7461" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RShinyErrorPowerBIService.png?resize=640%2C197&#038;ssl=1" alt="Power BI Service - R Shiny Error - DataVeld" width="640" height="197" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RShinyErrorPowerBIService.png?w=947&amp;ssl=1 947w, https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RShinyErrorPowerBIService.png?resize=300%2C92&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2018/03/RShinyErrorPowerBIService.png?resize=768%2C236&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>I tend to focus more on data visualization and geospatial, so some notable additions for me include <em>shiny, crosstalk, leaflet, rgl, UpSetR, qicharts, sf, ggridges. </em>Most or all of the <em>tidyverse</em> packages are now available, and so are newer ones for text analytics like <em>tidytext</em>.</p><p>Here are some screenshots of the updated packages (sorry, no text). Save and enlarge if the package names appear too small in this blog post.</p><p><img
data-attachment-id="7457" data-permalink="https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/pbi-service-r-updates-1/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-1.png?fit=1598%2C800&amp;ssl=1" data-orig-size="1598,800" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PBI-Service-R-Updates-1" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-1.png?fit=300%2C150&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-1.png?fit=640%2C321&amp;ssl=1" class="alignnone size-full wp-image-7457" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-1.png?resize=640%2C320&#038;ssl=1" alt="Power BI R Packages 1 - DataVeld" width="640" height="320" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-1.png?w=1598&amp;ssl=1 1598w, https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-1.png?resize=300%2C150&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-1.png?resize=768%2C384&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-1.png?resize=1024%2C513&amp;ssl=1 1024w, https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-1.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><img
data-attachment-id="7456" data-permalink="https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/pbi-service-r-updates-2/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-2.png?fit=1601%2C798&amp;ssl=1" data-orig-size="1601,798" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PBI-Service-R-Updates-2" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-2.png?fit=300%2C150&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-2.png?fit=640%2C319&amp;ssl=1" class="alignnone size-full wp-image-7456" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-2.png?resize=640%2C319&#038;ssl=1" alt="Power BI R Packages 2 - DataVeld" width="640" height="319" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-2.png?w=1601&amp;ssl=1 1601w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-2.png?resize=300%2C150&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-2.png?resize=768%2C383&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-2.png?resize=1024%2C510&amp;ssl=1 1024w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-2.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><img
data-attachment-id="7455" data-permalink="https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/pbi-service-r-updates-3/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-3.png?fit=1603%2C794&amp;ssl=1" data-orig-size="1603,794" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PBI-Service-R-Updates-3" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-3.png?fit=300%2C149&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-3.png?fit=640%2C317&amp;ssl=1" class="alignnone size-full wp-image-7455" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-3.png?resize=640%2C317&#038;ssl=1" alt="Power BI R Packages 3 - DataVeld" width="640" height="317" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-3.png?w=1603&amp;ssl=1 1603w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-3.png?resize=300%2C149&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-3.png?resize=768%2C380&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-3.png?resize=1024%2C507&amp;ssl=1 1024w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-3.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><img
data-attachment-id="7454" data-permalink="https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/pbi-service-r-updates-4/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-4.png?fit=1602%2C803&amp;ssl=1" data-orig-size="1602,803" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PBI-Service-R-Updates-4" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-4.png?fit=300%2C150&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-4.png?fit=640%2C321&amp;ssl=1" class="alignnone size-full wp-image-7454" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-4.png?resize=640%2C321&#038;ssl=1" alt="Power BI R Packages 4 - DataVeld" width="640" height="321" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-4.png?w=1602&amp;ssl=1 1602w, https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-4.png?resize=300%2C150&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-4.png?resize=768%2C385&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-4.png?resize=1024%2C513&amp;ssl=1 1024w, https://i2.wp.com/dataveld.com/wp-content/uploads/2018/03/PBI-Service-R-Updates-4.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/">New R Packages Available in Power BI Service</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2018/03/24/new-r-packages-available-in-power-bi-service/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">7452</post-id> </item> <item><title>Introducing &#8220;R DataTable&#8221; Custom Visual for Power BI</title><link>https://dataveld.com/2018/02/23/introducing-rdatatable-for-power-bi/</link> <comments>https://dataveld.com/2018/02/23/introducing-rdatatable-for-power-bi/#comments</comments> <pubDate>Fri, 23 Feb 2018 20:04:03 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Power BI]]></category> <category><![CDATA[R]]></category> <category><![CDATA[Custom Visuals]]></category> <category><![CDATA[rDataTable]]></category><guid
isPermaLink="false">https://dataveld.wordpress.com/?p=6618</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span> Back in July 2017, I experimented with interactive R HTML custom visuals in Power BI and created a simple table visual that I called R DataTable. I had originally submitted it to AppSource in October. After a few rounds of...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2018/02/23/introducing-rdatatable-for-power-bi/">Introducing &#8220;R DataTable&#8221; Custom Visual for Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span><p>Back in July 2017, I experimented with interactive <a
href="https://github.com/Microsoft/PowerBI-visuals/blob/master/RVisualTutorial/CreateRHTML.md">R HTML custom visuals</a> in Power BI and created a simple table visual that I called <a
href="https://github.com/deldersveld/rDataTable"><em>R DataTable</em></a>. I had originally submitted it to AppSource in October. After a few rounds of suggested changes over about four months, <strong><a
href="https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381459?tab=Overview">it is now live</a></strong>! That sounds like a lot of time, but most of the delay was me taking long breaks from it. Also, many thanks to <a
href="https://github.com/boefraty74">Boris Efraty</a> from Microsoft for reviewing a high CPU issue with interactive R visuals. He also fixed a package dependency and ultimately helped to get this published. In case you did not know, Boris has developed many of the existing Power BI R HTML visuals that you can find on AppSource.</p><p><img
data-attachment-id="7382" data-permalink="https://dataveld.com/2018/02/23/introducing-rdatatable-for-power-bi/rdatatableappsource/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/02/RDataTableAppSource.png?fit=949%2C482&amp;ssl=1" data-orig-size="949,482" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="RDataTableAppSource" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/02/RDataTableAppSource.png?fit=300%2C152&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/02/RDataTableAppSource.png?fit=640%2C325&amp;ssl=1" class="alignnone wp-image-7382 size-full" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/02/RDataTableAppSource.png?resize=640%2C325&#038;ssl=1" alt="R DataTable Custom Visual in AppSource by DataVeld" width="640" height="325" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2018/02/RDataTableAppSource.png?w=949&amp;ssl=1 949w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/02/RDataTableAppSource.png?resize=300%2C152&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2018/02/RDataTableAppSource.png?resize=768%2C390&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>What is <strong>R DataTable</strong>, and what can it do? The short video below (no audio) provides a quick look at three of <em>R DataTable&#8217;s</em> key uses: column-specific filters, changing the number of records that display per page, and global search across all fields.</p><div
class="jetpack-video-wrapper"><iframe
class='youtube-player' width='640' height='360' src='https://www.youtube.com/embed/FxadduzdYMo?version=3&#038;rel=1&#038;fs=1&#038;autohide=2&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' allowfullscreen='true' style='border:0;'></iframe></div><h3>Functionality</h3><ul><li><strong>Search</strong><ul><li>Global search field to filter data across all columns<br
/> <a
href="https://i1.wp.com/github.com/deldersveld/rDataTable/raw/master/images/GlobalSearch.PNG?ssl=1" target="_blank" rel="noopener"><img
src="https://i1.wp.com/github.com/deldersveld/rDataTable/raw/master/images/GlobalSearch.PNG?w=640&#038;ssl=1" alt="" data-recalc-dims="1" /></a></li></ul></li><li><strong>Pagination</strong><ul><li>Use &#8220;Show # of entries&#8221; to choose between 5, 10, 25, 50, 100, or 1000 records to display per page<br
/> <a
href="https://i1.wp.com/github.com/deldersveld/rDataTable/raw/master/images/ShowEntries.PNG?ssl=1" target="_blank" rel="noopener"><img
src="https://i1.wp.com/github.com/deldersveld/rDataTable/raw/master/images/ShowEntries.PNG?w=640&#038;ssl=1" alt="" data-recalc-dims="1" /></a></li></ul></li><li><strong>Column-level filters</strong><ul><li>Conveniently filter column values using the option below each column header<br
/> <a
href="https://i2.wp.com/github.com/deldersveld/rDataTable/raw/master/images/ColumnFilters1.PNG?ssl=1" target="_blank" rel="noopener"><img
src="https://i2.wp.com/github.com/deldersveld/rDataTable/raw/master/images/ColumnFilters1.PNG?w=640&#038;ssl=1" alt="" data-recalc-dims="1" /></a><br
/> <a
href="https://i1.wp.com/github.com/deldersveld/rDataTable/raw/master/images/ColumnFilters2.PNG?ssl=1" target="_blank" rel="noopener"><img
src="https://i1.wp.com/github.com/deldersveld/rDataTable/raw/master/images/ColumnFilters2.PNG?w=640&#038;ssl=1" alt="" data-recalc-dims="1" /></a><br
/> <a
href="https://i2.wp.com/github.com/deldersveld/rDataTable/raw/master/images/ColumnFilters3.PNG?ssl=1" target="_blank" rel="noopener"><img
src="https://i2.wp.com/github.com/deldersveld/rDataTable/raw/master/images/ColumnFilters3.PNG?w=640&#038;ssl=1" alt="" data-recalc-dims="1" /></a></li></ul></li></ul><p>&nbsp;</p><p>In my opinion, it is much easier to create a Power BI R custom visual than a standard TypeScript custom visual. This is particularly true if you limit or omit Format options. The best part of this visual is that it is only about a dozen lines of R code. R has a package called <em>DT</em>, which wraps JavaScript&#8217;s <em>DataTables</em> library. R already has a package called <em>data.table</em>, which is not at all related. In hindsight, I should have picked a different name for this Power BI visual to avoid confusion. <em>R DataTable</em> for Power BI uses JavaScript&#8217;s <em>DataTables</em> library via R&#8217;s <em>DT</em> package.</p><p>Please log any issues in the GitHub repository here: <a
href="https://github.com/deldersveld/rDataTable">https://github.com/deldersveld/rDataTable</a></p><p>&nbsp;</p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>&nbsp;</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2018/02/23/introducing-rdatatable-for-power-bi/">Introducing &#8220;R DataTable&#8221; Custom Visual for Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2018/02/23/introducing-rdatatable-for-power-bi/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">6618</post-id> </item> <item><title>Free eBook &#8211; Powe[R] BI: Enhance your Microsoft Power BI Experience with R</title><link>https://dataveld.com/2017/06/02/free-ebook-power-bi-enhance-your-microsoft-power-bi-experience-with-r/</link> <comments>https://dataveld.com/2017/06/02/free-ebook-power-bi-enhance-your-microsoft-power-bi-experience-with-r/#respond</comments> <pubDate>Fri, 02 Jun 2017 14:03:20 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Power BI]]></category> <category><![CDATA[R]]></category><guid
isPermaLink="false">https://dataveld.wordpress.com/?p=6066</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">&#60; 1</span> <span
class="rt-label rt-postfix">minute</span></span> I recently had a small part&#160;in a free eBook about using R in Power BI: Powe[R] BI: Enhance your Microsoft Power BI Experience with R The eBook is available for download from BlueGranite&#8217;s website. It covers the use of R...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2017/06/02/free-ebook-power-bi-enhance-your-microsoft-power-bi-experience-with-r/">Free eBook &#8211; Powe[R] BI: Enhance your Microsoft Power BI Experience with R</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">&lt; 1</span> <span
class="rt-label rt-postfix">minute</span></span><p>I recently had a small part&nbsp;in a free eBook about using R in Power BI:</p><p><em><strong><a
href="https://www.blue-granite.com/power-bi-ebook">Powe[R] BI: Enhance your Microsoft Power BI Experience with R</a></strong></em></p><p>The eBook is available for download from BlueGranite&#8217;s website. It covers the use of R scripts, R visuals, and “R powered” custom visuals.</p><p><img
data-attachment-id="6074" data-permalink="https://dataveld.com/resource_powerbi_ebook/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2017/06/resource_powerbi_ebook.jpg?fit=193%2C130&amp;ssl=1" data-orig-size="193,130" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Resource_powerbi_eBook" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2017/06/resource_powerbi_ebook.jpg?fit=193%2C130&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2017/06/resource_powerbi_ebook.jpg?fit=193%2C130&amp;ssl=1" class="size-full wp-image-6074 aligncenter" src="https://dataveld.files.wordpress.com/2017/06/resource_powerbi_ebook.jpg?resize=193%2C130" alt="Resource_powerbi_eBook" width="193" height="130"  data-recalc-dims="1"></p><p><strong><a
href="https://www.blue-granite.com/power-bi-ebook">Please download a copy</a>&nbsp;</strong>and spread the word!</p><p>Support for this initial eBook could lead to potential future content surrounding more detailed use of R in Power BI.&nbsp;Please show support for these potential endeavors by downloading the eBook and leaving comments.</p><p>-David</p><p>&nbsp;<br
/> <b>Update 6/6: </b>Many thanks to David Smith at Microsoft for his post about this eBook on the&nbsp;<a
href="http://blog.revolutionanalytics.com/2017/06/power-bi-free-e-book.html">Revolutions</a>&nbsp;blog.</p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-5931835938684253"
data-ad-slot="6104236328"
data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2017/06/02/free-ebook-power-bi-enhance-your-microsoft-power-bi-experience-with-r/">Free eBook &#8211; Powe[R] BI: Enhance your Microsoft Power BI Experience with R</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2017/06/02/free-ebook-power-bi-enhance-your-microsoft-power-bi-experience-with-r/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">6066</post-id> </item> <item><title>What&#8217;s the Microsoft Professional Program in Data Science?</title><link>https://dataveld.com/2016/10/05/whats-the-microsoft-professional-program-in-data-science/</link> <comments>https://dataveld.com/2016/10/05/whats-the-microsoft-professional-program-in-data-science/#comments</comments> <pubDate>Wed, 05 Oct 2016 11:32:02 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Science]]></category> <category><![CDATA[R]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">https://dataveld.wordpress.com/?p=4043</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span> The MPP is a program designed to help provide core skills in data science and advanced analytics. After completing the program, you have a professional credential showcasing that you have competency in data science concepts and how to apply them.</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2016/10/05/whats-the-microsoft-professional-program-in-data-science/">What&#8217;s the Microsoft Professional Program in Data Science?</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span><p>This past spring, my colleague <a
href="https://www.blue-granite.com/blog/author/robert-hutchison" target="_blank" rel="noopener">Robert Hutchison</a> and I were invited to be a part of a pilot program for the <a
href="https://academy.microsoft.com/en-us/professional-program/data-science" target="_blank" rel="noopener">Microsoft Professional Program (MPP) in Data Science</a>. Along with a few hundred other people from Microsoft and its partner organizations, we went through an internal track to provide initial feedback prior to the upcoming public launch of the program. You can <a
href="https://academy.microsoft.com/en-us/register" target="_blank" rel="noopener">register now</a> for future tracks.</p><p><strong>What&#8217;s the MPP, and what&#8217;s the benefit?</strong></p><p>The MPP is a program designed to help provide core skills in data science and advanced analytics. After completing the program, you have a professional credential showcasing that you have competency in data science concepts and how to apply them.</p><p>Whether you are just starting in data science, come from a business intelligence background and have been working your way into more &#8220;advanced analytics&#8221; (like me), or are in a different field entirely; I feel like you could progress through the courses and benefit at every level. Microsoft educators are not building you into their next <a
href="https://twitter.com/danielleodean" target="_blank" rel="noopener">Danielle Dean</a> or <a
href="https://twitter.com/_brohrer_" target="_blank" rel="noopener">Brandon Rohrer</a>. They&#8217;re providing the core growth necessary to get you started or enhance existing skills.</p><p>There is a wide body of work that different data scientists perform. It&#8217;s not all machine learning and advanced statistics. Throughout the program, you are exposed to a variety of concepts in statistics, data wrangling and cleansing, exploratory analysis and data visualization, statistical modelling, machine learning, etc. For almost every course, this training takes place within the context of Microsoft or open source technologies with which you might already be familiar as well. That&#8217;s not to say that you&#8217;ll be forever tied to the Microsoft platform (although I don&#8217;t think Microsoft would mind), but you get enough exposure to a combination of Microsoft and open source like R or Python to get you progressing through the field quickly. As with any field though, you need to continue to apply your knowledge and practice it daily in order to get better at it.</p><p><strong>What&#8217;s the structure?</strong></p><p>The program starts with fundamentals, progresses into core work, and then allows you to apply what you&#8217;ve learned in realms such as Azure Machine Learning, HDInsight, and other technologies. The MPP in Data Science is currently broken up into <strong>nine online courses plus a final capstone project</strong>, and the content is all available on edX. In <a
href="https://dataveld.com/2016/10/12/looking-back-on-the-microsoft-professional-program-in-data-science/">another blog post</a>, I reflect upon my own path on a per-course level, which you can view below in red. The program allows for some variety as well: at different junctures, you can choose R or Python, HDInsight or &#8220;Intelligent Applications&#8221;(Stream Analytics, Bot Framework, Cognitive Services), Excel or Power BI, etc.</p><p><img
data-attachment-id="4076" data-permalink="https://dataveld.com/mppprogression/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/mppprogression.png?fit=1038%2C392&amp;ssl=1" data-orig-size="1038,392" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mppprogression" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/mppprogression.png?fit=300%2C113&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/mppprogression.png?fit=640%2C242&amp;ssl=1" class="alignnone size-full wp-image-4076" src="https://dataveld.files.wordpress.com/2016/10/mppprogression.png?resize=640%2C242" alt="mppprogression" width="640" height="242" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/mppprogression.png?w=1038&amp;ssl=1 1038w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/mppprogression.png?resize=300%2C113&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/mppprogression.png?resize=768%2C290&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/mppprogression.png?resize=1024%2C387&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><strong>What does it cost?</strong></p><p>To go through the program and receive a final certificate at the end, you will need to purchase an edX Verified Certificate for each course. Compared to paying for credit hours even at a community college level, the cost to benefit ratio is reasonable. If cost is a concern, it is definitely worth asking your employer about it, provide them a link to the content on edX (which they can also audit in detail for free), and show them all of the potential benefit they&#8217;ll receive if they cover your ~$525 (US) fees.</p><p><strong>How can you get started?</strong></p><p>Go to the <a
href="https://academy.microsoft.com/en-us/professional-program/data-science/" target="_blank" rel="noopener">MPP site</a>, read through the program in more depth, and register using the <strong>Sign Up </strong>link.</p><p><img
data-attachment-id="4078" data-permalink="https://dataveld.com/completed/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/completed.png?fit=1292%2C468&amp;ssl=1" data-orig-size="1292,468" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="completed" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/completed.png?fit=300%2C109&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/completed.png?fit=640%2C232&amp;ssl=1" class="alignnone size-full wp-image-4078" src="https://dataveld.files.wordpress.com/2016/10/completed.png?resize=640%2C232" alt="Completed.PNG" width="640" height="232" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/completed.png?w=1292&amp;ssl=1 1292w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/completed.png?resize=300%2C109&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/completed.png?resize=768%2C278&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/10/completed.png?resize=1024%2C371&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-5931835938684253"
data-ad-slot="6104236328"
data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2016/10/05/whats-the-microsoft-professional-program-in-data-science/">What&#8217;s the Microsoft Professional Program in Data Science?</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2016/10/05/whats-the-microsoft-professional-program-in-data-science/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">4043</post-id> </item> <item><title>Installing Alteryx and the Visual Analytics Kit for Microsoft</title><link>https://dataveld.com/2016/02/11/installing-alteryx-and-the-microsoft-visual-analytics-kit/</link> <comments>https://dataveld.com/2016/02/11/installing-alteryx-and-the-microsoft-visual-analytics-kit/#respond</comments> <pubDate>Thu, 11 Feb 2016 11:45:44 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Alteryx]]></category> <category><![CDATA[Data Wrangling]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[R]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">https://dataveld.wordpress.com/?p=429</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">5</span> <span
class="rt-label rt-postfix">minutes</span></span> Although the Microsoft Power BI and Alteryx integration was announced back in October, due to time constraints and other factors, I was not in a position to dig into it at the time. Times change, and now I at least have Alteryx installed and have...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2016/02/11/installing-alteryx-and-the-microsoft-visual-analytics-kit/">Installing Alteryx and the Visual Analytics Kit for Microsoft</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">5</span> <span
class="rt-label rt-postfix">minutes</span></span><p>Although the <a
href="https://powerbi.microsoft.com/en-us/" target="_blank">Microsoft Power BI</a> and <a
href="http://www.alteryx.com/" target="_blank">Alteryx </a>integration was announced <a
href="https://www.alteryx.com/press-releases/alteryx-and-microsoft-corp-join-forces-to-accelerate-data-blending-and-advanced" target="_blank">back in October</a>, due to time constraints and other factors, I was not in a position to dig into it at the time. Times change, and now I at least have Alteryx installed and have used some basic samples. At this point, I am a complete beginner, so my experiences will hopefully resonate more with Power BI users who are starting to learn about and use Alteryx rather than with established Alteryx users. Prior to the Microsoft announcement, I had <em>heard</em> <em>and read</em> great things about Alteryx, but it was typically in relation to using it as a data preparation tool for Tableau.</p><p>Over the course of the next few months, I hope to complete a series of posts related to my experience combining Alteryx workflows with visualizations in Power BI. Learning and writing on my part is being done on personal and not company time, so there may be long stretches with no Alteryx-related posts. Also, I will try to consider things from the Microsoft perspective &#8212; meaning that if something is similar to Power Query, Integration Services, or other technology in the Microsoft stack, I&#8217;ll attempt to draw comparisons.</p><p><strong>Here we go!</strong></p><p>Kicking things off, here is my story from square one. To start out, I needed to install both Alteryx as well as the Visual Analytics Kit for Microsoft, the add-on that integrates Alteryx with Power BI.</p><p>The first thing that appeared after downloading and running the Alteryx installer was the R option.</p><p><img
data-attachment-id="432" data-permalink="https://dataveld.com/alteryx-install-with-r/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-with-r.png?fit=681%2C573&amp;ssl=1" data-orig-size="681,573" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Alteryx Install with R" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-with-r.png?fit=300%2C252&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-with-r.png?fit=640%2C539&amp;ssl=1" class="size-full wp-image-432 aligncenter" src="https://dataveld.files.wordpress.com/2016/02/alteryx-install-with-r.png?resize=640%2C539" alt="Alteryx Install with R" width="640" height="539" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-with-r.png?w=681&amp;ssl=1 681w, https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-with-r.png?resize=300%2C252&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>The R version is currently 3.1.3 and comes with a number of packages. For anyone interested, I have included the full list of the 116 built-in R packages in a table at the bottom of this post. Alteryx also includes two of their own: AlteryxRDataX and AlteryxRviz.</p><p><img
data-attachment-id="438" data-permalink="https://dataveld.com/alteryx-install-r-predictive-tools/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-r-predictive-tools.png?fit=677%2C541&amp;ssl=1" data-orig-size="677,541" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Alteryx Install R Predictive Tools" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-r-predictive-tools.png?fit=300%2C240&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-r-predictive-tools.png?fit=640%2C511&amp;ssl=1" class="size-full wp-image-438 aligncenter" src="https://dataveld.files.wordpress.com/2016/02/alteryx-install-r-predictive-tools.png?resize=640%2C511" alt="Alteryx Install R Predictive Tools" width="640" height="511" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-r-predictive-tools.png?w=677&amp;ssl=1 677w, https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-install-r-predictive-tools.png?resize=300%2C240&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>After completing the installation, I opened Alteryx. Someone on their marketing team put together an overview video that included an analyst dragging icons around in midair, leaving me with fairly high expectations of what the software could do.</p><p
style="text-align:center;"><strong>Alteryx in Marketing</strong></p><p><img
data-attachment-id="686" data-permalink="https://dataveld.com/alteryx-marketing/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-marketing.png?fit=618%2C404&amp;ssl=1" data-orig-size="618,404" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Alteryx Marketing" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-marketing.png?fit=300%2C196&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-marketing.png?fit=618%2C404&amp;ssl=1" class="aligncenter size-full wp-image-686" src="https://dataveld.files.wordpress.com/2016/02/alteryx-marketing.png?resize=618%2C404" alt="Alteryx Marketing.PNG" width="618" height="404" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-marketing.png?w=618&amp;ssl=1 618w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-marketing.png?resize=300%2C196&amp;ssl=1 300w" sizes="(max-width: 618px) 100vw, 618px" data-recalc-dims="1" /></p><h6 style="text-align:center;">(image courtesy of Alteryx)</h6><p><img
data-attachment-id="696" data-permalink="https://dataveld.com/tonystark/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/tonystark.jpg?fit=1200%2C675&amp;ssl=1" data-orig-size="1200,675" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="tonystark" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/tonystark.jpg?fit=300%2C169&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/tonystark.jpg?fit=640%2C360&amp;ssl=1" class="alignnone size-full wp-image-696" src="https://dataveld.files.wordpress.com/2016/02/tonystark.jpg?resize=640%2C360" alt="tonystark" width="640" height="360" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/tonystark.jpg?w=1200&amp;ssl=1 1200w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/tonystark.jpg?resize=300%2C169&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/tonystark.jpg?resize=768%2C432&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/tonystark.jpg?resize=1024%2C576&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h6 style="text-align:center;">(image courtesy of Disney)</h6><p><img
data-attachment-id="708" data-permalink="https://dataveld.com/alteryx-force-lightning/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-force-lightning.png?fit=798%2C424&amp;ssl=1" data-orig-size="798,424" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Alteryx Force Lightning" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-force-lightning.png?fit=300%2C159&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-force-lightning.png?fit=640%2C340&amp;ssl=1" class="alignnone size-full wp-image-708" src="https://dataveld.files.wordpress.com/2016/02/alteryx-force-lightning.png?resize=640%2C340" alt="Alteryx Force Lightning.PNG" width="640" height="340" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-force-lightning.png?w=798&amp;ssl=1 798w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-force-lightning.png?resize=300%2C159&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-force-lightning.png?resize=768%2C408&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h6 style="text-align:center;">(image courtesy of Alteryx)</h6><p><img
data-attachment-id="710" data-permalink="https://dataveld.com/force-lightning/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/force-lightning.png?fit=2400%2C1200&amp;ssl=1" data-orig-size="2400,1200" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Force Lightning" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/force-lightning.png?fit=300%2C150&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/force-lightning.png?fit=640%2C320&amp;ssl=1" class="alignnone size-full wp-image-710" src="https://dataveld.files.wordpress.com/2016/02/force-lightning.png?resize=640%2C320" alt="Force Lightning.png" width="640" height="320" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/force-lightning.png?w=2400&amp;ssl=1 2400w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/force-lightning.png?resize=300%2C150&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/force-lightning.png?resize=768%2C384&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/force-lightning.png?resize=1024%2C512&amp;ssl=1 1024w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/force-lightning.png?w=1280&amp;ssl=1 1280w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/force-lightning.png?w=1920&amp;ssl=1 1920w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h6 style="text-align:center;">(image courtesy of Disney)</h6><p>&nbsp;</p><p
style="text-align:center;"><strong>Alteryx in Reality</strong></p><p><img
data-attachment-id="692" data-permalink="https://dataveld.com/alteryx-ui/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ui.png?fit=1166%2C758&amp;ssl=1" data-orig-size="1166,758" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Alteryx UI" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ui.png?fit=300%2C195&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ui.png?fit=640%2C416&amp;ssl=1" class=" size-full wp-image-692 aligncenter" src="https://dataveld.files.wordpress.com/2016/02/alteryx-ui.png?resize=640%2C416" alt="Alteryx UI" width="640" height="416" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ui.png?w=1166&amp;ssl=1 1166w, https://i1.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ui.png?resize=300%2C195&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ui.png?resize=768%2C499&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ui.png?resize=1024%2C666&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>I clicked around the UI to get a feel for it, but I did not attempt to build a workflow at that stage. For the most part, I spent time reviewing the various options in the Tool Palette (similar to the Microsoft UI ribbon). There is a &#8220;+&#8221; button to the far right that allows you to configure what tools appear, and I briefly looked through the available options. The main takeaway for me at this time was that there are <em>many</em> potentially useful options that are <em>not enabled</em> by default. For example, in the second screenshot below, note that <strong><em>Connectors</em> </strong>is not enabled initially&#8211;<strong>this will be important later because <em>Connectors </em>is where the Microsoft tools will appear after the kit is installed.</strong></p><p><img
data-attachment-id="471" data-permalink="https://dataveld.com/alteryx-tools/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tools.png?fit=1210%2C115&amp;ssl=1" data-orig-size="1210,115" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Alteryx Tools" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tools.png?fit=300%2C29&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tools.png?fit=640%2C61&amp;ssl=1" class="alignnone size-full wp-image-471" src="https://dataveld.files.wordpress.com/2016/02/alteryx-tools.png?resize=640%2C61" alt="Alteryx Tools.PNG" width="640" height="61" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tools.png?w=1210&amp;ssl=1 1210w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tools.png?resize=300%2C29&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tools.png?resize=768%2C73&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tools.png?resize=1024%2C97&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><img
data-attachment-id="467" data-permalink="https://dataveld.com/alteryx-tool-palette/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tool-palette.png?fit=760%2C694&amp;ssl=1" data-orig-size="760,694" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Alteryx Tool Palette" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tool-palette.png?fit=300%2C274&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tool-palette.png?fit=640%2C584&amp;ssl=1" class="size-full wp-image-467 aligncenter" src="https://dataveld.files.wordpress.com/2016/02/alteryx-tool-palette.png?resize=640%2C584" alt="Alteryx Tool Palette.png" width="640" height="584" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tool-palette.png?w=760&amp;ssl=1 760w, https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-tool-palette.png?resize=300%2C274&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>My next task was to install the Microsoft add-on. Closing Alteryx, I then went to obtain the download for the <a
href="http://pages.alteryx.com/Microsoft-Power-BI-Kit-W.html" target="_blank">Visual Analytics Kit for Microsoft</a>.</p><p>After extracting the files, I looked at the &#8220;Microsoft Kit Instructions.pdf&#8221; that was included with the download. Here is a summary from the PDF listing what what the kit enables:</p><h4><span
style="color:#333399;">With the samples within the Visual Analytics kit, you can: </span></h4><ul><li><h4><span
style="color:#333399;">Collect, cleanse, and blend all relevant data sources in a single workflow </span></h4></li><li><h4><span
style="color:#333399;">Give your data analytical context by providing predictive and deep geo-spatial analytics, as well as text analytics from Azure Machine Learning </span></h4></li><li><h4><span
style="color:#333399;">Publish the results of your analytic workflows directly into Microsoft Power BI</span></h4></li></ul><p>&nbsp;</p><p>Woah, woah, woah&#8230; <a
href="https://studio.azureml.net/" target="_blank">Azure Machine Learning</a>? Having gone into this intentionally blind to get a proper new user experience, I had no idea that there was more than Power BI integration. First R, now Azure ML! Granted, it is only Azure ML for text analytics, but this was a great thing to see. Here is an image of the kit PDF in full:</p><p><img
data-attachment-id="520" data-permalink="https://dataveld.com/ms-visual-analytics-kit/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/ms-visual-analytics-kit.png?fit=814%2C767&amp;ssl=1" data-orig-size="814,767" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="MS Visual Analytics Kit" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/ms-visual-analytics-kit.png?fit=300%2C283&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/ms-visual-analytics-kit.png?fit=640%2C603&amp;ssl=1" class="size-full wp-image-520 aligncenter" src="https://dataveld.files.wordpress.com/2016/02/ms-visual-analytics-kit.png?resize=640%2C603" alt="MS Visual Analytics Kit.PNG" width="640" height="603" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/ms-visual-analytics-kit.png?w=814&amp;ssl=1 814w, https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/ms-visual-analytics-kit.png?resize=300%2C283&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/ms-visual-analytics-kit.png?resize=768%2C724&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>Reading through the one page PDF, the main takeaway is to run the <strong>DataInstall.exe</strong> file included with the kit. Proceeding through the installation, it included an option for some Microsoft samples:</p><p><img
data-attachment-id="500" data-permalink="https://dataveld.com/alteryx-ms-samples/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ms-samples.png?fit=653%2C533&amp;ssl=1" data-orig-size="653,533" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Alteryx MS Samples" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ms-samples.png?fit=300%2C245&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ms-samples.png?fit=640%2C522&amp;ssl=1" class="size-full wp-image-500 aligncenter" src="https://dataveld.files.wordpress.com/2016/02/alteryx-ms-samples.png?resize=640%2C522" alt="Alteryx MS Samples" width="640" height="522" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ms-samples.png?w=653&amp;ssl=1 653w, https://i2.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ms-samples.png?resize=300%2C245&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>After finishing the Visual Analytics Kit installation, I re-opened Alteryx expecting to see something (<em>anything</em>) related to the fact that I had just added the Kit. I didn&#8217;t. No new icons, no alert, etc. If I have one complaint about the Kit installation and configuration from the perspective of a user with <em>no</em> prior Alteryx experience, it would be here.</p><p>I finally broke down and watched one of the demo videos, where I learned that <strong>both the Microsoft Power BI as well as Azure ML functionality appear as <em>Connectors</em> that you need to manually enable in the Tool Palette.</strong> It would have been appreciated to have had this information in the PDF, but at least I had everything that I needed to get started at this point.</p><p><img
data-attachment-id="541" data-permalink="https://dataveld.com/alteryx-ms-connectors/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ms-connectors.png?fit=174%2C83&amp;ssl=1" data-orig-size="174,83" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Alteryx MS Connectors" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ms-connectors.png?fit=174%2C83&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2016/02/alteryx-ms-connectors.png?fit=174%2C83&amp;ssl=1" class="size-full wp-image-541 aligncenter" src="https://dataveld.files.wordpress.com/2016/02/alteryx-ms-connectors.png?resize=174%2C83" alt="Alteryx MS Connectors.png" width="174" height="83" data-recalc-dims="1" /></p><p>Afterward, it was time to watch some more <a
href="http://www.alteryx.com/partners/microsoft/alteryx-and-microsoft-power-bi" target="_blank">demo videos</a>&#8230;</p><p>Apart from my new user woes due to not having watched the demo videos first, I am looking forward to evaluating Alteryx and learning more about the product over the coming months. Particularly as it relates to the Power BI, Azure ML, and R integration, I think that there are some great advantages in having a visual workflow for &#8220;data blending&#8221;. Although I am a heavy user of Power BI&#8217;s own native Power Query and &#8220;M&#8221; language, I recognize that it may not be for everyone. The visual approach to data preparation and ETL that Alteryx offers could arguably be of great benefit to a wider Power BI audience, and I hope to explore that as well as Alteryx&#8217;s predictive capabilities in the time ahead.</p><p>&nbsp;</p><p>&nbsp;</p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-5931835938684253"
data-ad-slot="6104236328"
data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p><strong>REFERENCE</strong> &#8211; R packages included in the Alteryx 10.1 installation:</p><table><tbody><tr><td>abind</td><td>acepack</td><td>alabama</td></tr><tr><td>AlteryxRDataX</td><td>AlteryxRviz</td><td>arm</td></tr><tr><td>arules</td><td>arulesNBMiner</td><td>arulesSequences</td></tr><tr><td>arulesViz</td><td>assertthat</td><td>bitops</td></tr><tr><td>car</td><td>caTools</td><td>coda</td></tr><tr><td>colorspace</td><td>DBI</td><td>dichromat</td></tr><tr><td>digest</td><td>doParallel</td><td>dygraphs</td></tr><tr><td>e1071</td><td>earth</td><td>eventstudies</td></tr><tr><td>fitdistrplus</td><td>flexclust</td><td>FNN</td></tr><tr><td>foreach</td><td>forecast</td><td>Formula</td></tr><tr><td>fracdiff</td><td>gbm</td><td>gclus</td></tr><tr><td>gdata</td><td>ggplot2</td><td>glmnet</td></tr><tr><td>GPArotation</td><td>gplots</td><td>gridBase</td></tr><tr><td>gridExtra</td><td>gtable</td><td>gtools</td></tr><tr><td>Hmisc</td><td>htmltools</td><td>htmlwidgets</td></tr><tr><td>igraph</td><td>irlba</td><td>iterators</td></tr><tr><td>jsonlite</td><td>labeling</td><td>latticeExtra</td></tr><tr><td>limSolve</td><td>lme4</td><td>lmtest</td></tr><tr><td>lpSolve</td><td>lubridate</td><td>magrittr</td></tr><tr><td>MatrixModels</td><td>mc2d</td><td>memoise</td></tr><tr><td>minqa</td><td>modeltools</td><td>munsell</td></tr><tr><td>mvtnorm</td><td>nloptr</td><td>NMF</td></tr><tr><td>nortest</td><td>numDeriv</td><td>pbkrtest</td></tr><tr><td>PerformanceAnalytics</td><td>pkgmaker</td><td>plotmo</td></tr><tr><td>plotrix</td><td>plyr</td><td>proto</td></tr><tr><td>quadprog</td><td>quantmod</td><td>quantreg</td></tr><tr><td>R6</td><td>randomForest</td><td>RColorBrewer</td></tr><tr><td>Rcpp</td><td>RcppArmadillo</td><td>RcppEigen</td></tr><tr><td>registry</td><td>reshape</td><td>reshape2</td></tr><tr><td>rgeos</td><td>rJava</td><td>rjson</td></tr><tr><td>rngtools</td><td>rpart.plot</td><td>RSclient</td></tr><tr><td>scales</td><td>scatterplot3d</td><td>seriation</td></tr><tr><td>slam</td><td>sm</td><td>sp</td></tr><tr><td>SparseM</td><td>stringi</td><td>stringr</td></tr><tr><td>survey</td><td>TeachingDemos</td><td>timeDate</td></tr><tr><td>tseries</td><td>TSP</td><td>TTR</td></tr><tr><td>vcd</td><td>vioplot</td><td>whisker</td></tr><tr><td>wordcloud</td><td>xtable</td><td>xts</td></tr><tr><td>yaml</td><td>zoo</td></tr></tbody></table><p>The post <a
rel="nofollow" href="https://dataveld.com/2016/02/11/installing-alteryx-and-the-microsoft-visual-analytics-kit/">Installing Alteryx and the Visual Analytics Kit for Microsoft</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2016/02/11/installing-alteryx-and-the-microsoft-visual-analytics-kit/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">429</post-id> </item> </channel> </rss>