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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MatheusReato
New Member

Trend Line not appearing on a line chart even when available and enabled

I created a line chart and need the trend line to show up, but it just doesn't. The x-axis is set to Continuous, the option "Trend Line" under the Analytics tab is available and enabled, and the trend line is not "hidding" under the actual chart line. It simply does not appear. 

 

Does anyone know what to do?

PS: can't share a print screen as it contains sensitive information.

1 ACCEPTED SOLUTION

Hi @MatheusReato ,

 

I have reproduced your issue. Please remove the date column from x-axis and re-add the date column and do not change the format as it shows the date hierarchy by default. Changing back from date to date hierarchy is causing the issue.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thank you!!

View solution in original post

4 REPLIES 4
MatheusReato
New Member

Hi, @v-sathmakuri 

 

That helped! It seems to be working fine now. Thank you very much for your help!

v-sathmakuri
Community Support
Community Support

Hi @MatheusReato ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

I have created a sample line chart and enabled trend. PFBS for reference. Also attached the pbix file.

 

vsathmakuri_0-1744863182094.png

 

Could you please provide more details so I can suggest a better solution,  Specifically, how are you creating your line chart, are there any slicers or filters applied on the page, and which version of Power BI Desktop are you using?

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thank You!!

Hi, @v-sathmakuri 

 

Thank you very much for your prompt reply. 

 

Basically, I have a table of items that each has a value "A" and a "Created Date", and I want to monitor the monthly evolution of "A" (the average of "A" for each month and for each year). So I added the Date field to the X-Axis (which was automatically set to Continuous) and the Average of "A" to the Y-Axis. The option for the trend line was then available, so I enabled it, but with no effect. The line simply refuses to appear, even with the "Trend Line" button enabled.

 

The chart has some slicers that allows me to filter the analysis by Region, Market Segment, Period, etc, all data that is contained within each item along with the "A" value and Date. However, they don't seem to have an effect on the trend line, as it still does not appear no matter what the slicers are set to. 

 

I'm using Power BI Desktop version 2.140.1078.0 64-bit (February 2025).

 

I analyzed the file you sent, and I seem to be doing exactly the same thing, with the exception that my Date field on the X-Axis is actually a hierarchy. 

 

Thanks again for the response!

Hi @MatheusReato ,

 

I have reproduced your issue. Please remove the date column from x-axis and re-add the date column and do not change the format as it shows the date hierarchy by default. Changing back from date to date hierarchy is causing the issue.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thank you!!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.