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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Filter

Status
Not open for further replies.

jonwolds

Programmer
Aug 6, 2002
194
GB
Hi,

I have created a time dimension from my Time_Dim table which stores dates upto the year 2030. I only want to display dates in the dimension which have corresponding data in the fact table.

What is the best way to do this?

Thanks
Jon
 
where Time_Dim.Time=Fact_Table.Time

Dr.Sql
Good Luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top