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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.

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.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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