DAX code
Progress Bar =
VAR PercentComplete = [Target vs Actual Achievement %]
VAR FilledBlocks = ROUND(PercentComplete * 10, 0)
RETURN
REPT("█", FilledBlocks) & REPT("░", 10 - FilledBlocks)
Builds a text-based progress bar out of repeated block characters, for a lightweight visual inside a table cell.
Type your table and column names once. Every measure below updates.
Progress Bar =
VAR PercentComplete = [Target vs Actual Achievement %]
VAR FilledBlocks = ROUND(PercentComplete * 10, 0)
RETURN
REPT("█", FilledBlocks) & REPT("░", 10 - FilledBlocks)
Depends on the Target vs Actual Achievement % measure from this library; render the result in a table with a monospaced font for even spacing.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Progress Bar Using REPT.