Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Using Excel CubeValue function with date range

$
0
0
Hi everyone,Our end users are using Excel, and they need write 2 dates to act as a date range (for example: 2015-03-13 in one cell and 2015-05-24 in another cell).These values would need to be passed on to a CUBEVALUE function to return a measure value, for example Sales for the specified period.Has anyone ever used CUBEVALUE function in Excel, specifying a date range? I know this can be done using the Date filter but it is not very user-friendly as the slicer will be large.=CUBEVALUE("CubeConn", "[Measures].[Sales]", "[Date].[Full Date].[" & C2 & "]")Thanks for your advice.Jon

Viewing all articles
Browse latest Browse all 1341

Trending Articles