SELECT
{
Measures.[Deviation]
,[Measures].[Product ID]
} ON COLUMNS
,Filter
(
CrossJoin
(
{[Dim Customer].[Customer Name].[Customer Name].MEMBERS}
,{[Dim Customer].[Gender].[Gender].MEMBERS}
,{[Dim Customer].[Customer ID].[Customer ID].MEMBERS}
)
,
[Measures].[Product ID] > 1 AND [Measures].[Deviation] > 5
AND
[Measures].[Quantity] > 1
) ON ROWS
FROM
(
SELECT
[Dim Customer].[Customer ID].&[1] : [Dim Customer].[Customer ID].&[5] ON COLUMNS
FROM
(
SELECT
{
Instr
(
[Dim Customer].[Customer Name].CurrentMember.Properties('Member_Caption')
,'H'
)
= 1
} ON COLUMNS
FROM [OLAP Cubes]
)
);
When i run above query i get the error:
The function expects a tuple set expression for the 1 argument. A string or numeric expression was used.
How to solve this error?