Function expects a tuple set expression for the first argument. A string or numeric expression was used.
I am designing the mdx query on my ssrs report.
Here is my MDX query:
SELECT
NON EMPTY { [Measures].[Order Quantity], [Measures].[Discount Amount], [Measures].[Freight], [Measures].[Extended Amount] } ON COLUMNS,
NON EMPTY { ([Customer].[Customer Key].[Customer Key].ALLMEMBERS * [Currency].[Currency Key].[Currency Key].ALLMEMBERS * [Currency].[Currency Name].[Currency Name].ALLMEMBERS * [Customer].[Gender].[Gender].ALLMEMBERS ) } ON ROWS
FROM (
SELECT ( STRTOSET ( '{" & Join(Parameters!CurrencyCurrencyKey.Value,",") & "}') ) ON COLUMNS
FROM [AWDW]
)
Any Idea?????
I think the call to
Joindoes not return a correct expression. To make your query works, it should return something like the unique name of aCurrency Key.I do not know if you want to select 1 or several currency but the first argument of StrToSet must have a value like:
or