Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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
Good morning
I would like to know how I can assign a specific color to each type of data that is included within a column (TERM) in a data table (Figure 1). Specifically I want to assign background two colors, green for OK and red for NO OK. You can see how the PLAZO table is constructed and categorized in Figure 2 and 3. Thank you very much in advance for any help or advice you can give me about it.
A greeting
Joseph I. Del Pino B.
Figure 1.
Figure 2.
Figure 3.
Solved! Go to Solution.
Hi, @Syndicate_Admin
I agree with timg. Conditional formatting can solve your problem. You can create a Measure as the following and then format your data column with it.
Color_TEXT =
SWITCH ( SELECTEDVALUE ( 'Table'[PLAZO] ), "OK", "Green", "NO OK", "RED" )
The result looks like this:
Best Regards,
Caiyun Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Syndicate_Admin
I agree with timg. Conditional formatting can solve your problem. You can create a Measure as the following and then format your data column with it.
Color_TEXT =
SWITCH ( SELECTEDVALUE ( 'Table'[PLAZO] ), "OK", "Green", "NO OK", "RED" )
The result looks like this:
Best Regards,
Caiyun Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
You can apply these settings through conditional formatting. You can find this in the formatting tab when you have selected the table.
Best regards,
Tim
Proud to be a Super User!
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 44 | |
| 40 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 69 | |
| 32 | |
| 32 | |
| 32 |