Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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:
| Date | Sale |
| 01/09/2021 | 100 |
| 02/09/2021 | 200 |
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
| Date | Forecast |
| 03/09/2021 | 450 (150*3) |
| 04/09/2021 | 600 (150*4) |
and so on. Any help will be appreciated
Solved! Go to Solution.
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.
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
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.
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 74 | |
| 50 | |
| 47 | |
| 44 |