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
bmcminn
Helper II
Helper II

Change position of bars on bar chart

I have a table with an Admission Status column, for applications being Submitted, Enrolled, Confirmed, or Admit. I used a filter measure (Count Admits = CALCULATE(COUNTA('Append1'[Admissions Status]),'Append1'[Admissions Status] IN { "Admit" })) to get counts of each value. There is another column with Year (2022 and 2023).

 

I have a clustered column chart with each count in the Y-axis and year in the X-axis. Instead of having each year in it's own group, I would like the values grouped together, i.e. Enrolled 2022 and 2023 together instead of all of 2022 and all of 2023.

How would I accomplish this bmcminn_0-1685436218707.png

instead of this ? bmcminn_1-1685436260896.png

 

Thank you.

 

2 REPLIES 2
Dhairya
Super User
Super User

Hey @bmcminn 
You can just interchange fields in legends and x-axis to achieve your desired output!
here i have used dummy data to make it easier to understand.

Dhairya_0-1685446248221.png

Dhairya_1-1685446276501.png


Please mark my solution as accepted if it helped you!

Idrissshatila
Super User
Super User

Hello @bmcminn ,

 

Then what you could do is the put the year field in the legend and the admission status in the x-axis.


If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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