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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
jgustafson
Regular Visitor

Centering a Stacked Column chart on above/below expectations

I've been working with PowerBI for about a day and I cannot figure out how to do what I need.  

It's a chart of achievement levels for students that are Below Expections, Near Expectations, At Expectations, or Above Expectations.

I want the columns to be zeroed so students that are below or near expectations are counted below zero, while the others are counted above zero.  Thank you in advance for any help.

 

PowerBI Chart.jpg

1 ACCEPTED SOLUTION
KNP
Super User
Super User

I would probably manipulate the data by multiplying the 1 and 2 achievement levels by negative 1.

See attached PBIX.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

View solution in original post

3 REPLIES 3
KNP
Super User
Super User

I would probably manipulate the data by multiplying the 1 and 2 achievement levels by negative 1.

See attached PBIX.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

KNP,

Your soultion was so quick and easy that I jumped on it.  Then I realized that I don't have a total column that I can negate.  I'm summing the records from a +-1,000,000 record database in PowerBI.  Eventually a user will be able to filter the chart by school, grade, test area (Math, Science, Language Arts), etc.  What I need to know is AFTER counting up the user requested records in PowerBI, THEN I need to negate the value for Levels 1 and 2.

 

Simple easy fix.  Perfect!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.