Open Side Menu
Skip to contentBrand Logo
Forums
Inspiration
Ideas
Communities
Blogs
Learning
Support
RegisterSign In
  1. Microsoft Fabric Community
  2. Power BI forums
  3. Galleries
  4. R Script Showcase
boefraty's avatar
boefraty
Microsoft Employee
9 years ago

Forecasting in R Visual / R Custom Visual / Power Query / Line Chart

Many faces of forecasting ...    Attached sample contains 4 fifferent ways to perform forecasting with exponential smoothing algorithm.  1) Using R-powered Custom Visual 2) Using R-visual  ...
forecast_CRV_RV_RinPQ.pbix1.7 MB
forecast_exp_RinPQ.R8 KB
Advanced Analytics Visualizations
General R Visualizations
R in Power Query
Cognosben's avatar
Cognosben
Frequent Visitor
8 years ago

Why are the dates in the resultset skewed? Originally they are all first days of each month, as the first one in the screenshot below. 

 

 

boefraty's avatar
boefraty
Microsoft Employee
8 years ago

The algorithm only works with equally spaced dates.  Therefore the original dates are resampled to become equally sampled in the range from first to last dates

  • © 2026 Microsoft
  • Manage cookies
  • Privacy & cookies
  • Terms of use
  • Trademarks
Your Privacy Choices Consumer Health Privacy