I am very new to MDX query. I am trying to pass a parameter through my query. It is giving me this SQL error:
Query preparation failed.
The function expects a tuple expression for the 5 argument.
A tuple set expression was used.
The query is:
SELECT
{
[Measures].[DENOMINATOR]
,[Measures].[NUMERATOR]
,[Measures].[Goal]
}
ON COLUMNS,
NON EMPTY
(
[Dim Indicator].[Indicator Set].[Indicator Set].ALLMEMBERS
,[Dim Indicator].[Indicator Group].[Indicator Group].ALLMEMBERS
,[Dim Indicator].[Indicator Name].[Indicator Name].ALLMEMBERS
)
ON ROWS
FROM [Dummy-Dashboard]
--Parameter Queries goes here
WHERE
(
strtoset(@DimGenderGenderID)
)
If you need to test you query with parameter you will need to use XMLA for that. Please see below example for xmla: