Hi I have a cube function with an issue. How do I handle any part of the equation where there is not values. There are 3 formulas and i receive a #Value if there is nothing for any part of the formula.
=CUBEVALUE("ThisWorkbookDataModel","[Measures].[1YR AGO OH RETAIL]",'MONTHLY RECAP'!$B216,"[tblLocation].[loc_code].&[1000]",Slicer_YEAR1,Slicer_MONTH1,Slicer_NAME7)-CUBEVALUE("ThisWorkbookDataModel","[Measures].[1YR AGO RETAIL TRANSFERED]",'MONTHLY RECAP'!$B216,"[TRANSFERS].[loc# to].&[1000]",Slicer_YEAR1,Slicer_MONTH1,Slicer_NAME7)+CUBEVALUE("ThisWorkbookDataModel","[Measures].[1YR AGO RETAIL TRANSFERED]",'MONTHLY RECAP'!$B216,"[TRANSFERS].[loc# created].&[1000]",Slicer_YEAR1,Slicer_MONTH1,Slicer_NAME7)
Thanks
=CUBEVALUE("ThisWorkbookDataModel","[Measures].[1YR AGO OH RETAIL]",'MONTHLY RECAP'!$B216,"[tblLocation].[loc_code].&[1000]",Slicer_YEAR1,Slicer_MONTH1,Slicer_NAME7)-CUBEVALUE("ThisWorkbookDataModel","[Measures].[1YR AGO RETAIL TRANSFERED]",'MONTHLY RECAP'!$B216,"[TRANSFERS].[loc# to].&[1000]",Slicer_YEAR1,Slicer_MONTH1,Slicer_NAME7)+CUBEVALUE("ThisWorkbookDataModel","[Measures].[1YR AGO RETAIL TRANSFERED]",'MONTHLY RECAP'!$B216,"[TRANSFERS].[loc# created].&[1000]",Slicer_YEAR1,Slicer_MONTH1,Slicer_NAME7)
Thanks