Skip to main content

Power BI

Needs Votes

Extend DAX Format Function for colors

Vote (1390) 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 (83)
David Godri's profile image Profile Picture

Anjali Goel on 01 Feb 2023 10:24:22

RE: Extend DAX Format Function for colors

Very very much needed.. Please do this !!!!

David Godri's profile image Profile Picture

Michalis Remoundos on 20 Jan 2023 12:32:56

RE: Extend DAX Format Function for colors

it would be extremely helpful!!

David Godri's profile image Profile Picture

Robin Engblom on 19 Jan 2023 13:43:42

RE: Extend DAX Format Function for colors

Would really love this feature!

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.