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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
elihibdon
Regular Visitor

ARIMA Custom Visual Cannot Run With 0's

I am trying to run the Forecasting with ARIMA visual and get the following error:

 

Error in bcloglik(x, lower, upper) : x must be positive

Calls: FindBoxCoxLambda -> BoxCox.lambda -> bcloglik

Execution halted

 

This is after adding 0's into my dataset to have my dates be evenly spaced intervals and to forecast including values of 0. I found code on github showing x must be <= 0 or else return the error message. How do I forecast including values of 0? I would like to leave BoxCox in this visual turned on to auto set the lambda.

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi,@elihibdon 

      I have tested on my side, but not reproduce the issue. and we need more detail steps for us.

12.PNG13.PNG

 

Please share your demo pbix for us. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.

 

 

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.