Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I have a scatter plot (image below) that measures Gross Margin vs. Discount. When I use the automatic average line from PBI, it shows a different value compared to that in a card. As you can see in the image, the scatter plot is producing ~74% as opposed to ~80% in the card. Why is that and how can I resolve as this will confuse the users?
Both visuals are using exactly same measure and have same filters on them. My discount is simply calculated as
This is the difference of between average using measure and column(average line).
The logic of the average line is you average the result(first divide then average), for the averagex measure you first average then divide. Hope this example explains you the logic:
For average line = (0.5+0.75+0.5+0.67)/4 = 0.60
For averagex measure = divide (10+20+20+30)/4 -(5+5+10+10)/4)
by (5+5+10+10)/4) = 0.63
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you. Can you tell how can I resolve this issue? I guess the measure is showing the correct result. So, I need scatter plot to show it correctly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
75 | |
68 | |
54 | |
37 | |
35 |
User | Count |
---|---|
65 | |
65 | |
59 | |
53 | |
45 |