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 September 15. Request your voucher.

Reply
Adolfo_Espinosa
New Member

Column Chart/Trend Line

Hi,

I am trying to build a line chart that shows a trend line of sales.

Before this, I have included in my dashboard a slicer that includes "Month" dimension. This column belongs to Time table, linked to Sales table.

I would like that my line chart shows a trend line from january to the month selected in my slicer. But it only returns a dot representing total sales from the month selected.

 

Is it due to the DAX measure applied? or the issue comes from the axis field? In my chart, I have choiced "Month" column for Axis.

 

Thank you in advance for your help! 🙂

 

 

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Adolfo_Espinosa

 

As I know, trend line is only support for the numeric value in X axis and you need to change the type of x-Axis to be Continuous.

 

Capture.PNG

Then you could create a between Slicer from month 1 to 12 and a line chart with trend line.

 

When you select the month filed from time table in between Slicer, the line line chart will show a trend line from january to the month you selected.

 

Untitled.png

Hope this can help you!

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
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

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Adolfo_Espinosa

 

As I know, trend line is only support for the numeric value in X axis and you need to change the type of x-Axis to be Continuous.

 

Capture.PNG

Then you could create a between Slicer from month 1 to 12 and a line chart with trend line.

 

When you select the month filed from time table in between Slicer, the line line chart will show a trend line from january to the month you selected.

 

Untitled.png

Hope this can help you!

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.