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
BlueWhite3699
Helper III
Helper III

TRICKY - Data Bars Power BI Matrix Table

Hi Experts

 

is the following possible as a data bars as conditinal formatting in a matrix table in Power BI

 

If you look at the percentage column where we have 100% full green as shown in the progress column, where we have 82% (less then 100%) - i want the progress bar to be 82% (green) and 18% Red. and so on

 

See sample File

https://www.dropbox.com/scl/fi/4tfmyx6d8zomu10mubi73/Progress.pbix?rlkey=wprhkfxtxmev9n4a339q9gz5f&s... 

1 ACCEPTED SOLUTION
ajaybabuinturi
Memorable Member
Memorable Member

Hi @BlueWhite3699,

Power BI does not natively support split-color progress bars (like green for completed and red for remaining) using data bars in conditional formatting inside matrix visuals.

The built-in data bar conditional formatting in matrix tables only supports:

  • Single-color bars

  • Bar length based on value, but not multiple segments

  • No logic for dual-color thresholds (e.g., green/red splits)

However I have workaround, you can try this measure.

ProgressBar = 
VAR pct = SUM('Status'[Percentage])
RETURN
REPT("█", ROUND(pct * 10, 0)) & REPT("░", 10 - ROUND(pct * 10, 0))

ajaybabuinturi_0-1749228660460.png

Thanks,
If you found this solution helpful, please consider giving it a Like👍 and marking it as Accepted Solution✔. This helps improve visibility for others who may be encountering/facing same questions/issues.

 

View solution in original post

5 REPLIES 5
ajaybabuinturi
Memorable Member
Memorable Member

Hi @BlueWhite3699,

Power BI does not natively support split-color progress bars (like green for completed and red for remaining) using data bars in conditional formatting inside matrix visuals.

The built-in data bar conditional formatting in matrix tables only supports:

  • Single-color bars

  • Bar length based on value, but not multiple segments

  • No logic for dual-color thresholds (e.g., green/red splits)

However I have workaround, you can try this measure.

ProgressBar = 
VAR pct = SUM('Status'[Percentage])
RETURN
REPT("█", ROUND(pct * 10, 0)) & REPT("░", 10 - ROUND(pct * 10, 0))

ajaybabuinturi_0-1749228660460.png

Thanks,
If you found this solution helpful, please consider giving it a Like👍 and marking it as Accepted Solution✔. This helps improve visibility for others who may be encountering/facing same questions/issues.

 

Hi Ajay - cn you re send back the PBIX. thanks much appericated 

BlueWhite3699
Helper III
Helper III

Hi Champ - its the progress column we need to change not the Percentage column

speedramps
Super User
Super User

You can't do it with database.
But you can do it with background colurs

 

RAG = 
var mypercent = MAX('Status'[Percentage])

RETURN
SWITCH( TRUE(),
mypercent = 1, "Green",
mypercent >= 0.82, "Yellow",
"Red"
)

speedramps_0-1749228230292.pngspeedramps_1-1749228246916.png

 

Please click thumbs up because I tried to help.
Then click [accept solution] if it fixed your problem.
Thank you !

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.