Forum Discussion

Wecks's avatar
Wecks
Frequent Visitor
7 years ago
Solved

Lookups

I have a report that has two tables. One of the tables has a column called PCNAME in the other table there is PC spec. I want to do a lookup on the spec column on table 2 where the PCNAME is the same....
  • Wecks's avatar
    7 years ago

    No Worries I Found the answer.  If anyone else is after somethign similar please see below. 

     

    LOOKUPVALUE(Result_ColumnName, Search_ColumnName1, Search_Value1)

    Here,

    • Result_ColumnName = Name of the column which you want to show as an end result. In our case, we want to display the name of the Country from Master table.
    • Search_Column1 = Name of the column from where you want to find your keyword/string. In our case, we want to search the value of State from Master table.
    • Search_Value1 = Name of the column or value which you want to use as LookUpValue search. In our case, we want to search for the state in Employee Information table.

    In short, State from the Employee Information table will look into State from Master table and d