Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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/Closed | Wait Time |
| OPEN | 14 |
| CLOSED | X |
| OPEN | 17 |
| OPEN | 4 |
| OPEN | 3 |
HOW TO SET X TO RED?
Solved! Go to Solution.
@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,
@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,
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 39 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |