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
Arete
Helper I
Helper I

Custom formatting on axis values for percentage field

I have a measure that determines the margin for the month and I'd like to change the color for the months that are above 50%.

Measure (Percentage field): 

2022 Margin % = 
DIVIDE(
    [2022 USD Total Amount] - [2022 Total Costs], [2022 USD Total Amount]
)

 

Measure results:

Arete_2-1669487796190.png

 


Visual custom format options:

 

Arete_0-1669487626475.png

Results (every month is highlighted in white):

 

Arete_1-1669487657363.png

Not sure why it's not working but I suspect it's something simple that I'm overlooking. Any help is appreciated!

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Arete ,

 

Powerbi supports customizing the colors on the axis.

vhenrykmstf_0-1669799683135.png

 

Try downloading and installing the latest version of powerbi desktop and try again.

Download Microsoft Power BI Desktop from Official Microsoft Download Center


If the problem is still not resolved, please provide detailed error information and related test data. Looking forward to your reply.


Best Regards,
Henry


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

View solution in original post

4 REPLIES 4
v-henryk-mstf
Community Support
Community Support

Hi @Arete ,

 

Powerbi supports customizing the colors on the axis.

vhenrykmstf_0-1669799683135.png

 

Try downloading and installing the latest version of powerbi desktop and try again.

Download Microsoft Power BI Desktop from Official Microsoft Download Center


If the problem is still not resolved, please provide detailed error information and related test data. Looking forward to your reply.


Best Regards,
Henry


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

lbendlin
Super User
Super User

What kind of visual are you using?

Hi @lbendlin! I'm using a line chart.

 

Tested on a line chart here and it seems to work. Please provide your sample data in usable format.

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.