A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Dear Rory
Thank you for all the help.
This one worked in the end.
=CUBEVALUE("ThisWorkbookDataModel",
CUBEMEMBER("ThisWorkbookDataModel","[Stem_Sales 8].[Year].&["&$A$6&"]"),
CUBEMEMBER("ThisWorkbookDataModel","[Stem_Sales 8].[Farm].&["&$A$3&"]"),
CUBEMEMBER("ThisWorkbookDataModel","[Stem_Sales 8].[Product DescriptionFF].&["&$A$4&"]"),
CUBEMEMBER("ThisWorkbookDataModel","[Stem_Sales 8].[stem lengthcm].&["&$A$5&"]"),
CUBEMEMBER("ThisWorkbookDataModel","[Stem_Sales 8].[Week].&["&B8&"]"),
CUBEMEMBER("ThisWorkbookDataModel","[Stem_Sales 8].[Sales Category].&["&$A$2&"]"),
"[Measures].[Sum of Total Stems]")
I separated each cubememember, the {} seems to be the problem.
Regards
Es