Skip to main content
Microsoft Idea

Power BI

Needs Votes

Extend DAX Format Function for colors

Vote (1319) Share
David Godri's profile image

David Godri on 22 Sep 2017 20:41:53

Extend Format Function to allow color in format code like in Excel. This would allow far more expressive conditional formatting in formulas. Take it a step further and add codes for bolding, italics and other formatting types. This would allow full flexibility in formatting of reports such as bolding certain rows, etc. Simple change - HUGE benefits! The finance community will thank you greatly!

EXAMPLE:

=FORMAT(1, "[[RED]] #") //formats number as red
=FORMAT(1, "[[#ff0000]] #") //formats number as red (using hex code)
=FORMAT(1, "[[RED;BOLD]] #") //formats number as red and bolds

Comments (80)
David Godri's profile image Profile Picture

Jens Bille on 24 Oct 2022 09:29:15

RE: Extend DAX Format Function for colors

Please add ASAP!

David Godri's profile image Profile Picture

Jeremy Nuss on 23 Oct 2022 14:15:10

RE: Extend DAX Format Function for colors

Agreed, the FORMAT function needs the ability to format text by all the standard text formatting options including, color, bold/italic, strike-through, underline, etc...

David Godri's profile image Profile Picture

Denni Kizhakkanoodan on 20 Oct 2022 10:12:31

RE: Extend DAX Format Function for colors

It is needed .

Thanks

David Godri's profile image Profile Picture

Sandra Frongillo on 18 Aug 2022 18:20:55

RE: Extend DAX Format Function for colors

Would be helpful when you have a measure coded and then you can set the visual output text to change color as needed - similar to this text box. Please push through...

David Godri's profile image Profile Picture

Ferdie Santos on 18 Aug 2022 18:13:17

RE: Extend DAX Format Function for colors

This is an awesome idea! I'm facing some hurdles right now that will be solved by this feature if available.

David Godri's profile image Profile Picture

LUCAS TEMPONI on 26 Jul 2022 19:13:11

RE: Extend DAX Format Function for colors

Good idea!

David Godri's profile image Profile Picture

Johan Cubides on 22 Jul 2022 19:07:05

RE: Extend DAX Format Function for colors

This would be amazing! Please.

David Godri's profile image Profile Picture

Murat Bulut on 28 Jun 2022 12:28:46

RE: Extend DAX Format Function for colors

Come on this is not a big deal to add, please consider implementing this immediately...

David Godri's profile image Profile Picture

Foster Yeboah Ntim on 30 Mar 2022 16:02:08

RE: Extend DAX Format Function for colors

This would make users lives a lot simpler. Please implement this. This has been languishing since September 2017 with my vote sits on 877??? Please implement this immediately.

David Godri's profile image Profile Picture

Rocco Schenkel on 21 Mar 2022 13:32:46

RE: Extend DAX Format Function for colors

This would make so many users' lives a lot simpler. Please implement this!