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
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
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.