I am having trouble with the following formula
=GETPIVOTDATA("[Measures].[Sum of Forecast]",'Sales Forecast'!$E$3,"[T_Sales_Forecast].[Forecast Month]","[T_Sales_Forecast].[Forecast Month].&["&TEXT(G$7,"YYYYMM")&"]")
When I check if G$7 = the date in the pivot table (2/1/2015) the result is TRUE, however, text("G$7, "YYYYMM") = 2/1/2015 evaluates to false. Therefore I've tried changing the formula above to the following but still receive an error
=GETPIVOTDATA("[Measures].[Sum of Forecast]",'Sales Forecast'!$E$3,"[T_Sales_Forecast].[Forecast Month]","[T_Sales_Forecast].[Forecast Month].&["&G$7&"]")
Thanks in advance for your help.
Bookmarks