Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Forecast with irregular dates

I have some stock market data for a number of companies. I'm trying to demonstrate a simple forecast function using said data, but Power BI is giving me an error message that reads "Data is too irreg...
  • Anonymous's avatar
    Anonymous
    8 years ago

    Anonymous,

    Firstly, create a date table that contains all possible and continuous dates, then create relationship between the date table and your original table.

    Secondly, merge the date table and your original table based on the date field into a new query.

    Thirdly, create line chart using date key of merged table as X-Axis of Line chart, then you will be able to add forecast line. For more details about solving the above error, please review the following blog.

    http://www.erikhudzik.com/2017/01/16/power-bi-forecasting-feature-and-when-your-data-is-too-irregular-to-forecast/


    Regards,
    Lydia