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
deepan_94
Frequent Visitor

Colour Legends in Data Bar Table View

Hi,

 

Is it possible to apply a color legend in data bars in Matrix view(like in Tableau).
Capture.PNG

When I try to achieve same in Power BI using SVG, I'm getting the following bar(which is not a complete Bar).

When I try to increase the size, the Bar becomes small.
Capture1.PNG

 

Is the any way to achieve this color legend in Data Bar in Matrix View?

 

Regards,

Deepan

1 ACCEPTED SOLUTION

Thanks @v-cherch-msft!!!!
I'm looking for a solution, is to implement the Stacked bar with color legend in the Matrix view

Actually this can be partially achieve with the help of SVG Image option(Using Image URL).

 

Thanks,

Deepan

 

 

 

View solution in original post

5 REPLIES 5
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi  @deepan_94

 

I'm afraid i cannot fully understand that. Below is my sample data and bar char visual. You may use 'Legend' to apply a color legend for it. If it is not your case, please share some data sample and expected output. You can upload it to OneDrive or Dropbox and post the link here.

1.png

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-cherch-msft,

 

Thanks for the reply!!!!

 

In your example, In matrix view, a1 and a2 are displayed as a separate column and used the data bar to display it.

 

Is it possible to display the data in single column(both a1 and a2) by applying a color legend to it in Matrix view.

 

Because i'm having the requirement like displaying the text, bars in a single view.

 

Regards,

Deepan

Hi @deepan_94

 

You may have a look at below picture and check if it matches. If not, I'm afraid there is no better way to do that in Matrix view.

1.png

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-cherch-msft!!!!
I'm looking for a solution, is to implement the Stacked bar with color legend in the Matrix view

Actually this can be partially achieve with the help of SVG Image option(Using Image URL).

 

Thanks,

Deepan

 

 

 

Hi @deepan_94

 

Glad to hear you find the solution, please accept your answer as solution, that way, other community members will easily find the solution when they get same issue.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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