cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors