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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TeyaSax
Frequent Visitor

How to compare the data for January 2017 and January 2018 in one chart

How to compare sales data for January 2017 and January 2018 in one chart(clustered column chart)
If I use a date(axis) like a hierarchy, then the data is layered one on one. If the date is not hierarchical, then the data is compared, but they are unloaded by day. And I need to see the data collected by months.

1 ACCEPTED SOLUTION

I think I know where is the problem. In axis field, you should have the following Date hierarchy-  YEAR -> MONTH. And in the graph drill down till the month. But for drill use the last of three buttons on the top left corner (marked with red in attached picture).

Bez nosaukuma.png

View solution in original post

7 REPLIES 7
RolandsP
Resolver IV
Resolver IV

You need 2 following columns Month and YEar. Then you put Month on Axis and Year on Legend. 

It's impossible to use anything in the legend, cause  I use data from 2  different reports in the field value, legend in this case is not active.

I don't really get the structure of your data - do you have values for 2017 and 2018 in separate tables? 

Could you show some sample of the data?

Screenshot_2.pngremade the report. now all the data in one report.
sorry for dullness, I'm new here.

I think I know where is the problem. In axis field, you should have the following Date hierarchy-  YEAR -> MONTH. And in the graph drill down till the month. But for drill use the last of three buttons on the top left corner (marked with red in attached picture).

Bez nosaukuma.png

thank you so much.

Anonymous
Not applicable

THIS!!  I had the same problem as the poster and for the past two days I could not find the answer.  Then I see this post pop up 45 mins ago and BAM, that 3rd button drill down solved it for me.  Thanks!   Time to celebrate for the day and go to lunch. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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