link two pivot table filters via vba

Fabian1601

New Member
Joined
Aug 29, 2024
Messages
4
Office Version
  1. 2019
Platform
  1. Windows
Hello,
i am looking for a way to connect two pivot tables so that if i set the filter for table 1 to a certain year, the second table automatically sets the filter to the year before.
I think this can be realized via vba, but unfortunately I can't get any further.
maybe someone can help me


muster.xlsm
ABCDEFGHIJKLM
1Jahre2022Jahre2021
2
3Anzahl von interne / externe Reklamation:SpaltenbeschriftungenAnzahl von interne / externe Reklamation:Spaltenbeschriftungen
4Zeilenbeschriftungenextern bluminternTP-ArtikelGesamtergebnisZeilenbeschriftungenextern bluminternTP-ArtikelGesamtergebnis
5Anspritzpunkt (ASP) zu Hoch / Fadenbildung59160Anspritzpunkt (ASP) zu Hoch / Fadenbildung262165
6Brandstelle2525Brandstelle49150
7Deformation / Verzug 319426Deformation / Verzug 417223
8Fremdmaterial13536Fremdmaterial26127
9Geometrie nicht laut Zeichnung10313Geometrie nicht laut Zeichnung241521
10Gratbildung51542161Gratbildung32234230
11Halbe Teile / Einfallstellen438143Halbe Teile / Einfallstellen1070282
12Kernbruch / Auswerferbruch / Kern verbogen3737Kernbruch / Auswerferbruch / Kern verbogen23941
13Lufteinschlüsse / Lunker (Luftblase)1212Lufteinschlüsse / Lunker (Luftblase)1515
14Nacharbeit oder Verpackung falsch1269Nacharbeit oder Verpackung falsch1135
15Oberflächenfehler (Kratzer, Flecken, Ölflecken)21122Oberflächenfehler (Kratzer, Flecken, Ölflecken)230133
16schwarze Punkte / Stippen11Teilebruch4610
17Teilebruch35513Teilegewicht11
18Verfärbung / Schlieren23739Verfärbung / Schlieren883596
19Vermischte Teile / Angüsse6713Vermischte Teile / Angüsse7714
20Gesamtergebnis2646123510Gesamtergebnis4563335713
21
22
Rekl.-Fehlerbilder
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,221,508
Messages
6,160,222
Members
451,631
Latest member
coffiajoseph

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