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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kadingo
Helper II
Helper II

How to group months by year on a line chart visual Axis

AAAAA.jpg

 

I have a line chart visual in which i want to show the values by month but the months should be grouped by year as in the screenshoot above, is this kind of grouping (as in the screenshoot above) possible in power BI.

 

So far what is happening in my visual is that 12 months showing for the 3 years, so janualy 2017, 2018 & 2019 will just appear under one January and is the same for the rest of the months. 

 

I want to show January  - December 2017 grouped together under 2017. The same should apply for the rest of the years as in the screenshot above, how can i do this in power BI.

 

3 REPLIES 3
Anonymous
Not applicable

Hi @kadingo ,

Yes we can acheive this by disabling concatenate labels in x-Axis.

X-Axis.PNG

 

Best Regards,
Mail2inba4

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

I just turned off concatenate labels in x-Axis but it has NOT changed anything, have you tested it with a line chart visual?. I'm using the November 2019 version of power bi desktop.

Anonymous
Not applicable

HI @kadingo ,

You can modify your x-axis type to 'categorical' and turn off 'concatenate labels', then you can set 'sort by' feature on x-axis fields 'year', 'month' to enable group effect.

11.png

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors