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
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
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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.