Hi, I'm not a big expert in MDX, so every help will be really welcome :-) I'm trying to export a cube with the following syntax:
CREATE GLOBAL CUBE [myCubo] STORAGE 'C:\temp\Pippo.cub' FROM [myCubo](
MEASURE [myCubo].[Netto] ,
MEASURE [myCubo].[Quantita Co],
DIMENSION [myCubo].[Mesi],
DIMENSION [myCubo].[PuntoVendita],
DIMENSION [myCubo].[Product]
(
Filter
(
{[Product].[Description].MEMBERS}
,
VBA!Instr([Product].[Description].CurrentMember.Name,"AB") > 0
)
)
)
Basically, I want to export a cube where the members of dimension "Product" contain the string AB. I use the VBA!Instr to simulate the SQL LIKE operator. Obviously, this instruction is not working. Could you please help me? I'm using SQL Server 2008.
Thank you