cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.