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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
crmart1n_mx
Frequent Visitor

Only display values that are greater than the average of column

Hi Everyone,

 

I'm working on a report and am trying to create a chart; where the data displayed is filtered. Here's what my data looks like in the visual:

PBI_4.png

And here's what i'm looking to accomplish:

  • The column AvgAHT - I'd like to calculate the overall average of values from that column and then in this visual, only display those which are higher than that average (essentially an outlier report for those who exceeded the department average)

I tried playing around with some filters, but figured i'd see if anyone knew a more simple way to do this.

 

Appreciate any help in advance!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @crmart1n_mx ,

 

Here are the steps you can follow:

1. Create measure.

Flag =
var _avgall=AVERAGEX(ALL('Table'),[AvgAHT])
return
IF(
    MAX('Table'[AvgAHT]) >= _avgall,1,0)

2. Place [Flag]in Filters, set is=1, apply filter.

vyangliumsft_0-1693497236999.png

3. Result:

vyangliumsft_1-1693497237001.png

 

Best Regards,

Liu Yang

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

3 REPLIES 3
Anonymous
Not applicable

Hi  @crmart1n_mx ,

 

Here are the steps you can follow:

1. Create measure.

Flag =
var _avgall=AVERAGEX(ALL('Table'),[AvgAHT])
return
IF(
    MAX('Table'[AvgAHT]) >= _avgall,1,0)

2. Place [Flag]in Filters, set is=1, apply filter.

vyangliumsft_0-1693497236999.png

3. Result:

vyangliumsft_1-1693497237001.png

 

Best Regards,

Liu Yang

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

Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@crmart1n_mx , Use this measure as visual level filter

 

Var _1 = calculare([AHT], allselected())

return

Averagex(filter(Summarize(Fact, Fact[Name], Date[Month]), [AHT]>_1), [AHT])

 

 

CHekc in visual level filter, that this is not blank

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors