Measures Not Updating with Filters

MacFletch

New Member
Joined
Mar 18, 2015
Messages
8
When I selected a filter inside the table, several of my calculated fields do not filter. For clarity, by filter, I mean making a selection from the drop down arrow in the column header.

Any thoughts? Here is one of the formulas:

MostRecent52WeekAvg:=calculate ([Total Calls], filter(all(CallData), CallData[WeekID]<= max(CallData[WeekID]) && CallData[WeekID]>=max(CallData[WeekID]) - 51)) / 52
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
When I selected a filter inside the table......the drop down arrow in the column header.

What "table"?
What "Column header".

It is not clear what you are talking about.

Do you mean a Pivot Table? Can you post an image or something?
What is the formula for [Total Calls]?
 
Last edited:
Upvote 0
I apologize for the lack of clarity.

The table I refer to is CallData in my powerpivot data model. I need to be able to filter by location in the data model or in a pivot table. Whether I filter to a single location in either the data model or a pivot table, the measure above does not change. It stays the same value as it is when all filters are off.

The formula for [Total] calls is Total Calls:=sum(CallData[Calls])

The data table has location, week number, and calls. There are 189 weeks (3.6 years) of call data per location. The Most Recent 52 Avg formula I initially posted is designed to calculate the average call volume for the last 52 weeks (weeks 138 through 189). It works beautifully for all locations in the aggregate. But when I select a single location, I still get the aggregate 52 week average amount.

I hope this is clearer.

Thanks for any help you can give.
 
Upvote 0

Forum statistics

Threads
1,215,972
Messages
6,128,027
Members
449,414
Latest member
sameri

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top