Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 31 | |
| 30 | |
| 27 | |
| 24 | |
| 16 |
| User | Count |
|---|---|
| 54 | |
| 37 | |
| 27 | |
| 24 | |
| 20 |