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
WouterBo
Helper II
Helper II

Change color of formatting option input field on validation

Hi,

 

When a user enters a range (start and end values) in the formatting options for an axis, I want to be able to indicate an input error by changing the border color of the input fields. For instance: if the start value is greater than the end value, I want the end value input field to change its border color to red.

 

How can I do this is custom visuals?

2 REPLIES 2
Sujit_Thakur
Solution Sage
Solution Sage

Dear @WouterBo   , 
can you please show some desired output using excel so that i can help

Regards ,
Sujit

Screen Shot 2020-09-03 at 14.45.23.png

Hello @Sujit_Thakur ,

I'm not sure I can show you in Excel, but I've included a picture of the desired effect. What you are looking at are the formatting options for a custom visual. The "End" value here is lower than the "Start" value and the "End" field's border is colored red. How can I achieve this in my own visual?

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.