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

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

Reply
ericxu94
Regular Visitor

Help with showing multiple years data on a month-day axis

Hi all, I have a data that contains multiple years, but I want them to be structured as one line a year (from pic1 to pic2), how can I do it? 微信图片_20190917145503.png微信图片_20190917145534.png Thanks in advance 

 

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @ericxu94 

For your case, just drag [Month] field into Axis and [Year] filed into Legend, Then it will work.

Result:

BeforeBeforeAfterAfter

and here is sample pbix, please try it.

 

 

Best Regards,

Lin

Community Support Team _ Lin
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-lili6-msft
Community Support
Community Support

hi, @ericxu94 

For your case, just drag [Month] field into Axis and [Year] filed into Legend, Then it will work.

Result:

BeforeBeforeAfterAfter

and here is sample pbix, please try it.

 

 

Best Regards,

Lin

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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