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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
easyleesie
Helper I
Helper I

Forecasting with irregular dates

Hi Experts

 

I have a data set going back 10 years with a sales value for each date of a sale. Unfortunately there is not a sale every day, so the dates are irregular which means I get the "Forecast cannot be created because the timeline is irregular" error.

 

When I try to do it a level up, at monthly, it doesn't give me the option.

 

I thought maybe I could make a monthly average column ad use that. Any suggestions?

Thanks

3 REPLIES 3
v-easonf-msft
Community Support
Community Support

Hi, @easyleesie 

As mentioned by @amitchandak  and @mwegener ,you need to create a date table that contains  regular dates, then create relationship between the date table and your original table.

Then please merge the date table and your original table based on the date field into a new query. Using date key of merged table as X-Axis of Line chart to create line chart , you will be able to add forecast line.


You can also check these related thread and post.

https://community.powerbi.com/t5/Desktop/Data-is-irregular-to-forecast-in-Power-BI-Desktop/m-p/78177... 
http://www.erikhudzik.com/2017/01/16/power-bi-forecasting-feature-and-when-your-data-is-too-irregula...

 

Best Regards,
Community Support Team _ Eason

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @easyleesie ,

 

In order for Power BI to predict the further course of the X-axis, it must be a date value or a number.

Have a look at the attached PBIX file.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


amitchandak
Super User
Super User

@easyleesie , create a date table and join the date of your table with and then plot it using the date of date table.

If needed use this option

ShowItemwithoutdata.JPG

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.