dbTalk Databases Forums  

Filter by a date

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Filter by a date in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Marty
 
Posts: n/a

Default Filter by a date - 11-28-2006 , 11:04 AM






Need some help wit this one and I am pretty new at this. I am in the arts
business am trying to show total sales for performances that occurred the day
of the show. Here is my set up. My measure is sales, I have a time dimension
to the date level and I have a Performance dimension which has the
performance date as an attribute. I was thinking of a filter looking like
[Dim perf].[Perf date] = [dim time].[date name]. but that is not working. I
am getting an error of The axis0 function expects a tuple set expression for
the argument...

Am I way off base trying to go this route? Any Ideas?

Thanks,
--
Marty

Reply With Quote
  #2  
Old   
Ohjoo Kwon
 
Posts: n/a

Default Re: Filter by a date - 11-28-2006 , 08:04 PM






I think it's reasonable to compare strings or others than object itself. For
example,

[Dim perf].[Perf date].CurrentMember.Name = [dim time].[date
name].CurrentMember.Name

Ohjoo



"Marty" <Marty (AT) discussions (DOT) microsoft.com> wrote

Quote:
Need some help wit this one and I am pretty new at this. I am in the arts
business am trying to show total sales for performances that occurred the
day
of the show. Here is my set up. My measure is sales, I have a time
dimension
to the date level and I have a Performance dimension which has the
performance date as an attribute. I was thinking of a filter looking like
[Dim perf].[Perf date] = [dim time].[date name]. but that is not working.
I
am getting an error of The axis0 function expects a tuple set expression
for
the argument...

Am I way off base trying to go this route? Any Ideas?

Thanks,
--
Marty



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.