cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mav_82
New Member

Calculate forecast for a month based on average of completed days in the month

Hi,

 

I need to show a line which has the actual sales by date which have passed in the month and then a dotted line which shows the average sales in the current month * the day of the month. So for example:

 

DateSale
01/09/2021100
02/09/2021200

 

The above are the actual sales, the average will be 150. for future dates i want to create a plot using dotted lines to show something like

 

DateForecast
03/09/2021450 (150*3)
04/09/2021600 (150*4)

 

and so on. Any help will be appreciated

1 ACCEPTED SOLUTION
goncalogeraldes
Super User
Super User

Hello there! You can take advantage of the forecasting tools in Power BI, available in the Analytics pane, found in the Visualizations area of Power BI Desktop. The Analytics pane allows you to add dynamic reference lines to your visuals to provide focus for important trends or insights. 

 

goncalogeraldes_0-1630663541933.png

 

You can create a measure using the AVERAGE() function and use it to plot a line chart and then use the forecasting tool as you please. 

 

Hope this answer solves your problem! If you need any additional help please tag me in your reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️ or give it a kudoe 👍
Thanks!

Best regards,
Gonçalo Geraldes

View solution in original post

1 REPLY 1
goncalogeraldes
Super User
Super User

Hello there! You can take advantage of the forecasting tools in Power BI, available in the Analytics pane, found in the Visualizations area of Power BI Desktop. The Analytics pane allows you to add dynamic reference lines to your visuals to provide focus for important trends or insights. 

 

goncalogeraldes_0-1630663541933.png

 

You can create a measure using the AVERAGE() function and use it to plot a line chart and then use the forecasting tool as you please. 

 

Hope this answer solves your problem! If you need any additional help please tag me in your reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️ or give it a kudoe 👍
Thanks!

Best regards,
Gonçalo Geraldes

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.