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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.