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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
AdamMG
Helper I
Helper I

Patterns in stacked bar chart - Deneb (Vega-lite)

Hi,
I am using Deneb (Vege-Lite) in PowerBI.
I am wondering if there is a way to use patterns in stacked bar chart (different to each category).
... It doesn't have to be a pattern - can be SVG file as background.

The pattern will be taken from field - different for each category.
Please check an example https://i.stack.imgur.com/rLTs2.png


9 REPLIES 9
Zoe7294
Regular Visitor

Hello!

Just wondering if you ever managed to do this in Deneb. I'm having the same issue. 

Thanks!

Hi.
As far as I know you can have only one pattern with multiple colors.
I am talking about vega lite - maybe it's different with vega

iou
Frequent Visitor

Hi, Any updates on this? \would be really useful for the visually impaired...

Zoe7294
Regular Visitor

The closest I've been able to get has been to create two seperate charts in vega lite and leyer them on top of one another. It looks nice but its inefficient. 

 

I'll probably try and invest in learning Vega instead. 

Zoe7294_0-1719543081704.png

 

iou
Frequent Visitor

still a smart work around 🙂

VEGA is much more powerful 

It is possible with Vega

iou
Frequent Visitor

As opposed to Vega Lite you mean....

amitchandak
Super User
Super User

@AdamMG , I doubt that with standard stacked visual

 

You can explore custom visual

https://appsource.microsoft.com/en-us/marketplace/apps?product=power-bi-visuals

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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