Hi I'm trying to write a cube function that has just todays sales.
Currently i have a slicer for month and year.
=CUBEVALUE("ThisWorkbookDataModel","[Measures].[SALES TOTAL NET RETAIL]",Slicer_MONTH1,U$6,Slicer_YEAR1)
But I would like to have just today. IE TODAY()
I've tried this but that brings up a date i have to write into the formula.
=CUBEVALUE("ThisWorkbookDataModel","[Measures].[SALES TOTAL NET RETAIL]","[SALES TABLE].[TRANS DATE].&[2017-07-03T00:00:00]")
Any thoughts?
Thanks
Currently i have a slicer for month and year.
=CUBEVALUE("ThisWorkbookDataModel","[Measures].[SALES TOTAL NET RETAIL]",Slicer_MONTH1,U$6,Slicer_YEAR1)
But I would like to have just today. IE TODAY()
I've tried this but that brings up a date i have to write into the formula.
=CUBEVALUE("ThisWorkbookDataModel","[Measures].[SALES TOTAL NET RETAIL]","[SALES TABLE].[TRANS DATE].&[2017-07-03T00:00:00]")
Any thoughts?
Thanks