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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

Community Support
Community Support


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



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,


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

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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