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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors