Measure not responding to table slicer

Cool blue

Board Regular
Joined
Dec 1, 2013
Messages
199
Hi, I have a table in an excel file which has auto filters on and I have pivot tables derived from it. The table is included in the data model.

I have slicers on the pivot tables, which are on different worksheets but, I want to filter all of the pivots together by selecting the visible cells in the table.

In the pivots, I have a Value measure like this...
Code:
Value := CALCULATE(
 SUM(openOrders[Amount]),
 ALLSELECTED(openOrders[WH]) // WH is source warehouse
)

When I use this measure in one of the pivots, it sums across all warehouses selected in its local slicer. It does not respond to the table filters.

I also tried...
Code:
= CALCULATE(
 SUM(openOrders[Amount]),
 Values(openOrders[WH])
)
but got the same result

I also tried to add a slicer to the table and filtering with that but, still the same result.
One thing that is strange, when I select Options for the table slicer, the Report Connections icon is disables.

Any suggestions?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,215,779
Messages
6,126,848
Members
449,343
Latest member
DEWS2031

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