Menu

1 / 13

Adding R to Power BI: Statistics, Trends and a Six-Month Sales Forecastfor Adventure Works

DEV Community: r·GAURANGSURTE·about 20 hours ago
#De4zLiRX
#devtor#devto#dev#sales#power
Reading 0:00
15s threshold

Aim

To integrate R with Power BI, use R for statistical analysis, advanced visualization and timeseries forecasting, and combine the results with Power BI KPI cards, slicers, filters and drilldown in one professional, interactive dashboard.

Objectives

Set up R with Power BI and enable R script visuals.

Import and clean the Adventure Works data and calculate summary statistics.

Create at least four R visuals, five KPI cards and four native Power BI visuals.

Run an advanced analysis (a time-series forecast) with an R package.

Add slicers, filters and a drill-down, then write the business insights.

Tools : Power BI Desktop, R (with RStudio for testing), packages ggplot2 , forecast and scales.

Dataset : Adventure Works sales, product, territory and customer files.

The short version

Power BI is excellent at totals and slicers but cannot draw a box plot or fit a forecasting model on its own. R can.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.