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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AdamMG
Helper I
Helper I

Sorting Stacked Bar Chart by multiple factors etc

Hi all.
I need to create a stacked bar chart with Deneb (Vega-Lite)
I have Depth_From, Depth_To, Interval_Length and Code.
The code can be different/the same/or no code on different depth.

Please check my Power BI File
PowerBi File 

Please check an example below.

AdamMG_0-1709000797877.png

 

2 REPLIES 2
AdamMG
Helper I
Helper I

Hi v-junyant-msft.
I know this is not official PowerBI object. This is Deneb.
I am asking how to do this using Deneb (Vega-Lite)

Anonymous
Not applicable

Hi @AdamMG ,

After my test with your pbix, you can't achieve this using Stacked Bar Chart.
And this is a custom visual:

vjunyantmsft_0-1709085822034.png

This is not an officially provided visual object by Power BI. The effects it can achieve are customized by other users.


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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