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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
matout
Helper I
Helper I

Values arrangement in visual

Hello, 

 

I am relativly new to powerBI and I have the following problem.

 

I have this 100% stacked visual, all of these values are derived from a columne in a table that has 3 possible values 1,2,3.

I want to make value 1 and 3 be next to each other and the rest is value 2.

 

For example, in this visual we have red bar sandwiched between the other colors, 

I want to make other the red bar, with its values be on top, and the rest is by other bars.

 

Can I obtain this in PowerBI

 

thank you

 

 

matout_0-1604247209884.png

 

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @matout 

 

You may try what is suggested by @Anonymous . I created data to reproduce your scenario. The pbix file is attached in the end,

Table:

b1.png

 

Category:

b2.png

 

There is a relationship between two tables. Then you may make 'Category' sorted by 'Value' descending.

b3.pngb4.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-alq-msft
Community Support
Community Support

Hi, @matout 

 

You may try what is suggested by @Anonymous . I created data to reproduce your scenario. The pbix file is attached in the end,

Table:

b1.png

 

Category:

b2.png

 

There is a relationship between two tables. Then you may make 'Category' sorted by 'Value' descending.

b3.pngb4.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mahoneypat
Microsoft Employee
Microsoft Employee

This is possible.  In the query editor, you can highlight that column and choose Replace Values to change the 2 category to "Other", then load the data.  Depending on what the category 1 and 3 are, you may need to add a Sort By Column to get Other to show up last.  

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column

 

One you do that, you can edit the Data Colors on the visual to make Other red.

 

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


what I want is the following.

 

I have a column with 3 possible values (Yes, No, N/A)

in a 100% stacked bar chart

the bars are arranged (from top to bottom)

Yes

N/A

No

 

I want to change that arrangement

I want the bars arrangement to be Yes, No, N/A

 

is that obtainable?

 

I don't want to sort, I want to rearrange the position of the values in bars

Anonymous
Not applicable

Hi @matout  not possible directly to order the customise ordering of clustered bar chart, but what you can try is have another table (Add Data) with static data

Yes   1

No    2

N/A   3

 

Connect this table to your main table on Yes/No/NA value and sort using this new columns (using Tooltip)

 

Hope this helps.

 

Cheers,

-Namish B

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors