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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors