Forum Discussion
omdl2020
Nov 13, 2020Copper Contributor
get a row label from pivot table
Hi all! I have a pivot table and I would like to get some information. For Example the green sqare. When I close the pivot table the text will change...
omdl2020
Nov 13, 2020Copper Contributor
Thank you but i don't need this information in a pivot table.
So the question is how to get a row label from pivot table in a cel that is not a pivot table 😉
So the question is how to get a row label from pivot table in a cel that is not a pivot table 😉
PeterBartholomew1
Nov 13, 2020Silver Contributor
I am not a great Pivot Table user so I tend to duck out of the PT environment and resort to dynamic arrays.
= UNIQUE(Table1[Medewerker])If you also wish to filter the headings to omit the rows without content the formula starts to get somewhat overcomplicated.
= LET(
distinct, UNIQUE(Table1[Medewerker]),
totaal, GETPIVOTDATA(
"Aantal dagen",PivotTable,
"Medewerker", distinct,
"Werkzaam",Werzaam),
FILTER( distinct, ISNUMBER(totaal) ) )In either case, the table content is of the form
= IFERROR( GETPIVOTDATA(
"Aantal dagen", PivotTable,
"Week", Week#,
"Medewerker", Medewerker#,
"Werkzaam", Werzaam),
"-" )A combination of INDEX/SMALL/MATCH can be used in place of FILTER.