====== Calc Lookup Table Intersection ====== ===== Description ===== Calculates the lookup table that is the intersection of two lookup tables. ===== Inputs ===== ^ Name ^ Type ^ Description ^ | First Table | [[Lookup Table Type]] | The first lookup table. | | Second Table | [[Lookup Table Type]] | The second lookup table. | ===== Optional Inputs ===== ^ Name ^ Type ^ Description ^ Default Value ^ | Use First Table To Solve Duplicated Key | [[Boolean Value Type]] | If true, and a key occurs in both tables, the value from First Table is kept; if false, the value from Second Table is kept instead. | True | ===== Outputs ===== ^ Name ^ Type ^ Description ^ | Result | [[Lookup Table Type]] | The resulting lookup table, containing only the keys present in both First Table and Second Table. | ===== Group ===== [[Functor List#Lookup Table | Lookup Table]] ===== Notes ===== The key and value column names of Result are inherited from First Table. For background on this operation, see [[https://en.wikipedia.org/wiki/Intersection_(set_theory)|set intersection]]. ===== Internal Name ===== CalcLookupTableIntersection