Forum Discussion
How to use conditional alt text?
Hi Josh_Lalonde ,
With conditional formatting for tables in Power BI Desktop, you can specify customized cell colors, including color gradients, based on field values. You can also represent cell values with data bars or KPI icons, or as active web links. You can apply conditional formatting to any text or data field, as long as you base the formatting on a field that has numeric, color name or hex code, or web URL values.
In addition, Conditional formatting needs an aggregation or measure to be applied to the value. So you may create a measure like this and then apply it to "Based on Field".
Alt Measure = SWITCH(MAX('Table'[Country]),"China","a","America","b","France","c","Japan","d","Korea","e")
Refer to:
Conditional table formatting in Power BI Desktop - Power BI | Microsoft Docs
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.