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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
stuross
Frequent Visitor

Line chart view data by year and month

I am trying to view my date by year and month.  Issue arises when I filter on more than a single year, I still only see 12 months on my plot and it appears that it is aggregating the data from each month over both years.  What I would like to see below the axis is for 2016 all the months data values then right bedisde it 2017 and the months with data vlaues.  I think I am missing some very obvious as this is a pretty standard way of pltotting time data.  Any help would be appreciated.

 

Thanks

 

 Years.pngyears plot.png

 

1 ACCEPTED SOLUTION
SqlJason
Memorable Member
Memorable Member

To do that, you can create a new calculated column in your date table (if it is already not there) which is the concatenation of your year and month. Then, if you place that in the axis, you will get 36 months when you select 3 months. This type of chart helps us in seeing a long term trend.

 

If your aim is to compare months of each each year, you can place Year on the legend and then you will see 3 lines. This type of chart compares how we are doing every month compared to the previos years.

 

 

View solution in original post

2 REPLIES 2
SqlJason
Memorable Member
Memorable Member

To do that, you can create a new calculated column in your date table (if it is already not there) which is the concatenation of your year and month. Then, if you place that in the axis, you will get 36 months when you select 3 months. This type of chart helps us in seeing a long term trend.

 

If your aim is to compare months of each each year, you can place Year on the legend and then you will see 3 lines. This type of chart compares how we are doing every month compared to the previos years.

 

 

Perfect!  Thank-you!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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