Forum Discussion
Mohamed1988
Feb 20, 2021Copper Contributor
How to use the cell reference with GetPivotData
Hi Team, I am trying to build relative references to an OLAP cube using the GETPIVOTDATA function "Excel 365". When I create the initial formula by typing "=", arrowing onto a field in the cube...
- Feb 20, 2021
SergeiBaklan
Feb 20, 2021Diamond Contributor
Mohamed1988
Feb 20, 2021Copper Contributor
SergeiBaklan , at least it works successfully, much appreciated!
- SergeiBaklanFeb 20, 2021Diamond Contributor
Mohamed1988 , you are welcome
- Nico_BeckersFeb 22, 2021Copper Contributor
i am having a similar problem but your suggestion doesn't work for me. Can you see what is wrong here?
=GETPIVOTDATA("[Measures].[Sum of Quantity On Hand]",'TWE Pivot'!$A$3,"[Table2].[Item Number]","[Table2].[Item Number].&["&$A3&"]","[Table2].[Description]","[Table2].[Description].&["&$B3&"]")- SergeiBaklanSep 13, 2023Diamond Contributor
To be sure, are you on data model PivotTable or on cached PivotTable? Formula
=GETPIVOTDATA("[Measures].[Sum of Quantity On Hand]", 'TWE Pivot'!$A$3, "[Table2].[Item Number]", "[Table2].[Item Number].&[" & A3 & "]", "[Table2].[Description]","[Table2].[Description].&[" & B3 & "]")
Please check in second sheet of the attached file.