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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Frequent 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
Frequent 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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors