cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.