Forum Discussion

Deemah_EO's avatar
Deemah_EO
Advocate I
7 years ago
Solved

how to comparing between two different type columns from different tables

Hi everyone ,

 

i have a case that needed to comparing between two different type columns from different tables,

 

so i have 2 tables table 1 is "DIM_DATE" , table 2 is "Fact_Employee_Assignment" ,

 

DIM_DATE have these columns , integer  Date_Key , date  Date

 

Fact_Employee_Assignment have these columns , integer Effect_Start_date , integer_Effect_End_date

 

so now i want to this calclation : If ( Effect_Start_date = Date_Key) then Date

 

how can i solved it ??? 

Please help me

2 Replies