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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Compare different years within line Diagram

Hey,

 

I am looking for a solution to compare the sales per month of different years, within one diagram. So on my X-Axis I want to show every month from JAN to DEC and on the Y-Axis the amount of sales for every month.

 

The problem is, that it does not seem to be possible, to compare different years within one diagram (because if I put the date dimension on the X-Axis, it will show the month combined with the year). So the sales of every year should be shown in one graph (different colour), so that you can see the amount of sales per month im comparison for each different year.

 

I hope my problem is clear for everyone and someone has an idea on how to approach this.

 

example_diagram.png

Regards,

Lucas

1 ACCEPTED SOLUTION
amaniramahi
Helper V
Helper V

did you add the year as a legend and it did not work?

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Yes, thanks a lot!

That worked for me. I had to remove the date-dimension from the X-Axis first, though. Afterwards, I could just add the month dimension to the X-Axis again and it does exactly what I wanted to do.

amaniramahi
Helper V
Helper V

did you add the year as a legend and it did not work?

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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