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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

visual development stacked bar

Hello everyone,
I'm going through two problems in developing a component for power bi.
1. The first problem is in the colors of the stacked bar, when I will program the colors for it and the category comes repeated in 2 months for example, in the color settings appears the category repeated 2x or more for each category, that is, if you have a specific sector in the bar of January and the same sector in the bar of February I will have to set the color in each of them. I would like to resolve this at one time because it is the same category. At the moment I managed to remove the repeated elements from the list of categories but then I encounter another problem, it only changes the first category of the order.
2. In this visual look for a bar that is not stacked on the side of the stack but every time a category is set, it influences the bar that is not stacked having to add the value of the current position -1 so that it shows the correct value not visual. I was wondering if there is any way the stacked bar category does not influence the non-stacked bar.
Thanks in advance for your attention and excuse my English.

1 REPLY 1
Anonymous
Not applicable

Follow the model of the chart I'm developing.Problen.png

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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