Hi I have written a CUBEVALUE function and it works fine selecting the month from the slicer. But the issue I now have is that i want the month to date sales. But I dont want to have my staff toggle the month. How can I have it just displace this months values. And when we roll into the next month. Again it would only show September sales.
=CUBEVALUE("ThisWorkbookDataModel","[Measures].[SALES TOTAL NET RETAIL]",Slicer_MONTH1,Slicer_YEAR1,Slicer_CLASS7,Slicer_NAME7,Slicer_TRANS_DATE)
Thanks for reading
=CUBEVALUE("ThisWorkbookDataModel","[Measures].[SALES TOTAL NET RETAIL]",Slicer_MONTH1,Slicer_YEAR1,Slicer_CLASS7,Slicer_NAME7,Slicer_TRANS_DATE)
Thanks for reading