Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comparison between Date to Month value

Status
Not open for further replies.

teccum

Technical User
Aug 19, 2001
98
US


I need to create a filter between two different time values.

Actually I need to substract the "claim service start date"(which will be user prompt) and then compare it with "Cap Pay Month" (which will be a user prompt of Month attribute - Actually here Month Id is linked to the Cap_fact table since the fact at this fact table is at Month level).

Now how do I compare these two time attributes. The report has to display all the claim data only if Claim service start date is greater than that particular Cap month

"Claim service start date" is a day attribute(attribute role) defined at the day dimension level and "cap pay month" is an attribute(attribute role) defined at the month level.

Any ideas on how to accomplish this.

Kindly give your suggestions.

Thanks
teccum.
 

I forgot to mention. The database is SQL Server 2000.

Thanks
teccum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top