Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

forecasting bike rentals in power bi using r

https://www.dropbox.com/s/exvabk4zssniqvo/trips_types.xlsx?dl=0 

 

The follwoing is my data set. Total trips per day. The count has 2 types. casual and registered . I want to forecast the total rentals perday. and apply a slicer to the forecast so it adjusts accordingly to the data when i choose casual, and registered. I applied it using a video. But my problem is when i choose both , i get the total along with days being added . i.e my x axis should have always 1000 days, but when i pick both types, it becomes 2000. 

 

can some one suggest me how to make if work properly.

the code i used here is 

 

arima(deseasonal_cnt, order=c(1,1,8), seasonal=c(0,1,0))
seas_forecast1 <- forecast(fit_seasonality_1, h=30)
plot(seas_forecast1)

 

my sample data is attached in the link

 

0 REPLIES 0

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.