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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Conditional Color Scorecard Text w Alphanumeric characters.

My data has has a letter "X", in the Wait Time column which stands for "Closed".    I want to set the text color X to red in a scorecard, also use the number ranges below, too.  Please help me achieve this.  Datatype comes out as Text cause of the X. 

 

Open/ClosedWait Time
OPEN14
CLOSEDX
OPEN17
OPEN4
OPEN3

 

 

         HOW TO SET X TO RED?

sa34techer_1-1737654768063.png

 

 

 

 

 

sa34techer_0-1737654544859.png

 

1 ACCEPTED SOLUTION
rsbin
Community Champion
Community Champion

@Anonymous ,

You recognize that Power BI does not handle mixed data in the same Column.

You can handle this in a couple of different ways.

1.  Use Power Query to replace "X" with a -ve number (-1,-99 or such).  Then your Column becomes a whole number or decimal column.  Then proceed to use your conditional formatting.

2.  Alternatively, you can create another Calculated Column to contain records that are "Closed" ( = "X")

Then your Wait Time column becomes a number column and you can easily identify Closed Records via this new column.

Hope you get the gist of these thoughts and leads you to an appropriate solution.

Regards,

View solution in original post

1 REPLY 1
rsbin
Community Champion
Community Champion

@Anonymous ,

You recognize that Power BI does not handle mixed data in the same Column.

You can handle this in a couple of different ways.

1.  Use Power Query to replace "X" with a -ve number (-1,-99 or such).  Then your Column becomes a whole number or decimal column.  Then proceed to use your conditional formatting.

2.  Alternatively, you can create another Calculated Column to contain records that are "Closed" ( = "X")

Then your Wait Time column becomes a number column and you can easily identify Closed Records via this new column.

Hope you get the gist of these thoughts and leads you to an appropriate solution.

Regards,

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.