![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Fairly new to MDX. I am trying to show comp sales, i.e. the measures for all stores opened for more than 1 year. I was able to produce the filter as follows: WITH SET [Comparative Stores] as 'FILTER( [Store].[Standard].[Store].Members, Format ([Store].[Standard].CurrentMember.Properties("Store Start Date"),"yyyymmdd") < Format(dateadd("d",-365,now ()),"yyyymmdd"))' What I would like is something like: SELECT { [Measures].Members } on columns , { [Time] } on rows FROM [Sales Planning] WHERE { [Comparative Stores] } But I get the following error: Unable to open cellset. Formula error - cannot convert set to Tuple - in the { ... } function. I guess my set [Comparative Stores] generated by the filter has a problem. What am I doing wrong? Should I take a completely different approach? |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |