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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to prevent a measure to update after a filter to itself on a table (visual)

Hi!

Here's a simplified version of my issue.

I have a table displayed that shows:

 

DATE // Value for that date // (Value - Average)/Average

 

I wanted to only show dates where the 3rd column is over, let's say, 15%. I added the filter to the table and it works fine.

The thing is that now the 3rd column doesn't display the original values. It now displays the values calculated with a new average, that only considers the dates that passed the 15% filter.

 

Is there anyway I can prevent that?

 

Please, be aware I cannot use ALL because I do have a date slicer so the user can determine a period, so the AVG should be calculated by the period determined by that slicer.

 

Thank you!

 

Gustavo

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Assume you have measure value

 

Measure  =

Var _total = calculate([Value], allselected())  //if value if of avg type

// Or Use // calculate(averageX(values('Date'[Date]), [Value]) ,allselected())

return

divide([Value] -_total, _total)

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
Anonymous
Not applicable

That's actually how I currently have the measures. Here's the ones I have:

Duration - Average = calculate(AVERAGE('EOD Results'[Duration PBI]), ALLSELECTED('EOD Results'))
Duration - Absolute Deviation = ABS(sum('EOD Results'[Duration PBI]) - 'Calculations'[Duration - Average])
Duration - Abs Dev / Avg = 'Calculations'[Duration - Absolute Deviation]/[Duration - Average]


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.