How to Add an Average Line in Power BI
Table of Contents
Introduction
Adding an average line in Power BI is a simple yet resourceful way to instantly give context to your data. A reference line makes it easier for you and your audience to quickly identify which data points are outperforming and which are lagging.
Finding the trend line in your data using Advanced analytics in Power BI
This guide will walk you through the easiest way to add an average line in Power BI.
Why Add an Average Line
A chart without reference points can be difficult to interpret quickly. You might see a line chart of daily sales fluctuating up and down, but without context, you don’t really know if a “good” day is truly exceptional or just slightly better than normal. An average line solves this problem by providing a clear visual benchmark.
Here is why it is so effective:
- Instant Context: It provides a quick overview of your data’s key tendency. Viewers can quickly determine whether a specific time frame, category, or campaign outperformed or underperformed.
- Performance Measurement: It serves as a base line. Do your monthly sales numbers routinely exceed the yearly average? Are certain marketing channels producing higher outcomes than the average channel performance?
- Makes Trend Analysis Easy: By reducing the noise caused by daily or weekly volatility, an average line makes it simpler to identify significant long-term trends in relation to the average.
Drawing an Average Line (Tutorial)
An Average line gives you an estimation of the values in your data. For the sake of this exercise, refer to the exercise file provided at the end of this blog post.
To Draw an Average Line for your data:
- Click on the Line Chart in the Visualization Pane.
2. Drag and drop Date from Date_Table to X-axis. From the Date hierarchy, remove all fields other than Month and Year.
3. Drag and drop Quantity Sold from Sales to Y-axis and click on Analytics Tab in the Visualizations Pane. Scroll down to the Average line option in the Tab.
4. Click on the Average line. Click Add. Double click on Average Line 1 to rename it to Average Line.
5. Turn the Data Label Toggle on. Open the dropdown menu for the data label and set the label horizontal position to right. And set the style to Both.
6. Click on the Slicer Visual in your visualization pane to add a slicer, drag and drop Product Line from Products in fields.
7. Select Camping Equipment from Product Line Slicer.
That’s it. This method is perfect for adding a quick, dynamic average that adjusts based on the filters and slicers affecting your chart.
Key Takeaways
There are two take-home concepts from the above advanced analytics:
- There were a few months in the trend when the quantity of products sold was lower than average.
- The average quantity of products sold in the Camping Equipment Product Line over these two years is 127,987.
Tips and Tricks for Using Average Lines
- Avoid Overcrowding the Chart: An average line is fine, but it will become unreadable if you include lines for the min, max and median. Keep it straightforward and concentrate on the main metric.
- Average vs. Median: You can also include a median line in the Analytics Pane. The median can occasionally be a more representative benchmark than the mean average if your data has a large number of extreme outliers.
- Choose a Meaningful Name: Be specific in both the title and the data label. Rather than using “Average,” use “6-Month Avg Revenue.” Context is crucial.
Conclusion
Adding an average line in Power BI is a fundamental skill that enhances your report from simple data displays to powerful analytical tools. It provides a clear benchmark that enables you to swiftly assess performance rather than only displaying variations in your data. Once the average line is established, you can quickly determine the times when performance exceeds expectations. Also, underperforming timeframes. Furthermore, overall patterns relative to a constant baseline.
As a result, your visual becomes insight-driven rather than merely descriptive. To put it briefly, the average line serves as a point of reference for decision-making, facilitating quicker and more accurate data interpretation for both you and your audience. It becomes a potent tool for producing dynamic and interactive reports when paired with hierarchy features (like drill-down and expand) and filters like slicers.
How to Create Drill-Through Pages in Power BI
Want to learn more about drill-down? Check out our blog: Finding the trend line in your data using Advanced analytics in Power BI
FAQs
In Power BI, an average line is a reference line that shows the dataset’s mean value and is added to a visual (such as a line chart). It facilitates fast comparisons between individual data points and the overall average.
By serving as a benchmark, an average line offers context. It facilitates the identification of trends, draws attention to performance disparities, and makes it simpler to identify values that are above or below average.
Yes, Power BI’s average line is dynamic. It is highly interactive and it automatically recalculates its values based on selected data, slicers, and applied filters.
Further Learning and Resources
To learn more about Power BI, check out our courses here:
- Power BI Essentials
- Power BI Report Design
- Power BI Advanced
- Power BI DAX Essentials
- Power BI Service Course
- ChatGPT Essentials
Want to learn how Microsoft 365 Copilot transforms everyday work with AI? Check out our Course:
Want to learn more about Power BI and how to make reports more efficiently?
Power BI training in Australia: We offer comprehensive training sessions across various cities, including:
Ready to enhance your Power BI skills? Sign up for our training courses and explore our wide range of resources designed to elevate your data analytics capabilities.
Contact Us: Make an enquiry about our Power BI courses and find the proper training for you.







