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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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