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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sriramk
Helper I
Helper I

Measure for above and below average with conditional formating

Please help me to solve

 

sample.jpeg

3 REPLIES 3
Whitewater100
Solution Sage
Solution Sage

Hi:

Please see link for the figures (they are in either "Result Table" or Sum Table".) I hope this is what you are looking for. My average is higher than yours $2.85 v $2.24...

https://drive.google.com/file/d/14fcOeKrRrKhdClu7gIcyra7F4Rdx4d9W/view?usp=sharing 

 

Whitewater100_0-1650149694311.png

 

tamerj1
Super User
Super User

hi @sriramk 

1. IF ( MAX ( Table1[Revenue/Cost] ) >= [Average Rev/Cost] ), "Above Avg", "Below Avg" )

 

2. MAX ( Table1[Revenue/Cost] ) >= [Average Rev/Cost] )  
then use the measure in the conditional formatting >= 1 for green and 0 for red

 

3. DIVIDE ( MAX ( Table1[Revenue/Cost] ) - [Average Rev/Cost] , [Average Rev/Cost] )

 

4.  Please clarify further

Hi, Thank you very much for the details.

 

Clarification for S.No.4 :
If the deviation from Average is more than 3%, to show the product name and store ID in the report on selected date.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.