problem with ALLEXCEPT

mechanix85

New Member
Joined
Dec 27, 2019
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hello. I have a plan-fact table for managers. For the fact, there are additional columns with information that will need to be filtered in the pivot table, while the plan for managers should not change. I use ALLEXCEPT, but this only works for one additional column

Who can help? thanks

source table
managersplanfacttownfocus
№1
421​
town1y
№2
362​
town1n
№3
256​
town2y
№1
427​
town3n
№2
418​
town2y
№3
336​
town4n
№1
5000​
№2
6000​
№3
7000​
#4
1000​
!fact:=SUM([fact])
!plan:=CALCULATE(sum([plan]);ALLEXCEPT('Таблица1';'Таблица1'[managers]))

pivot table with 2 two slices town and focus
Названия строк!plan!fact
#4
1000​
№1
5000​
848​
№2
6000​
780​
№3
7000​
592​
Общий итог
19000​
2220​
pivot table filtered by focus = "n"
Названия строк!plan!fact
№1
5000​
427​
№2
6000​
362​
№3
7000​
336​
Общий итог
19000​
1125​
manager #4 removed from table
how i want to see the table filtered by focus = "n"
Названия строк!plan!fact
#4
1000​
№1
5000​
427​
№2
6000​
362​
№3
7000​
336​
that is, I can apply filters while the plan will always be displayed for all managers
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,226,125
Messages
6,189,137
Members
453,525
Latest member
compugor

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