Lookup Transform

Who is online?  0 guests and 1 members
Home  »  Forums   »  microsoft business intelligence   »  integration services   » Lookup Transform

Lookup Transform

Topic RSS Feed

Posts under the topic: Lookup Transform

Posted: 3/8/2012

Jedi Youngling 92  points  Jedi Youngling
  • Joined on: 11/6/2010
  • Posts: 21

Hi Guys,

Can someone advise whether it is possible to use a lookup transform on a fact and dimension table that are joined on several keys? The dimension table doesnt have a surrogate key and is joined by two business keys. Doesn't seem to work for some reason, everything is going to no matches output. Any help would be appreciated

 

thanks

Sam


Posted: 3/8/2012

Jedi Master 5325  points  Jedi Master
  • Joined on: 10/27/2009
  • Posts: 298

Yes, you can map multiple columns to each other in the lookup transform.


Posted: 3/8/2012

Jedi Knight 1580  points  Jedi Knight
  • Joined on: 3/24/2010
  • Posts: 211
Answered  Answered

Sam,

  I'd suggest you check your data types and ( if applicable ) the widths of the columns.  You may need to use a derived column or a data conversion task to "prep" one side of the data being compared to get a match.  This would also apply to code pages in case you do not have all of your data in the same code page.

 

Hope it helps,

Keith Hyer


Posted: 3/8/2012

Jedi Master 2811  points  Jedi Master
  • Joined on: 2/19/2010
  • Posts: 406

I had a similar issue once and it had to do with padding, so I trimmed everything and it worked.


Posted: 3/9/2012

Jedi Youngling 92  points  Jedi Youngling
  • Joined on: 11/6/2010
  • Posts: 21

Thanks for clearing that up guys, just never seen multiple joins in any of the books I have. Data type is the same, size is different. I'll try conversion and see how that goes.

thanks again. 


Posted: 3/9/2012

Jedi Youngling 92  points  Jedi Youngling
  • Joined on: 11/6/2010
  • Posts: 21

The data conversion did the trick, worked like a charm. Thanks Keith.

Strange, SQL queries are not an issue but then again, a newbie in SSIS


Page 1 of 1 (6 items)