Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mdaamirkhan
Post Prodigy
Post Prodigy

How to use color formatting using Dax?

Hello All,

 

How to use color formatting using Dax? Is there any query?

 

Thanks

Aamir

6 REPLIES 6
Vikram123
Helper I
Helper I

Prepare new column with number insted of color.

and use conditional formating with Format by Rule

now you can give color based on your number.

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

MattAllington
Community Champion
Community Champion

No, you can’t do it using dax. But there is conditional formatting in the table and matrix visual



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

ok If I want set color in unicode then how will I set the color ?

Hi @mdaamirkhan,

 

As I know, currently it is not supported to define color in unicode in Power BI. 

 

But we can use Conditional Formatting feature to format colors based on conditions. However we can only select colors in this feature not custom them in unicode. Please refer to following article: https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting

 

Thanks,
Xi Jin.

Come on This thing I know that. fisrt ready my question and understand that as well. 

 

Thanks.

mdaamirkhan
Post Prodigy
Post Prodigy

Hello All,

 

How to give formatting color in unicode in power bi using dax. is there any dax query. Please send me the query how to use

 

Thanks

Aamir

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.