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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Frequent Visitor

Table Databars with color coding - custom visual?

I am trying to find a way to add colors based on a categorical variable to data bars on a table visual. Below is an example of what I need it to look like but the colors for the data bars in car sales YoY must correspond to the region that the market is in. For example if the market is west then blue, central red, east coast yellow. Users must be able to have the option to sort by population as well. Is there a custom visual that I can use to accomplish this?


MarketCar sales % YoYPopulation
Los Angeles==========3,800,000
Super User
Super User

Hi @Turambar 

Unfortunately, this functionality is unsupported.

There is some workaround to combine it with a regular bar chart

Please refer to the linked discussions:


My personal recommendation is just to use a matrix with your wanted areas, I explained here why :

My attention-span-challenging graph (

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




I've done it for other reports in the past but a matrix next to the chart will not work in this case. Users need to be able to have the option to sort the bars by the % YoY value that the bars visualize or population which would be the numbers to the right of it. That's why I was curious if it had been accomplished with a custom visual.

As I said this option is just not available....

You can vote the idea about this option here :

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


Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.