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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Isabellemilow
Frequent Visitor

Years side by side instead of consecutively

Hello together 🙂

 

I've created at the beginning of the year my first powerBi dashboard... Unfortunately, I haven't had anything to do with PowerBi for a whole year now, so my knowledge is a bit rusty... can you perhaps help me and tell me how I can compare the years/periods directly next to each other instead of one after the other?
So I would like P01 to show 2021 - 2023 and show my totals per period in one bar, if you know what I mean. Unfortunately I can't find what I'm looking for via google... Can anyone help me?
Thanks a lot!
 

Isabellemilow_0-1701335639549.png

 

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @Isabellemilow ,

You might consider separating the year and period into separate column:

vcgaomsft_2-1701934816603.png

Then apply the period to the x-axis, the output:

vcgaomsft_1-1701934667215.png

Please check the pbix file.

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

ariba_m
Regular Visitor

Hi there,
As per my understanding of the problem, try using the Clustered Bar Chart. 

In your case, replace the field that has P01,P02...P0N with Store Id. Do some formating and hopefully you will achieve it.

ariba_m_0-1701342294179.png

 

 

 

Hope this helps!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.