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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Dynamically Remove Outliers from Visual Greater than Mean + 2 Standard Deviation

Hello,

 

I am trying to remove outliers from a ScatterPlot but I dont want it to be done dynamically using dax so that it doesn't have to be manually updated.

 

I have managed to identify the outliers but I am having trouble romving them using dax.

Screenshot 2022-10-26 101536.png

 

Screenshot 2022-10-26 101653.png

 

Does anyone know how to adapt the measure that counts outliers to remove them?

I have attched a link to my pbix file the chart is located on "Page 1"

https://techiongrouplimited-my.sharepoint.com/:u:/g/personal/ben_techiongroup_co_nz/ET6BNpl-cllMlGoC...

 

All help is apprecaited, thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Measure is only calculated in context. Context is one of the most important DAX concepts to understand. There are two types of context in DAX: row context and filter context. 

For more details, you can read related document: Learn DAX basics in Power BI Desktop - Power BI | Microsoft Learn

 

Best regards,
Community Support Team_ Binbin Yu
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

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

Please try to delete the outliers in the data source and then import them into Power BI for analysis.

If you want to do this by dax, you could create a calculate table with no outliers firstly, then add a scatter chart with the new table.

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Hello @Anonymous,

 

Thanks for the help, I am having trouble creating the new table.

 

When i try to use a measure for the outliier limit to be set dynamically, it returns nothing, but when i type the exact value in it does work.Screenshot 2022-10-27 124611.png

 

Screenshot 2022-10-27 124636.png

 

Screenshot 2022-10-27 124722.png

 Do you know why this is happening?

 

Thanks for your help.

Anonymous
Not applicable

Hi @Anonymous ,

Please confirm something firstly, "InternalOUtlierLimit" is a measure ? if it is, It's normal that you  create a blank new table, because the measure only works if you put it in context.

 

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@Anonymous, I see thank you very much for the reply.

 

Apologies but i must ask, what do you mean by "in context"? 

Im fairly new to this so may be a simple question.

 

Thanks again for all your help.

Anonymous
Not applicable

Hi @Anonymous ,

Measure is only calculated in context. Context is one of the most important DAX concepts to understand. There are two types of context in DAX: row context and filter context. 

For more details, you can read related document: Learn DAX basics in Power BI Desktop - Power BI | Microsoft Learn

 

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.