Hey all,
I'm trying to create a named set that will show our top 100 customers, who are not default customers and have bought shoes.
I need to do the filtering in the named set so that we can use the set on rows and columns and apply other filter criteria in the where clause.
This is my query so far, which will work if I just filter by only default customer:
with set [top100]as
topcount([Customer].[Surname].children
,100
,({[Customer].[Default Customer].&[N] * [Item].[Type].[Shoes]]}
,[Measures].[GBP Value Exc Tax]))
select [top100] on rows,
[Measures].[GBP Value Exc Tax] on columns
from [Sales]
However when I try to add the second dimension I get this error:
The function expects a tuple set expression for the 1 argument. A string or numeric expression was used
Can anyone help me resolve this?
Thanks,
Matt