whly (5/16/2013)
Well, these tables are in Data warehouse. They are not really linked via foreign keys.Thanks for your reply. What else would you recommend me to use?
Understood. It sounded like you had a hierarchy going on and wanted to know what type because there are some pretty awesome solutions to report on sales for every node and all levels under each node for hierarchical data that's based on a parent/child relationship.
You say you execute an SQL Task to get the managers first. Any chance of you posting that to see if I can help? Will likely need other information, as well, but that will be good as a starting point.
--Jeff Moden
Change is inevitable... Change for the better is not.