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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
MD_POWER_BI
Frequent Visitor

Conditional Formatting on What-If Parameters

If a user enters a value for a particular what-if parameter that falls outside the bounds of reality, I'd like the what-if parameter box to highlight orange.

 

For example, the selected school scored an average 2.6 on their English Language Arts Exam. The score cannot exceed 4 or be less than zero. If the school enters anything >=1.5 or <=-2.7, I'd like the box to highlight orange.

 

I have tried creating a measure to denote this and the background remains blank. I have also tried setting the rules based on this value and the color never changes.

 

Format New Measure ELA Perf =
    SWITCH(TRUE(),
        [Elem - Improved ELA Performance]>4.01, "#FFA500",
        [Elem - Improved ELA Performance]<-0.01, "#FFA500")
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @MD_POWER_BI ,

I have created a simple sample, please refer to my pbix file to see if it helps you.

Select [Elem - Improved ELA Performance], Then Click the conditional formatting.

vrongtiepmsft_1-1681956285387.png

 

vrongtiepmsft_0-1681956242844.png

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

1 REPLY 1
Anonymous
Not applicable

Hi @MD_POWER_BI ,

I have created a simple sample, please refer to my pbix file to see if it helps you.

Select [Elem - Improved ELA Performance], Then Click the conditional formatting.

vrongtiepmsft_1-1681956285387.png

 

vrongtiepmsft_0-1681956242844.png

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.