cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Line and stacked column chart

I'm trying to show year over year changes per month for shipments. When I select the same month for multiple years instead of showing the months side by side it totals into one month. Such as September 2016-September 2017. This happens when I start adding months from 2016 already selected for 2017 in the graph. Does anyone know how to fix this? 

 

 

Capture.JPG

 

Here is the same data in Excel when you graph tbe shipments, the first month starts September 2016-September 2017 at the end. Why doesn't power bi know to seperate out the months when you have multiple years worth of data?

 

Capture2.JPG

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: Line and stacked column chart

@shiner1

 

Power BI chart visual only takes the category field you put on X-axis to aggregate the data. In this scenario, you have a Month Name column in your source table, Power BI can't detect the calendar based on this text column. I suggest you create a "Year-Month" column in your source table, and build a hierarchy like "Year->Year-Month". Then put the hierarchy into the chart and drill all level down to one.

 

Regards,

View solution in original post

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: Line and stacked column chart

@shiner1

 

Power BI chart visual only takes the category field you put on X-axis to aggregate the data. In this scenario, you have a Month Name column in your source table, Power BI can't detect the calendar based on this text column. I suggest you create a "Year-Month" column in your source table, and build a hierarchy like "Year->Year-Month". Then put the hierarchy into the chart and drill all level down to one.

 

Regards,

View solution in original post

Helpful resources

Announcements
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors