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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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