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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
New Member

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...

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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