My function is working correctly when I manually enter the "CustomerAccoutNumber":
But I would like to replace the "Z4049200" with a cell reference so I can copy and drag down for multiple rows, is it possible?
Code:
[COLOR=#242729][FONT=Consolas]=GETPIVOTDATA("[Measures].[Sum of SalePrice]",[[/FONT][/COLOR][COLOR=#242729][FONT=Consolas]2017Sales.xlsx]GMBlitzOct!$A$6,"[2017Sales].[CustomerAccountNumber]"," [/FONT][/COLOR][COLOR=#242729][FONT=Consolas][2017Sales].[CustomerAccountNumber].&[Z4049200]")[/FONT][/COLOR]
But I would like to replace the "Z4049200" with a cell reference so I can copy and drag down for multiple rows, is it possible?