<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Forecasting in R Script Showcase</title>
    <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60181#M23</link>
    <description>&lt;P&gt;Hi, great piece of software,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All other models work, except this one, probably with the ts code part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Posting the error message file here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error Message:&lt;/P&gt;&lt;P&gt;Erro de script do R.&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: forecast&lt;BR /&gt;Loading required package: zoo&lt;/P&gt;&lt;P&gt;Attaching package: 'zoo'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;as.Date, as.Date.numeric&lt;/P&gt;&lt;P&gt;Loading required package: timeDate&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;This is forecast 7.1&lt;/P&gt;&lt;P&gt;Error in if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency) :&lt;BR /&gt;missing value where TRUE/FALSE needed&lt;BR /&gt;Calls: ts&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stack Trace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invocation Stack Trace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID de atividade&lt;BR /&gt;e5ab37b4-ff68-4eeb-9ac7-d3cc346b8037&lt;/P&gt;&lt;P&gt;Hora&lt;BR /&gt;Fri Aug 19 2016 00:14:08 GMT+0100 (Hora de Verão de GMT)&lt;/P&gt;&lt;P&gt;Versão&lt;BR /&gt;2.37.4464.361 (PBIDesktop)&lt;/P&gt;&lt;P&gt;Client Error Code&lt;BR /&gt;ServiceErrorToClientError&lt;/P&gt;&lt;P&gt;Error Details&lt;BR /&gt;Erro de script do R.&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: forecast&lt;BR /&gt;Loading required package: zoo&lt;/P&gt;&lt;P&gt;Attaching package: 'zoo'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;as.Date, as.Date.numeric&lt;/P&gt;&lt;P&gt;Loading required package: timeDate&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;This is forecast 7.1&lt;/P&gt;&lt;P&gt;Error in if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency) :&lt;BR /&gt;missing value where TRUE/FALSE needed&lt;BR /&gt;Calls: ts&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stack Trace&lt;BR /&gt;Microsoft.PowerBI.ExploreServiceCommon.ScriptHandlerException: Erro de script do R.&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: forecast&lt;BR /&gt;Loading required package: zoo&lt;/P&gt;&lt;P&gt;Attaching package: 'zoo'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;as.Date, as.Date.numeric&lt;/P&gt;&lt;P&gt;Loading required package: timeDate&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;This is forecast 7.1&lt;/P&gt;&lt;P&gt;Error in if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency) :&lt;BR /&gt;missing value where TRUE/FALSE needed&lt;BR /&gt;Calls: ts&lt;BR /&gt;Execution halted&lt;BR /&gt;---&amp;gt; Microsoft.PowerBI.Radio.RScriptRuntimeException: Erro de script do R.&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: forecast&lt;BR /&gt;Loading required package: zoo&lt;/P&gt;&lt;P&gt;Attaching package: 'zoo'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;as.Date, as.Date.numeric&lt;/P&gt;&lt;P&gt;Loading required package: timeDate&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;This is forecast 7.1&lt;/P&gt;&lt;P&gt;Error in if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency) :&lt;BR /&gt;missing value where TRUE/FALSE needed&lt;BR /&gt;Calls: ts&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;em Microsoft.PowerBI.Radio.RScriptWrapper.RunScript(String originalScript, Int32 timeoutMs)&lt;BR /&gt;em Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(String script, String inputVariableName, IDataReader dataReader, Nullable`1 viewportWidthPx, Nullable`1 viewportHeightPx)&lt;BR /&gt;--- Fim do rastreio da pilha de excepção interna ---&lt;BR /&gt;em Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(String script, String inputVariableName, IDataReader dataReader, Nullable`1 viewportWidthPx, Nullable`1 viewportHeightPx)&lt;BR /&gt;em Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.RunInternal(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;em Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.Run(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;em Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.TransformDataShapeResult(QueryCommand transformCommand, String dataShapeId, SemanticQueryDataShapeCommand command, Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;em Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteDataQuery(IQueryResultDataWriter queryResultDataWriter, DataShapeGenerationContext dsqGenContext, EntityDataModel model, DataQuery query, ServiceErrorStatusCode&amp;amp; serviceErrorStatusCode)&lt;BR /&gt;em Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteSemanticQueryCommands(IQueryResultsWriter queryResultsWriter, ExecuteSemanticQueryRequest request, IConceptualSchema conceptualSchema, EntityDataModel model)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If only one time series selected, visual does appear, but prediction model transforms into an useless predictive model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keep it up with the good work.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2016 23:29:33 GMT</pubDate>
    <dc:creator>HMonteiro</dc:creator>
    <dc:date>2016-08-18T23:29:33Z</dc:date>
    <item>
      <title>Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/58485#M16</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV&gt;Forecasting is used to predict next points in time series data sets. The prediction in this example is based on trend and seasonality.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;Prerequisites (The sample .pbix files will not work without these prerequites completed)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. Install R Engine&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Power BI Desktop does not include, deploy or install the R engine. To run R scripts in Power BI Desktop, you must separately install&lt;/SPAN&gt;R&lt;SPAN&gt; on your local computer. You can download and install &lt;/SPAN&gt;R&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;for free from many locations, including the &lt;/SPAN&gt;&lt;A title="" href="https://mran.revolutionanalytics.com/download/" target="_blank" rel="nofollow noopener noreferrer"&gt;Revolution Open download page&lt;/A&gt;&lt;SPAN&gt;, and the &lt;/SPAN&gt;&lt;A title="" href="https://cran.r-project.org/bin/windows/base/" target="_blank" rel="nofollow noopener noreferrer"&gt;CRAN Repository&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Install the required R packages.&lt;/P&gt;
&lt;P&gt;Download the R script attached to this message and run it to install all required packages on your local machine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Required&amp;nbsp;R packages:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;forecast, graphics, scales, zoo&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Tested on:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;CRAN 3.3.1, MRO 3.3.0&lt;SPAN&gt;, powerbi.com&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Legal Disclaimers:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="" href="http://aka.ms/galleryTOS" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;EM&gt;Terms of Service &lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;and &lt;/EM&gt;&lt;A title="" href="https://aka.ms/gallerythirdparty" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;EM&gt;Third Party Programs&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 09:27:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/58485#M16</guid>
      <dc:creator>Sharon</dc:creator>
      <dc:date>2016-11-16T09:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60170#M22</link>
      <description>&lt;P&gt;Do not sure why, but visual don't work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Loading required package: scales&lt;BR /&gt;Loading required package: forecast&lt;BR /&gt;Loading required package: zoo&lt;/P&gt;&lt;P&gt;Attaching package: 'zoo'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;as.Date, as.Date.numeric&lt;/P&gt;&lt;P&gt;Loading required package: timeDate&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;This is forecast 7.1&lt;/P&gt;&lt;P&gt;Error in &lt;STRONG&gt;if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency)&lt;/STRONG&gt; :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 22:22:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60170#M22</guid>
      <dc:creator>hohlick</dc:creator>
      <dc:date>2016-08-18T22:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60181#M23</link>
      <description>&lt;P&gt;Hi, great piece of software,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All other models work, except this one, probably with the ts code part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Posting the error message file here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error Message:&lt;/P&gt;&lt;P&gt;Erro de script do R.&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: forecast&lt;BR /&gt;Loading required package: zoo&lt;/P&gt;&lt;P&gt;Attaching package: 'zoo'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;as.Date, as.Date.numeric&lt;/P&gt;&lt;P&gt;Loading required package: timeDate&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;This is forecast 7.1&lt;/P&gt;&lt;P&gt;Error in if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency) :&lt;BR /&gt;missing value where TRUE/FALSE needed&lt;BR /&gt;Calls: ts&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stack Trace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invocation Stack Trace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID de atividade&lt;BR /&gt;e5ab37b4-ff68-4eeb-9ac7-d3cc346b8037&lt;/P&gt;&lt;P&gt;Hora&lt;BR /&gt;Fri Aug 19 2016 00:14:08 GMT+0100 (Hora de Verão de GMT)&lt;/P&gt;&lt;P&gt;Versão&lt;BR /&gt;2.37.4464.361 (PBIDesktop)&lt;/P&gt;&lt;P&gt;Client Error Code&lt;BR /&gt;ServiceErrorToClientError&lt;/P&gt;&lt;P&gt;Error Details&lt;BR /&gt;Erro de script do R.&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: forecast&lt;BR /&gt;Loading required package: zoo&lt;/P&gt;&lt;P&gt;Attaching package: 'zoo'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;as.Date, as.Date.numeric&lt;/P&gt;&lt;P&gt;Loading required package: timeDate&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;This is forecast 7.1&lt;/P&gt;&lt;P&gt;Error in if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency) :&lt;BR /&gt;missing value where TRUE/FALSE needed&lt;BR /&gt;Calls: ts&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stack Trace&lt;BR /&gt;Microsoft.PowerBI.ExploreServiceCommon.ScriptHandlerException: Erro de script do R.&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: forecast&lt;BR /&gt;Loading required package: zoo&lt;/P&gt;&lt;P&gt;Attaching package: 'zoo'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;as.Date, as.Date.numeric&lt;/P&gt;&lt;P&gt;Loading required package: timeDate&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;This is forecast 7.1&lt;/P&gt;&lt;P&gt;Error in if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency) :&lt;BR /&gt;missing value where TRUE/FALSE needed&lt;BR /&gt;Calls: ts&lt;BR /&gt;Execution halted&lt;BR /&gt;---&amp;gt; Microsoft.PowerBI.Radio.RScriptRuntimeException: Erro de script do R.&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: forecast&lt;BR /&gt;Loading required package: zoo&lt;/P&gt;&lt;P&gt;Attaching package: 'zoo'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;as.Date, as.Date.numeric&lt;/P&gt;&lt;P&gt;Loading required package: timeDate&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;This is forecast 7.1&lt;/P&gt;&lt;P&gt;Error in if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency) :&lt;BR /&gt;missing value where TRUE/FALSE needed&lt;BR /&gt;Calls: ts&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;em Microsoft.PowerBI.Radio.RScriptWrapper.RunScript(String originalScript, Int32 timeoutMs)&lt;BR /&gt;em Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(String script, String inputVariableName, IDataReader dataReader, Nullable`1 viewportWidthPx, Nullable`1 viewportHeightPx)&lt;BR /&gt;--- Fim do rastreio da pilha de excepção interna ---&lt;BR /&gt;em Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(String script, String inputVariableName, IDataReader dataReader, Nullable`1 viewportWidthPx, Nullable`1 viewportHeightPx)&lt;BR /&gt;em Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.RunInternal(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;em Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.Run(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;em Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.TransformDataShapeResult(QueryCommand transformCommand, String dataShapeId, SemanticQueryDataShapeCommand command, Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;em Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteDataQuery(IQueryResultDataWriter queryResultDataWriter, DataShapeGenerationContext dsqGenContext, EntityDataModel model, DataQuery query, ServiceErrorStatusCode&amp;amp; serviceErrorStatusCode)&lt;BR /&gt;em Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteSemanticQueryCommands(IQueryResultsWriter queryResultsWriter, ExecuteSemanticQueryRequest request, IConceptualSchema conceptualSchema, EntityDataModel model)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If only one time series selected, visual does appear, but prediction model transforms into an useless predictive model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keep it up with the good work.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 23:29:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60181#M23</guid>
      <dc:creator>HMonteiro</dc:creator>
      <dc:date>2016-08-18T23:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60310#M24</link>
      <description>&lt;P&gt;To those who have issues with "&lt;SPAN&gt;Error in &lt;/SPAN&gt;&lt;STRONG&gt;if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency)&lt;/STRONG&gt;&lt;SPAN&gt; :"&amp;nbsp;&lt;/SPAN&gt;it turns out R uses your local language setting to determine a month name...&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you add the following to you R-script it should force the code to use english setting:&lt;/P&gt;&lt;P&gt;Sys.setlocale("LC_ALL","English")&lt;/P&gt;&lt;P&gt;Make sure to add it the to top of the code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps you too :&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 08:11:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60310#M24</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-19T08:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60312#M25</link>
      <description>&lt;P&gt;To those who have issues with "&lt;SPAN&gt;Error in &lt;/SPAN&gt;&lt;STRONG&gt;if (frequency &amp;gt; 1 &amp;amp;&amp;amp; abs(frequency - round(frequency)) &amp;lt; ts.eps) frequency &amp;lt;- round(frequency)&lt;/STRONG&gt;&lt;SPAN&gt; :"&amp;nbsp;&lt;/SPAN&gt;it turns out R uses your local language setting to determine a month name...&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you add the following to you R-script it should force the code to use english setting:&lt;/P&gt;&lt;P&gt;Sys.setlocale("LC_ALL","English")&lt;/P&gt;&lt;P&gt;Make sure to add it the to top of the code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps you too :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Chris&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 08:12:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60312#M25</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-19T08:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60367#M27</link>
      <description>&lt;P&gt;When running the ScriptInstallPackagesForForecast.R script, I'm getting the following warnings:&lt;/P&gt;&lt;P&gt;1: package 'forecast' was built under R version 3.3.1&lt;BR /&gt;2: package 'zoo' was built under R version 3.3.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can this be solved please ?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 09:48:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60367#M27</guid>
      <dc:creator>stlecho</dc:creator>
      <dc:date>2016-08-19T09:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60368#M28</link>
      <description>&lt;P&gt;When running the ScriptInstallPackagesForForecast.R script, I'm getting the following warnings:&lt;/P&gt;&lt;P&gt;1: package 'forecast' was built under R version 3.3.1&lt;BR /&gt;2: package 'zoo' was built under R version 3.3.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can this be solved please ?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 09:51:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60368#M28</guid>
      <dc:creator>stlecho</dc:creator>
      <dc:date>2016-08-19T09:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60372#M29</link>
      <description>&lt;P&gt;When running the ScriptInstallPackagesForForecast.R&amp;nbsp;script, I'm getting the following warnings:&lt;/P&gt;&lt;P&gt;-package ‘forecast’ was built under R version 3.3.1&lt;BR /&gt;-package ‘zoo’ was built under R version 3.3.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do to solve those warnings ?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 09:53:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60372#M29</guid>
      <dc:creator>stlecho</dc:creator>
      <dc:date>2016-08-19T09:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60404#M30</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN class=""&gt;Anonymous﻿&lt;/LI-USER&gt;, it works now!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 11:44:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60404#M30</guid>
      <dc:creator>hohlick</dc:creator>
      <dc:date>2016-08-19T11:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60405#M31</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="13105" data-lia-user-login="stlecho" class="lia-mention lia-mention-user"&gt;stlecho﻿&lt;/a&gt;, nothing, it works with this warnings too&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 11:44:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60405#M31</guid>
      <dc:creator>hohlick</dc:creator>
      <dc:date>2016-08-19T11:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60513#M32</link>
      <description>&lt;P&gt;Solved! Many thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 18:38:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60513#M32</guid>
      <dc:creator>HMonteiro</dc:creator>
      <dc:date>2016-08-19T18:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60516#M33</link>
      <description>&lt;P&gt;Anonymous﻿&lt;/a&gt;&amp;nbsp;excellent!!!! Thank you!!!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 18:59:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/60516#M33</guid>
      <dc:creator>JuliaYebra</dc:creator>
      <dc:date>2016-08-19T18:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/70084#M45</link>
      <description>&lt;P&gt;Could you send any one the source file births.csv file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 16:26:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/70084#M45</guid>
      <dc:creator>shreekishore</dc:creator>
      <dc:date>2016-09-20T16:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/70085#M46</link>
      <description>&lt;P&gt;Could you send any one the source file births.csv file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 16:31:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/70085#M46</guid>
      <dc:creator>shreekishore</dc:creator>
      <dc:date>2016-09-20T16:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/70087#M47</link>
      <description>&lt;P&gt;please send Births.csv file&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 16:32:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/70087#M47</guid>
      <dc:creator>shreekishore</dc:creator>
      <dc:date>2016-09-20T16:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/70308#M50</link>
      <description>&lt;P&gt;I am attaching the births.xlsx file used to create this visual.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 07:52:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/70308#M50</guid>
      <dc:creator>Jacob_Minsky</dc:creator>
      <dc:date>2016-09-21T07:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/76881#M69</link>
      <description>&lt;P&gt;This is great! Appreciate the time and effort it took to build and share this out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been exploring the forecasting using the R integration and PowerBI, and was wondering if there was a way to explicitly show the predicted values and confidence intervals in a dynamic way. For example, in this situation, if I clicked on "Cuba" for this specific&amp;nbsp;forecast example, how would&amp;nbsp;I obtain the values shown in the R visualization on the Dashboard?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 19:06:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/76881#M69</guid>
      <dc:creator>rohuyn</dc:creator>
      <dc:date>2016-10-10T19:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/88547#M84</link>
      <description>&lt;P&gt;Thanks for the great visual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting weird x Axis (date) labels.&amp;nbsp;&amp;nbsp; 2016.2, 2016.4 and they don't seem to line up with February 2016 and April 2016.&amp;nbsp; Attached is a png image of what i am seeing.&amp;nbsp; I also included a standard pbi visual to show the correct dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing a formatting option?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 21:42:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/88547#M84</guid>
      <dc:creator>TravisKale</dc:creator>
      <dc:date>2016-11-10T21:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/90282#M87</link>
      <description>&lt;P&gt;Attached is a copy of the actual data used in the original births.csv file which I obtained from the pbix.&lt;BR /&gt;&lt;BR /&gt;I got this by simply creating a new table on the report page, added all columns with no summarisation then used the export data option from that table.&lt;BR /&gt;As dates are exported from Power BI using a date-time format I used excel to reformat the Calendar Month column as just a date.&amp;nbsp; I deliberately used a US format (mm//dd/yyyy) which might be more widely usable though this should automatically be recognised by Power BI anyway.&amp;nbsp; If it is not and you use something different then just format in excel to suit your needs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Obvioulsy this doesn't really gain you anything since the information was all already embedded in the pbix but it does allow you to fix the errors seen when looking at queries.&lt;BR /&gt;&lt;BR /&gt;Of course, the technique is something that might be useful in other situations where you are missing a source file and want to recreate it so hopefully this helps someone.&lt;BR /&gt;&lt;BR /&gt;(attached as a zip file since csv attachments are not supported on the forum)&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 12:38:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/90282#M87</guid>
      <dc:creator>mjc</dc:creator>
      <dc:date>2016-11-16T12:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/106047#M105</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;First of all, awesome visual! It took me a week to script the &lt;STRONG&gt;ets&lt;/STRONG&gt; forecasting in R on my data, and I've been able to get what I want, but then the problem is that it generates a completely new set of data, unrealted to the existing model in Power BI. Your visual solves this problem by integrating the R script (very similar to what I have) into Power BI, so now I can use measures. Great work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Afew things missing here: the Y-axis is poorly marked, if we're talking about millions of dollars on the Y axis. Also, no labels. So, I decided to clone this visual and create my small variation. Standing on the shoulders of giants, as they say&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I've done so far is adjusted the R script to also populate a table of values along with the graph. I left the rest untouched.&lt;/P&gt;&lt;P&gt;I got to the point that suits me for now (I hope to keep improving) and I can see needed results on the web when I run pbiviz start command.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But when I try to package the visual, the packaged custom visual for PBI Desktop doesn't have any of those changes... What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 15:54:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Forecasting/m-p/106047#M105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-23T15:54:53Z</dc:date>
    </item>
  </channel>
</rss>

