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
wmtan01
New Member

Filtered data in graph

Hi!

 

I'm very new to Power BI and managing our reports. Long story short, we have data tables that contains metrics. Since the readings can be erratic we remove the outliers before using the data. I was wondering if there is a way to do it inside Power BI. what we do now is we manipulate the database which is the datasource by tagging the rows with outliers. The problem with this is that the outliers for each metric does not always appear on the same row (we're measuring performance of pages)

 

So what I wanted to know is if there's a way for us to import all 120 rows in power BI but for the graphs to exclude the bottom 10 and top 10 values of each metric?

 

1.2

1.10.9
1.42.52.1
0.72.63.7
2.93.62.2

 

for example in this table, use only (1.2 and 1.4) for the first metric, use only (2.5 and 2.6) in the 2nd metric and (2.1 and 2.2) for the 3rd metric

4 REPLIES 4
Anonymous
Not applicable

Hi @wmtan01 ,

 

Not very clear, can you please share more detail information to help us clarify your scenario?

If you wan to calculate the average, please use AVERAGE().

 

Best Regards,
Eyelyn Qin

Hi,

 

What we needed was to remove outliers on each column and not have it affect the other columns. Looking around, Trimmed Mean was the one we've decided to use, it allowed us to remove a certain % of data that are highest and lowest values then average the remaining ones. Before we were doing normal Average but before we pulled the data to PowerBI we were removing rows and rows of data with outliers. I was looking for a way to minimize the manual steps we were doing.

MFelix
Super User
Super User

Hi @wmtan01 ,

 

This is possible using a TOPN approach that you can pick up the values based on the sorting you need, or using a ranking and only consider ranking between certain value so in your case the values between the ranking 11 and 109.

 

However the information you give is very small, so I cannot give you the correct example to fit your model, but If you can give more details maybe I can give you a more generic formula that you can use in your several measures.

 

Other option is on the Query Editor to sort by the values and then remove the TOP 10 rows and the bottom 10 rows so instead of making the treatment on the database you can do it in Power BI.

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi,

 

I did a little bit more of digging around and saw that what I needed was actually showing Trimmed Mean on my graphs. I saw some other post about how to make it using DAX.

 

Thank you for your time!

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
Top Kudoed Authors