Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
126 | |
115 | |
69 | |
62 | |
46 |