Skip to main content

Power BI

New

Font color Dax

Vote (36) Share
Barbara Raney's profile image

Barbara Raney on 24 Jan 2018 05:58:09

DAX Function to change the Font Color of a Measure.

Comments (3)
Barbara Raney's profile image Profile Picture

80dda7c8 48d5-4321-9941-51b0ae0cdf4b on 05 Jul 2020 23:32:39

RE: Font color Dax

Would solve many compare problems

Barbara Raney's profile image Profile Picture

1dcf2a25 ba85-4293-84fd-83bb213a3d8f on 05 Jul 2020 23:23:50

RE: Font color Dax

Yes, that would be great.

Barbara Raney's profile image Profile Picture

9ccf3889 cb82-4012-8f04-306d18141386 on 05 Jul 2020 23:10:11

RE: Font color Dax

Similar to how the FORMAT () function works to change the format of a DAX Measure, have a FONTCOLOR () function which takes a HEX code as argument to provide flexibility to the developer on when to display different colors.

This would allow the most flexibility with regards to conditional formats, or highlighting other outliers.