Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone,
I have this chart:

I want to get the function of the red trend line.
How can i get it?
Thanks
Hi @Anonymous
Thanks for reaching out to us.
You can try this,
in excel:
in Power BI Desktop:
FYI:
Add a Linear Regression Trendline to an Excel Scatter Plot (online-tech-tips.com)
Scatter, bubble, and dot plot charts in Power BI - Power BI | Microsoft Learn
How to Create Trend Line in Power BI Scatter Chart - YouTube
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Ty vry much, the problem is that i have filters that affects my chart and the trend line changes a lot.
Well, you have to calculate it yourself in DAX.
which kind of graph i have to use to be able to put a measure inside my scater plot?. Because in the scater plot that i have in pbi it have only the values option, and i supose that is for only the bubles not a line.
Im going to search about this. Thanks
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |