Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Include future date in a line chart

I have two tables that I have joined on the date column. One with call volumes and one with our forecast until dec 2020. I add them both to a line chart but the date axis is stopping at today.  I want it to continue until dec 2020 so we can see our forecast and how the actual numbers match. How do I fix that?

 

  • Do you have a DATE table to link them? You should use a DATE table and plot the date from the DATE table as the Axis for the chart. Just make sure your DATE table has values for the future and you should see them in the chart if there are also matching values in the forecast table. 

     

    Has this post solved your problem? Please mark it as a solution so that others can find it quickly and to let the community know your problem has been solved. 

     

    If you found this post helpful, please give Kudos.

    I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query. 

    https://sites.google.com/site/allisonkennedycv

3 Replies

  • AllisonKennedy's avatar
    AllisonKennedy
    Icon for Community Champion rankCommunity Champion

    Do you have a DATE table to link them? You should use a DATE table and plot the date from the DATE table as the Axis for the chart. Just make sure your DATE table has values for the future and you should see them in the chart if there are also matching values in the forecast table. 

     

    Has this post solved your problem? Please mark it as a solution so that others can find it quickly and to let the community know your problem has been solved. 

     

    If you found this post helpful, please give Kudos.

    I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query. 

    https://sites.google.com/site/allisonkennedycv

    • Anonymous's avatar
      Anonymous
      Not applicable

      I don't have a seperate date table since it is only these two tables so I thought it wasn't neccessary. I am using the date column from the forecast which include, both all past and future dates. AllisonKennedy 

       

      *EDIT* Even if im only using date and amount from my forecast table I still don't have any future dates. 

      • AllisonKennedy's avatar
        AllisonKennedy
        Icon for Community Champion rankCommunity Champion

        As soon as you start working with dates you should have a date table. It enables you to plot dates properly because every day is plotted, whereas in your data you might have each date a few times and some dates not at all. 

        https://insightsoutliers.com/2018/04/19/m-script-date-dimension/

         

        Has this post solved your problem? Please mark it as a solution so that others can find it quickly and to let the community know your problem has been solved. 

         

        If you found this post helpful, please give Kudos.

        I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query. 

        https://sites.google.com/site/allisonkennedycv