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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Solution Supplier
Solution Supplier

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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