cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors