Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Power_It_Up
Helper II
Helper II

Clustered Column Chart and Trend Line

Hi.

 

I have spent a whole day researching this problem and still can't figure out a way to add a trend line for month/year.  Have tried normal date, hierarchy date, I have converted months to numerics but still nothing.

 

This is what I have for a clustered column chart with month and year added and at the top level (perfect):-

 

Power_It_Up_0-1743069063538.png

 

I drill down to month and (where's my line gone and continuous setting has disappeared):-

 

Power_It_Up_1-1743069132522.png

 

I have used MONTH([Start Date]) and YEAR([Start Date]) as the X-Axis and they are both set to whole number.

 

Help would be greatly appreciated. 🙂

 

Thank you.

 

 

 

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

have you considered creating your own trend line (with LINESTX) and add it to the chart?

View solution in original post

V-yubandi-msft
Community Support
Community Support

Hi @Power_It_Up ,

  1. To add a trend line for Month/Year in Power BI, link a Date Table to your data and create a combined Month-Year column (e.g., Jan 2025).
  2. Set this column as the X-axis and change the axis type to Continuous.
  3. Use a Line and Clustered Column Chart and enable the Trend Line in the Analytics Pane.

 

@lbendlin , suggested creating a trend line with LINESTX, which is good option for custom calculations. Both methods work well based on your needs.

I also found a similar thread in the community that might help worth checking out.

Solved: Trend Line to Column Chart - Microsoft Fabric Community

Solved: Trendlines on clustered column chart - Microsoft Fabric Community

Solved: Column Chart/Trend Line - Microsoft Fabric Community

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
V-yubandi-msft
Community Support
Community Support

Hi @Power_It_Up ,

Has your issue been resolved, or do you require any further information? Your feedback is valuable to us. If the solution was effective, please mark it as 'Accepted Solution' to assist other community members experiencing the same issue.

V-yubandi-msft
Community Support
Community Support

Hi @Power_It_Up ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

V-yubandi-msft
Community Support
Community Support

Hi @Power_It_Up ,

  1. To add a trend line for Month/Year in Power BI, link a Date Table to your data and create a combined Month-Year column (e.g., Jan 2025).
  2. Set this column as the X-axis and change the axis type to Continuous.
  3. Use a Line and Clustered Column Chart and enable the Trend Line in the Analytics Pane.

 

@lbendlin , suggested creating a trend line with LINESTX, which is good option for custom calculations. Both methods work well based on your needs.

I also found a similar thread in the community that might help worth checking out.

Solved: Trend Line to Column Chart - Microsoft Fabric Community

Solved: Trendlines on clustered column chart - Microsoft Fabric Community

Solved: Column Chart/Trend Line - Microsoft Fabric Community

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

have you considered creating your own trend line (with LINESTX) and add it to the chart?

Yes, I have been looking at this also. 👍

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.