Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Community,
Assist me in implementation of Trend Line to below visual.
IMAGE 1:
X Axis is Months from Jan 2017 to Dec 2017 , then Jan 2018 to Dec 2018, Jan 2019 to July 2017.
1. X Axis Type is Categorical now. In Categorical Type, Trend line in Analytical pane is not visible.
2. When X- Axis Type is changed to Continous, Trend line in Analytical pane is visible but X-Axis now becomes continous automactically Showing all values from 201701 to 201907 as below.
IMAGE 2:
But, X-Axis must not be like this because there is no meaningful in showing 201713, 201714, etc,..... (Because there is no month 13, 14)
Help in applying Trend Line to IMAGE 1.
Thanks in advance,
Sowmiya.
Solved! Go to Solution.
Hello @Sowmiya
Take a look at this solution from @OwenAuger
https://community.powerbi.com/t5/Desktop/DAX-to-create-a-Trend-line/td-p/398438
And this article discussing the same solution.
Hello @Sowmiya
Take a look at this solution from @OwenAuger
https://community.powerbi.com/t5/Desktop/DAX-to-create-a-Trend-line/td-p/398438
And this article discussing the same solution.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 49 | |
| 33 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 85 | |
| 70 | |
| 38 | |
| 28 | |
| 25 |