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

Bar like Visual

Been looking into the various visualtions and tools for Bar Chart like visual, but thus far have not found what I am looking for.

For context, we have several products, lets say A/B/C/D and each product has X number of processes, which may defer from product to product. For each product, the processes are squential meaning 1 has to finish before 2 starts and so on. And the outcome of the process can be red/green/grey. 

 

Example Data:

StageProcessStatus
A1Red
A2Red
A3Green
A4Red
A5Grey
A6Red
A7Green
A8Red
A9Red
A10Red
A11Green
A12Green
A13Green
A14Green
A15Green
A16Green
A17Grey
A18Grey
A19Green
A20Green
A21Green
A22Green
A23Green
A24Grey
A25Grey
A26Grey
B1Red
B2Red
B3Red
B4Grey
B5Grey
B6Green
B7Red
B8Red
B9Red
B10Red
B11Green
B12Green
C1Green
C2Green
C3Green
C4Green
C5Green
C6Green
C7Green
C8Green
C9Green
C10Green
C11Green
C12Grey
C13Grey
C14Grey
C15Red
C16Red
C17Red
C18Red
C19Red
C20Red
C21Red
C22Red
C23Red
C24Red
C25Green
C26Red
C27Red

 

Using the "Bullet Chart" one can get a bar chart, but there is no control on the color

Aly_0-1737493916531.png

 

When using the "Bullet Chart by xViz" there is some control of the color, however, it does the count and does not treat the color as a distinct entity 

 

Aly_1-1737494004188.png

 

Expected/Required Output 

Aly_2-1737494614918.png

 

As suggessted by @Greg_Deckler Updated to include data and some additional context 

1 ACCEPTED SOLUTION
v-mengmli-msft
Community Support
Community Support

Hi @Aly ,

 

You can get the expected output by Matrix and conditional formatting.

vmengmlimsft_0-1737516367998.png

vmengmlimsft_1-1737516415439.png

 

 

 

 

Best regards,

Mengmeng Li

View solution in original post

6 REPLIES 6
v-mengmli-msft
Community Support
Community Support

Hi @Aly ,

 

You can get the expected output by Matrix and conditional formatting.

vmengmlimsft_0-1737516367998.png

vmengmlimsft_1-1737516415439.png

 

 

 

 

Best regards,

Mengmeng Li

@v-mengmli-msft thanks. I think I was just blindsigthed thinking of it purely as a bar chart. 

The initial setup is daunting especially if the conditional formating spans a lot. Too bad there is no Legend functionality to it. 

Greg_Deckler
Super User
Super User

@Aly Can you post sample data? Maybe a scatter plot chart could be used for this.

 

Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Added context. I hope this is now inline with the forum. 

@Aly I was able to use a Scatter chart to get what you wanted. However, you need to use numbers for your stages instead of text. See attached PBIX file below signature:

Greg_Deckler_0-1737565064976.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler Thats a way of looking at it, unfortnately without the name on the x-axis it is fairly difficult to read for the people who it is intended for. 

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.